Archiv der Kategorie: Visual Studio

Visual Studio does not build on F5

VS does not build the project on F5 if you changed the sources.

Check these settings:

Tools – Options – Projects and Solutions – Build and Run:

OnRun when Projects are out of date: always

Configuration Manager ( Solution – Properties – Configuration Manager )

Check if Build is Enabled!

Visual Studio 2008 – WinSxS and the debug libraries Horror

You know the message „This application has failed to start beacuse the application configuration is incorrect. Reinstalling the application may fix this problem“ when trying to test an Debug Build on another Machine which has no VS 2008 installed?

You are shoure that you copied the crt and mfc libraries with the application?

Anyway of that, it’s windows WinSxS ( some call it WinSuckS ).

Solution:

Copy all \Windows\WinSxs\x86_Microsoft.VC90.Debug* directories from your developer machine to the same place on your test machine.

Copy all \WIndows\WinSxS\Policies\x86_policy.9.0.Microsoft.VC90.Debug* directories from your developer machine to the same place on your test machine.

Copy all \windows\WinSxs\Manifests\x86_Microsoft.VC90.Debug* Files from your developer machine to the same place on your test machine.

You can also do this by your own setup

If you use Inno Setup, copy the above directories to a source directory and place the followin line into your inno setup file in the [Files] section:

Source: yourdirectory\*.*; DestDir: {win}\WinSxS; Flags: recursesubdirs ignoreversion createallsubdirs