Question

I hope this question is suitable for this forum; I have a question regarding Visual Studio 2010 & Visual Studio 2012, which I have both and code up things in ASP.Net.

I understand that VS 2012 runs on the 4.5 .Net Framework, while VS 2010 runs on an earlier version. Also, I heard that if I coded something up originally in VS 2010, but say copy a project over to VS 2012, my application may have trouble running on an end-user's machine, if they are using an OS which is runs a lower version of the .Net Framework than the IDE I used to build/complete the application in question.

Thus, if I started a project in VS 2010, and finished the other 50% in VS 2012, would there been an issue with some of VS 2010's dependencies not being compatible in VS 2012's dependencies? Would this actually affect my end user?

Lastly, if I wanted to combat this issue (if it actually exists), could I just put the code for my pages in a text editor, and just transfer the code by hand to the IDE on the newer framework, and avoid a potential conflict between the two programs? I know I'll have a lot in terms of .aspx files, code-behind files, scripts and etc., but I don't feel building from scratch in VS 2012 just because end users will have a problem, as I started the project in an earlier program version. I hope I presented this where it makes some sense. Thanks.

Was it helpful?

Solution

It should not matter which version of visual studio you use to develop your application. What matters is the targeted .Net Framework. As long as the machine running it has .Net 4.5 you should be fine.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top