468,316 Members | 2,134 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,316 developers. It's quick & easy.

Problem with VS2005 beta 2

_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
2 1313
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
_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.

Similar topics

16 posts views Thread by clintonG | last post: by
8 posts views Thread by Nadav | last post: by
5 posts views Thread by Andre Lorbach | last post: by
3 posts views Thread by Walt Zydhek | last post: by
1 post views Thread by Dean Slindee | last post: by
7 posts views Thread by Frank Rizzo | last post: by
2 posts views Thread by Bill Nguyen | last post: by
4 posts views Thread by Janet | last post: by
20 posts views Thread by Iouri | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.