Framework supported by your application


Since Microsoft published the Framework 4.0, your old applications (using .NET 2.0, 3.5 or 3.5 SP1) can not run… because, if the user has only installed the Framework 4, your application try to find a folder C:\Windows\Microsoft.NET\v3.5. And this folder does not exist !

If you add the supportedRuntime tag in your app.config file, you allow that your application 2.0 or 3.5 can run with the Framework 4.


<?xml version="1.0" encoding="utf-8"?>
<configuration>
 <startup>
 <supportedRuntime version="v4.0.30319"/>
 <supportedRuntime version="v2.0.50727"/>
 </startup>
</configuration>

Advertisements
Tagged with: , ,
Posted in General, Tips and others

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow me
   RSS Feed    Twitter    Linked In

Write you email address to subscribe at this blog and to receive new posts by mail.

Join 611 other followers

Who I am?






%d bloggers like this: