I am very confused what is going on with my application.
I have a complex C++/CLI and WPF application that I've migrated to .NET 4 to take advantage of the WPF goodies. All our projects in the solution are targeting 4.0 I'm having problems though with the deployment and running of our app on fresh XP installs
(without .NET previously installed).
Right now the installer will install the Visual C++ 2010 redist and .NET 4 client profile, then our application. On XP this doesn't seem to be enough. In it's current state it will crash upon running the .exe. By chance I guessed perhaps our CLI based
.dll has some dependencies on some old libs, so I also installed the Visual C++ 2008 redist. Now when I run I see the splash screen for our application, but I get an error dialog that says:
"To run this application, you first must install one of the following versions of the .NET Framework: 2.0.50727"
If I click the yes button it redirects me to install .NET 4 again. For kicks I tried installing the .NET 3.5 SP1 framework and my application runs.
How can I troubleshoot what is going on?
I also tried instead of installing .NET 3.5 SP1 but the standalone 2.0 SP2 redist and my application also works.
Is there something in 2.0 that is not available in 4?
View Complete Post