Knowledge Essentials - 3Essentials Hosting

Visual Studio 2010 support

Article ID: 1351

 Back to Search

Question: Can I use Visual Studio 2010 for my ASP.net hosted site at 3Essentials?

Answer:  Yes, however VS 2010 uses .Net 4.0 framework by default, and currently 3Essentials does not support the .Net 4.0 framework on our SHARED and MANAGED hosting services (see:http://knowledge.3essentials.com/web-hosting/article/369/What-ASP.NET-versions-1.1-2.0-3.5-does-3Essentials-support-and-how-do-I-enable-change-versions.html)

So to use VS 2010, you'll need to set the ASP.Net Framework level to 3.0/3.5.  To make this work, right-click the project in Solution Explorer pane, then select Property Pages.  Go to Build option and change the Target Framework to 3.0. This allows you to use the newer VS 2010 features but builds the files using 3.0 so that the web server will execute your .aspx pages.

Also, check to ensure that you do not have any references that point to .NET version 4.0.0.0:
  • If you're using C#, you may see this under References click the reference and scroll down to see the "Version" property.
  • If you're using VB, right click the project, select "Properties" and hit the References tab to see all the references and their respective .NET versions.
 
Downloads Associated With This Article
No downloads are currently associated with this article.