Visual Studio 2010 since 2005?

What happens if I compile and deploy solutions written in version 2005 using 2010?

Should the web server install 3.5 and 4.0? Will my web.configs change?

I mainly talk about standalone DLL files used in SharePoint solutions and web applications that use .net 2.0.

Can I have vs2010 and vs2005 on the same development client? Is there a compatibility compilation mode back in 2005? what about vs 2008?

+4
source share
3 answers

What happens if I compile and deploy solutions written in version 2005 using 2010?

When you try to open a project using VS2010, it will offer you a conversion wizard. You need to go through this to convert the project files to VS2010.

Once your project has been converted, if you build it correctly, you can set the target minimum version of the .NET framework.

If you target .NET 2.0, you only need 2.0 where you distribute your code, but after that you can only have any version, and it will work fine.

To change the .NET version in VS2010, you just need to:

Right click on the project -> Properties -> Application tab -> Frame for Goals -> select something


Can I have vs2010 and vs2005 on the same development client? Is there a compatibility compilation mode back in 2005? what about vs 2008?

Yes, you can install VS2005, VS2008 and VS2010 on the same computer, for example, I have projects that still compile and work fine. It is supported.

Each individual solution, however, should be used from only one version of VS.

+2
source

It is important to separate the VS version from the .NET version.

You can upgrade your 2005 projects (.NET 2.0) to VS 2010 and save them with .NET 2.0. In this scenario, nothing happens in the compiled program - just the tool you use to support it. After updating the \ Project solution to 2010, you can no longer open them in 2005.

If you want to start using the capabilities of .NET 3.5 or 4.0, you need to target this infrastructure in the project properties, and this will make a preset for the platform.

0
source

What happens if I compile and deploy solutions written in 2005 using 2010?

First, the solution must be converted to the VS 2010 format. This is usually an update of the solution files, project files and the web.config file.

Do you need a web server to have 3.5 and 4.0 installed?

Not. You can still configure frame 2.0.

Will my web.configs change?

Yes and no. There will be some additions that are used in newer versions of IIS, but previous settings should not be changed.

Can I have vs2010 and vs2005 on the same development client?

Yes, they work side by side without any problems. You can even run both at the same time.

Is there a compatibility compilation mode back to 2005?

Once the solution is converted to VS 2010 format, it is no longer compatible with VS 2005 format.

what about vs 2008?

Same. Conversion is one way.

You can still perform the conversion manually by simply creating a new solution 2005/2008 and placing individual files in it.

0
source

All Articles