Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Forced Solution Upgrade to Visual Studio 2013

$
0
0

Hi,

Is there a way to force an upgrade of a solution from VS 2010 to VS 2013?

I have a solution created in VS 2010 and it targets .NET v3.5.  Obviously, I can open the solution in VS 2010 with no issues and I can upgrade the target framework to v4.0, all within VS 2010.  When I open the same solution in VS 2013, the solution is opened successfully but NO changes or upgrade is performed on the solution.  The solution is kept in VS 2010 format, as expected.  Which is convenient for solutions that I have to share with other developers still using VS 2010.

I can find no way to manually upgrade a solution to VS 2013 to ensure the solution is only used within VS 2013.

I tried to force an upgrade using the following command,

devenv Mysolution.sln /upgrade

but I get the response of,

This project/solution does not require migration.  It will open without modification.

Which is great if I was sharing the solution with other developers.  But I want to ensure the solution is ONLY opened in VS 2013, regardless of the machine it's opened on.

After I opened the solution in VS 2013, I changed the target framework to v4.0.  The solution was automatically upgraded to VS 2013.  Which doesn't make sense because I can target v4.0 using VS 2010 as well.  Once the solution is upgraded to VS 2013, that eliminates the ability to use VS 2010 for that solution.

I know I can manually edit the solution file in notepad to force it to use VS 2013 but I shouldn't have to manually edit the files.  That's asking for even more issues to arise from an ill-formatted solution file.

Is there any other way to upgrade a solution to VS 2013 format other than changing the target framework?

Thanks.

Jason


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>