I’m developing an application in C# based on the .Net Framework. The problem is that on certain computers there is no .Net. So is there a app (preferably free) that can check it and suggest a download if no .Net is available that i can run during the installer, or an app that wraps my assembly with the .net assemblys so that i wouldn’t have to have .net insalled in order to run?
Note: I am using the nullsoft installer. And I need to install the 3.5 framework.
Thank you very much.
Two ways to handle this. You need to make a list of prerequisites for your app. You at least need to specify the minimum Windows version that you are willing to support. And you can add the requirement that the Windows install has the .NET framework version you need. The vast majority of machines will meet this requirements list.
Or you could create a Setup project for your app. The bootstrapper that installs .NET will automatically be added, takes about 5 minutes to get this done. Not supported by the Express edition.