Reputation: 960
I am currently developing a GUI using visual studio 2008 targeting .NetFramework 3.5 I was wondering can a computer without 3.5 but with the latest version(4.0) run the application without any problem or do I still need to install .netFramework 3.5?
Upvotes: 2
Views: 233
Reputation: 17751
You can add the supportedRuntime
element to your app.config:
<configuration>
<startup>
<supportedRuntime version="v4.0" />
<supportedRuntime version="v2.0.50727" />
</startup>
</configuration>
Upvotes: 4
Reputation: 12521
You need to install .NET 3.5. .NET 4.0 comes with a different CLR, and therefore cannot execute .NET 3.5 assemblies.
Upvotes: 1