Recently I made the WPF application and want to publish it for many users but application seems to have problems on some target user machines. It simply crashes when user is starting it. I build app with .NET Framework v.3.0 as target version and user machine has .NET Framework installed. I just want a way to ensure (for instance with installing system) my application will run with no errors.
What is really strange, on my testing PCs (with no Visual Studio installed but just with 3.0 .NET Framework) it runs perfectly.
Application haven’t any addition references except .NET ones.
Here are a link to download this application so if you want you can test it:
http://nippon.is74.ru/ForismaticTray.7z
Use an installer like NSIS and check for your framework. If its not on the target machine, install it.Here’s what I do in NSIS
Download and package 3.5 SP1 from Micorsoft
More about NSIS
Update: For 3.0 check registry for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.0folder.