Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a ASP.Net 4.0 version's Websites or Source Code files built on ASP.NET 4.0 version, which requires Visual Studio 2010 Ultimate Edition to run this. But i have Windows XP SP2 and Microsoft Visual Web Developer 2008 Express Edition running on my PC. Is there any possible way to run those websites and source code built in ASP.NET 4.0 version on my System with Windows XP SP2 and Microsoft Visual Web Developer 2008 Express Edition?
Posted

Just for clarification: you can have problems with the version of Visual Studio only in development.

You only need redistributable .NET Framework if you only need to run and even to build the application. The C# and VB.NET compilers and all the build tools come with the framework. To build without the Visual Studio, use
MSBuild.exe solution-file.sln [options]


For further detail, see http://msdn.microsoft.com/en-us/library/ms164311.aspx[^].

The location of MSBuild.exe depends on the version of framework. You can always find this location in the registry. Use the keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\3.5
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0
(and so on...)


—SA
 
Share this answer
 
v2
You can't use Visual Studio 2008 for .net 4.0 code. It does not require Ultimate, you can use the Express version, or any other version.
 
Share this answer
 
Comments
fjdiewornncalwe 16-Nov-11 13:19pm    
There is one caveat to the Express 2010 version. He'll have to drop any of the test projects (if they exist in the first place)
Sergey Alexandrovich Kryukov 16-Nov-11 13:38pm    
Why?
By the way, there is not need in VS to build and run, please see my solution.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900