Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Usage of targetFramework in web.config
Message
De
30/01/2015 12:35:15
 
 
À
29/01/2015 12:50:51
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:
01614659
Vues:
21
>>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....
>
>I never use those features. I have my own command center and when I deploy, I click on the DLL for the Web site, select the server and that's it.

My point was that, regardless of how you deploy, the web.config produced by VS is heavily dependent on the Target Framework selected for it's project. As an example try 'downgrading' a .NET 4.0 web project to .NET 3.5. and compare web.config before and after. Modifying the .net target settings directly in the web.config on a production server where DLLs have been compiled using a different version seems inherently risky.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform