Click to See Complete Forum and Search --> : [RESOLVED] Setup needs .Net 3.5?! (olny used .net 2.0)


dannystommen
March 6th, 2009, 10:18 AM
I create a winform application which uses only .Net 2.0. This app uses a DLL that also uses only .Net2.0

Then I created a Setup project, also .Net 2.0. But when an user wants to run the setup, a message is prompted that .Net3.5 is needed and starts downloading.


In the "Launch Conditions" folder and "Dedected dependencies" folder of the setup project, there is a file .Net framework. When I open the properties of it, it says version 3.5. I cannot delete this file. Why is this file there if it is not needed by the application?

I'm confused. Can I configure it in an way that the user does not need to download .Net 3.5?

dglienna
March 11th, 2009, 12:42 AM
VS 2008? You can set the deployment architecture when you compile it

dannystommen
March 11th, 2009, 04:52 AM
Solved the problem...

In the setup project, under 'Detected dependencies', 'Microsoft .NEt Framework' can be found. WHen I opened the properties of it, the version was 3.5.21022. I could not remove it, but when select the Version property, suddenly a dropdown showed up. Changed it into 2.0.50727. Now it works fine :)

Didn't I could change it the version.