Re: VS 2005 Win 32 Console Project Behavior
- From: "Nikola Dudar [MSFT]" <nikolad@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 21 Dec 2005 16:10:35 -0800
Hi,
I cannot repro also this but this does look like a bug in IDE of Visual
Studio. Please report it on http://lab.msdn.microsoft.com/productfeedback/.
If you can attach zip with your project, and build.log files from the
initial "Build" and from "Rebuild". Also add info what version of VS you
have installed. You may find it in IDE in menu Help->About. From description
it sounds like you have VC++ Express.
Thanks,
Nikola
--
Nikola Dudar
Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Suggestions? Bugs? Talk directly to dev teams using
http://lab.msdn.microsoft.com/productfeedback/
My Blog - http://blogs.msdn.com/nikolad/
"pvdg42" <pvdg42@xxxxxxxxxxxxxxxxx> wrote in message
news:eovwc%23aBGHA.3604@xxxxxxxxxxxxxxxxxxxxxxx
> When we use Visual Studio in beginning C++ classes, we routinely follow
> the scenario below.
>
>
>
> Create a Win 32 Console Project (empty).
>
> Add a C++ source code file to the project.
>
>
>
> Enter code (simple example below).
>
>
>
> #include <iostream>
>
> #include <string>
>
>
>
> using namespace std;
>
>
>
> int main()
>
> {
>
> int x = 0;
>
> string y;
>
> cout << "Enter your name: ";
>
> cin >> y;
>
> cout << "\nEnter your age: ";
>
> cin >> x;
>
> cout << "\n\nHello " << y << " !\n";
>
> cout << "You are " << x << " years old.\n\n";
>
> return 0;
>
> }
>
>
>
> If I select Build ProjectName or Build Solution from the Build menu, the
> build completes and I am able to Start or Start Without Debugging to run
> the program.
>
>
>
> However, If I select Rebuild ProjectName or Rebuild Solution, the output
> window shows the messages below (note the line about .exe not found):
>
>
>
> Linking...
>
> LINK : E:\2005_Fall_Students\CPPConsole\Debug\CPPConsole.exe not found or
> not built by the last incremental link; performing full link
>
> Embedding manifest...
>
> Build log was saved at
> "file://e:\2005_Fall_Students\CPPConsole\CPPConsole\Debug\BuildLog.htm"
>
> CPPConsole - 0 error(s), 0 warning(s)
>
> ========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========
>
>
>
> If I then try to run the program, the following dialog appears:
>
>
>
> TitleBar: ProjectName.exe - Unable to Locate Component
>
>
>
> Message: This application failed to start because MSVCP80D.dll was not
> found. Reinstalling the application may fix this problem.
>
>
>
> The only way I can resurrect the project is to delete the Debug folder
> under the outer ProjectName folder (the one with the .exe in it) then go
> back into VS 2005 and use Build vs. Rebuild to create a new executable
> that will run.
>
>
>
> As this behavior did not occur with VS .NET or VS . NET 2003, and seems
> illogical, I can only conclude that it's a bug?
>
>
>
> Any comments welcomed.
>
>
.
- Follow-Ups:
- Re: VS 2005 Win 32 Console Project Behavior
- From: pvdg42
- Re: VS 2005 Win 32 Console Project Behavior
- From: pvdg42
- Re: VS 2005 Win 32 Console Project Behavior
- References:
- VS 2005 Win 32 Console Project Behavior
- From: pvdg42
- VS 2005 Win 32 Console Project Behavior
- Prev by Date: Re: Firefox and Updates
- Next by Date: Re: Is it possible to use global variable/function in VC.NET?
- Previous by thread: Re: VS 2005 Win 32 Console Project Behavior
- Next by thread: Re: VS 2005 Win 32 Console Project Behavior
- Index(es):
Relevant Pages
|