473,397 Members | 2,084 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

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 1440
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
by: clintonG | last post by:
I haven't installed VS2005 B2 yet. My main concern is installing VS2005 B2 on the XP Pro machine where VSN2003 already exists. Am I asking for trouble? Your comments... <%= Clinton Gallagher
8
by: Nadav | last post by:
Hi, I am writing a performence critical application, this require me to stick to unmanaged C++ as performance is much better using unmanaged C++ ( about 33% better ), Still, I am trying to avoid...
7
by: aska | last post by:
Hi. I heard that vs2005 vc++ support the "for each" statement. I try it in vs2005 by creating a dotnet c++ console program. The code is: #using <System.dll> using namespace System; using...
5
by: Andre Lorbach | last post by:
Hi all, I hope I picked up the right group ;) A few days ago I installed the VS2005 Beta and started playing with it. First of all the (Profile Guided Optimizations) PGO Feature looks very...
3
by: Walt Zydhek | last post by:
I'm testing Visual Studio 2005 for design of pages that are XHTML 1.1 Strict compliant and have found a few problems. Wondering if anyone can suggest a workaround or if it is an issue Microsoft...
1
by: Dean Slindee | last post by:
Will there be a VS2003-style splitter control in VS2005 when it gets past Beta? I am not referring to the new splitter container in VS2005, but the original splitter control in VS2003. If not,...
7
by: Frank Rizzo | last post by:
Is it me or is the speed of VS2005 actually slower than VS2003? The startup is pretty bad - even though I changed VS to display an empty environment. When I create a new form and want to change...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
4
by: Janet | last post by:
Hi, I've converted my project from VS 2003 to VS 2005. But when I try to build the web project, there are no DLL files inside the bin folder. I've tried to create a new Class library project...
20
by: Iouri | last post by:
Hi everybody, We are currently using VS2003 and now we are in the porcess of upgrading to the next Visual Studio version. Does somebody have a real life experience with VS2008? My boss wants to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.