versionone / VersionOne.Client.VisualStudio

View and update VersionOne work items directly from Visual Studio
http://versionone.github.io/VersionOne.Client.VisualStudio
BSD 3-Clause "New" or "Revised" License
2 stars 10 forks source link

Support VS 2013 #56

Closed ibuchanan closed 10 years ago

ibuchanan commented 10 years ago

As a developer, I want to use the VS Client inside VS 2013 so that I can run the latest and greatest Microsoft software.

VS 2013 is now RTM: http://mobile.eweek.com/developer/microsoft-delivers-final-version-of-visual-studio-2013.html

Acceptance Criteria Outline:

See features for detailed spec.

ibuchanan commented 10 years ago

Seems like the fix is to change the version range in the vsixmanifest: [11.0,13.0)

JogoShugh commented 10 years ago

Next Steps

Valentin:

Josh:

veplechuc commented 10 years ago

On Vs 2013(Ultimate) I have some issues while open the project:

when open for the first time it migrates from VS2012 to VS2013 (see UpgradeLog.htm on the project directory) on this report you will see all the information about of how was the migration process

this warning windows (vs2013WarningMessage)

vs2013warningmessage

_One-way upgrade Visual Studio will automatically make functional changes to the following projects in order to open them. You will not be able to open these projects in the version of Visual Studio in which they were originally created.

NOTE: If you have already installed the VS SDK you won´t get these issues mentioned below

when I try to open the VSPackage it shows me that it is incompatible (see vs2013-projectIncompatible.jpg)

vs2013-projectincompatible

try to build the project Error 12 The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
C:\VersionOne.VisualStudio.VSPackage\VersionOne.VisualStudio.VSPackage.csproj
VersionOne.VisualStudio.Tests

Solution:

I downloaded from Ms [http://www.microsoft.com/visualstudio/eng/downloads] or from chocolatey Installed it modify the maifest, adding this line

InstallationTarget Version="[12.0,13.0)" Id="Microsoft.VisualStudio.Ultimate"

and it allows me to install the plug in on the vs 2013 (see img vs2013-aftemodifymanifest.jpg)

vs2013-aftemodifymanifest

NOTE: If you are using some other version than Ultimate, you should add a new line with the corresponding info. InstallationTarget Version="[12.0,13.0)" Id="Microsoft.VisualStudio.Ultimate" InstallationTarget Version="[12.0,13.0)" Id="Microsoft.VisualStudio.Pro" InstallationTarget Version="[12.0,13.0)" Id="Microsoft.VisualStudio.Premium"

when trying to install trows me this error (vs2013-errorinstallplugin.jpg) see also this reference [http://stackoverflow.com/questions/18095344/how-to-solve-microsoft-visualstudio-extensionmanager-missingreferencesexception]

vs2013-errorinstallplugin

remove this line from manifest:

Dependency d:Source="Manual" Id="Microsoft.VisualStudio.MPF" DisplayName="Visual Studio MPF" Version="10.0" d:InstallSource="Manual"

rebuild the solution install the plug in restart the VS added the required information to the plug In

JogoShugh commented 10 years ago

Decision

Options

NOTE: The discussion below may be helpful in future decisions, but for now, we've decided upon the solution above.

@veplechuc and I are discussing how to properly handle / support developers targeting lower editions of Studio (like 2012 now that 2013 is the current)

Here are some options we see:

A) Migrate master solution to 2013 , allow community to "fend for themselves" on lower editions

Pros:

Cons:

B) Migrate master solution to 2013, retain a "vs2012solution" branch with 2012 solution

Pros:

Cons:

JogoShugh commented 10 years ago

It appears that the only thing that needs to be changed for building in 2012 instead of 2013 is this single line in VersionOne.VisualStudio.VSPackage:

From 12.0 (2013)

<MinimumVisualStudioVersion>12.0</MinimumVisualStudioVersion>

To 11.0 (2012)

<MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>

Setting the value to 11.0 results in the project opening successfully in 2012. It can then be compiled fine, and because the manifest still lists 2013 as a target, it will also install and work in 2013.

However, if you try to open the project in 2013, you'll get a one way upgrade warning that @veplechuc mentioned above. If you let it upgrade, all it does is change that one line to 12.0.

ibuchanan commented 10 years ago

We also need this for the V1TFS integration. In order to keep from switching projects, let's wrap up whatever we can on this in the next week. If there's unfinished work, we'll create new issues in V1TFS and track them there.

ibuchanan commented 10 years ago

We completed the main thread of work for VS 2013 with last iteration but kept this issue open to make sure we did the automation work to spin up new environments. We still need this for TFS Integration so I've created the above issue for that. Let's move the discussion and tracking of that remaining work over to that project.