none
vs2015 - Remember solution upgrade settings

    Question

  • Hi

    I find that when I use a vs2012 solution in vs2015, it prompts me every startup for the upgrade options.

    I did not found a tick box "remember these settings", did I miss something ?

    >> I want to permanently tell visual studio 2015 that I want the vs2012 solution to stay on vs2012.

    On paper you should be able to use the later IDE on earlier solutions to get the benefit of extra vs2015 IDE features.

    Having this happen ever time is not only annoying but dangerous if your brain is not in gear and you click continue..

    Hint: If in the form you do CNTRL A then hit the space bar, you can clear all the selected options, handy when you have nearly 40 odd porojects..

    Thanks



    Friday, January 13, 2017 2:11 AM

Answers

  • Hi Greg,

    The article explains how round-tripping, which was introduced in VS 2012, works, and that still applies to VS 2013, VS 2015 or VS 2017. Maybe VS 2015 handles more projects in Category 1, but that doesn't change the fact that some projects may still fall in category 2 or category 3.

    Anyway, here you have a specific doc about VS 2015:

    Porting, Migrating, and Upgrading Visual Studio Projects

    If you create a Windows Forms project in VS 2012, you can open it without upgrading in VS 2015 (Category 1).

    Are all your projects Windows Forms?

    The one-way upgrade prompt of VS 2015 states that "projects not displayed either require no changes or will automatically be modified such that behavior is not impacted":

    So, it seems that either some project is in category 3 (one-way upgrade) or you are reverting the modifications done to a project in category 2.

    Can you post a screenshot of the upgrade prompt for us to see the kind of projects that needs upgrading?


    My portal and blog about VSX: http://www.visualstudioextensibility.com
    Twitter: https://twitter.com/VSExtensibility
    MZ-Tools productivity extension for Visual Studio: https://www.mztools.com

    • Marked as answer by Greg B Roberts Sunday, January 15, 2017 11:44 PM
    Friday, January 13, 2017 7:00 AM

All replies

  • Hi Greg,

    Round-tripping between versions from Visual Studio 2010 SP1 and higher is explained in this post:

    Round-tripping with Visual Studio 11

    https://blogs.msdn.microsoft.com/visualstudio/2012/03/28/round-tripping-with-visual-studio-11/

    The projects in your solution can be in one of these four categories:

    Category 1: Round-trips seamlessly

    Category 2: Requires behavioral modifications to round-trip

    Category 3: Does not round-trip

    Category 4: Deprecated projects

    Likely you have at least one project in Category 2.

    I suggest to convert to VS 2015, use source control diff to see what has changed, and check that the solution loads correctly on VS 2012 after the modifications.


    My portal and blog about VSX: http://www.visualstudioextensibility.com
    Twitter: https://twitter.com/VSExtensibility
    MZ-Tools productivity extension for Visual Studio: https://www.mztools.com

    Friday, January 13, 2017 6:16 AM
  • I don't see how this article applies as it has no reference or time line around vs2015

    A lot of work was done in vs2015 to allow older solutions to run.

    If I don't upgrade, the solution runs perfectly well under vs2015 as it uses the 11.0 compiler etc.

    We have no desire to upgrade a released product, i.e. patch work is done on the same code base.

    Why question was around not being prompted to upgrade.

    Regards



    Friday, January 13, 2017 6:29 AM
  • Hi Greg,

    The article explains how round-tripping, which was introduced in VS 2012, works, and that still applies to VS 2013, VS 2015 or VS 2017. Maybe VS 2015 handles more projects in Category 1, but that doesn't change the fact that some projects may still fall in category 2 or category 3.

    Anyway, here you have a specific doc about VS 2015:

    Porting, Migrating, and Upgrading Visual Studio Projects

    If you create a Windows Forms project in VS 2012, you can open it without upgrading in VS 2015 (Category 1).

    Are all your projects Windows Forms?

    The one-way upgrade prompt of VS 2015 states that "projects not displayed either require no changes or will automatically be modified such that behavior is not impacted":

    So, it seems that either some project is in category 3 (one-way upgrade) or you are reverting the modifications done to a project in category 2.

    Can you post a screenshot of the upgrade prompt for us to see the kind of projects that needs upgrading?


    My portal and blog about VSX: http://www.visualstudioextensibility.com
    Twitter: https://twitter.com/VSExtensibility
    MZ-Tools productivity extension for Visual Studio: https://www.mztools.com

    • Marked as answer by Greg B Roberts Sunday, January 15, 2017 11:44 PM
    Friday, January 13, 2017 7:00 AM
  • Thanks for the added detail

    For whatever reason the restart in vs2015 is now working so my apologies.

    Either it had something to so with a successful build or I did not get a successful shutdown on other occasions (i.e. the unit tests where locking up and I had to terminate devenv.exe)

    Regards

    NB: I assume (Visual Studio - Windows XP) purely means it can support XP. We have not activity done anything to tick this box and we no longer ship our software for XP.

    Sunday, January 15, 2017 11:52 PM