By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,918 Members | 1,852 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,918 IT Pros & Developers. It's quick & easy.

Problem with VS2005 beta 2

P: n/a
_R
I've tried generating a couple console apps under VS2005 b2. The
debugger brings up a window, but no output from WriteLine. ReadLine
also seems to hang. Programs run fine outside of VS2005.

A program as simple as this exhibits the problem:

static void Main(string[] args)
{
Console.WriteLine("Test");
Console.ReadLine();
}

I also get two compiler warnings:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual
Studio\VC98\mfc\lib' specified in 'LIB environment variable' --
'The system cannot find the path specified. '
warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual
Studio\VC98\lib' specified in 'LIB environment variable' -- 'The
system cannot find the path specified. '

The only folder in "Program Files\Microsoft Visual Studio" is named
"Common." No "VC98" folder.

The compiler warning may not be related to the problem above, but I'd
like to find out what's causing it as well.

Nov 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
HI,

¿Are you sure this is a C# project? The VC98 paths are C++-related...

Regards - Octavio

"_R" <_R@nomail.org> escribió en el mensaje
news:tq********************************@4ax.com...
I've tried generating a couple console apps under VS2005 b2. The
debugger brings up a window, but no output from WriteLine. ReadLine
also seems to hang. Programs run fine outside of VS2005.

A program as simple as this exhibits the problem:

static void Main(string[] args)
{
Console.WriteLine("Test");
Console.ReadLine();
}

I also get two compiler warnings:

warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual
Studio\VC98\mfc\lib' specified in 'LIB environment variable' --
'The system cannot find the path specified. '
warning CS1668: Invalid search path 'C:\Program Files\Microsoft Visual
Studio\VC98\lib' specified in 'LIB environment variable' -- 'The
system cannot find the path specified. '

The only folder in "Program Files\Microsoft Visual Studio" is named
"Common." No "VC98" folder.

The compiler warning may not be related to the problem above, but I'd
like to find out what's causing it as well.

Nov 17 '05 #2

P: n/a
_R
On Sat, 3 Sep 2005 19:48:02 +0200, "Octavio Hernandez"
<do****@danysoft.com> wrote:
¿Are you sure this is a C# project? The VC98 paths are C++-related...

Regards - Octavio
I've had a chance to spend a bit more time on that machine. It once
had VC++6 loaded, which evidently left some env variables set. It was
never noticed before cause VS2003 doesn't look there or doesn't care.
Evidently VS2005b2 does. (oops) Given that this was new behavior, I
was wondering whether old libs were required for compiling console
apps, but this was apparently unrelated. The console apps still don't
work.

So...I still see the following problem:
"_R" <_R@nomail.org> escribió en el mensaje
news:tq********************************@4ax.com.. .
I've tried generating a couple console apps under VS2005 b2. The
debugger brings up a window, but no output from WriteLine. ReadLine
also seems to hang. Programs run fine outside of VS2005.

A program as simple as this exhibits the problem:

static void Main(string[] args)
{
Console.WriteLine("Test");
Console.ReadLine();
}


Nov 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.