Click to See Complete Forum and Search --> : "missing NET FRAMEWORK 2.0" error


fearless_
January 30th, 2006, 10:17 AM
I made a windows application using C# and I'm trying to make it run on non SDK machines. The error that pops up when trying to launch the application on non SDK computers is "no NET FRAMEWORK 2.0 installed" (or something along this lines). Installing NET FRAMEWORK 2.0 of course solves the problem. My question is if there is way to to make the application run without downloading and installing the entire NF 2.0 (that is more than 30 MB).
I had a similar problem with an application compiled with VS C++ 2005 Express and I was able to make a small install package that yould install only the VS C++ 2005 runtime (less than 2.5 Mb). So I'm wandering if same thing could be done with VS 2005 C#.

Any input is appreciated.

stardv
January 30th, 2006, 10:48 AM
You can add SetUP project and configure it to instal .NET framework along with you application instllation.

Use this refernce

http://msdn.microsoft.com/library/en-us/dnnetdep/html/vsredistdeploy1_1.asp