Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Usage of targetFramework in web.config
Message
De
29/01/2015 12:44:32
 
 
À
29/01/2015 12:31:35
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows 8.1
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01614589
Message ID:
01614605
Vues:
16
>>Yes. If you target, say, 4.0 then any attempt to use newer functionality in 4.5.1 will not be available. In most cases that mean that the app won't compile. In a few obscure cases you may just get different behaviour from that which was expected.
>
>I removed that from the web.config so I want to make sure the latest framework would be used.
>
>>BTW, the settings in web.config are automatically updated if you change the 'Target Framework' in the 'Project Properties' page...
>
>If this is in reference to my local Web server where the PC used for develpment is I assume. I do not think an upload of a DLL in the Bin directory of a production server, for example, would force a change in the web.config.

No. I was assuming that you publish the development web.config (or at least a web.release.config) when deploying. Changing the target framework on the deployed app could be risky if you've compiled your dlls for a different version....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform