Re: VS 2005 Win 32 Console Project Behavior

Tech-Archive recommends: Fix windows errors by optimizing your registry



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.
>
>


.



Relevant Pages

  • Re: VS 2005 Win 32 Console Project Behavior
    ... > I cannot repro also this but this does look like a bug in IDE of Visual ... You may find it in IDE in menu Help->About. ... Talk directly to dev teams using ... I am using Visual Studio 2005, ...
    (microsoft.public.dotnet.languages.vc)
  • Re: VS 2005 Win 32 Console Project Behavior
    ... > I cannot repro also this but this does look like a bug in IDE of Visual ... > Studio. ... Please report it on ... The submitted project is in the failed state after trying Rebuild. ...
    (microsoft.public.dotnet.languages.vc)
  • Re: Lebans Continuous Forms Sample Problem
    ... Subclassing/VB IDE bug. ... If you have had or currently opened the VB IDE ... >> Access Code, Tips and Tricks ...
    (microsoft.public.access.formscoding)
  • Re: Unhandled Exception in Form Load in EXE but not in IDE
    ... IDE by the normal Try-Catch syntax are not caught in an EXE unless the JIT ... If this is by design then it is a silly design but I ... So the answer to your last question about whether or not it's a bug in IDE ...
    (microsoft.public.dotnet.languages.vb)
  • Re: IDE changing file subtype from Form to Code???
    ... Not sure it that is a bug or if it is fixed, but for what is worth, the list ... > Our development team has a problem where the IDE will automatically change ... > the code type in the .csproj files from one type to another, ...
    (microsoft.public.vsnet.ide)