Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Deploy to experimental instance deploys to wrong location after upgrade to Vs2013

$
0
0

Hi,

I have an extension that is deployed against Vs2005/Vs2008/Vs2010/Vs2012 and I am planning to extend this to deploy against Vs2013.

After upgrading my solution to Vs2013 the Vs2012 VSIX is no longer deployed to the experimental instance during the build.

It appears the upgrade has caused the deployment to target "%APPDATA%\...\12.0EXP\.." instead of "%APPDATA%\...\11.0EXP\.."

Setup:

1) Visual Studio 2012 Solution which generates a Visual Studio Package Extension.

2) Upgrade the solution to VS2013

3) Attempt to build.

        Build fails with Error:

            "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets(503,5): error VSSDK1031: Extension '<myGuid>' could not be found. Please make sure the extension has been installed."

4) Goto project properties and un-check "Deploy VSIX content to experimental instance for debugging"

5) Attempt to build.

        Build Succeeds.

Some additional log output showing the incorrect path resolution.

===========================

2>Using "GetDeploymentPathFromVsixManifest" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Build.Tasks.dll".
2>Task "GetDeploymentPathFromVsixManifest"
2>Done executing task "GetDeploymentPathFromVsixManifest".
2>Done building target "GetVsixDeploymentPath" in project "Vs2012.csproj".
2>Target "GetVsixDeploymentPath" skipped. Previously built successfully.
2>Target "FindExistingDeploymentPath" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets" from project "C:\cygwin\home\cpedlar\w\git\desktop\vs\Trunk\vs2012\Vs2012.csproj" (target"DeployVsixExtensionFiles" depends on it):
2>Using "FindInstalledExtension" task from assembly "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Build.Tasks.dll".
2>Task "FindInstalledExtension"
2>Done executing task "FindInstalledExtension".
2>Done building target "FindExistingDeploymentPath" in project "Vs2012.csproj".
2>Target "GetVsixSourceItems" skipped. Previously built successfully.
2>Target "DeployVsixExtensionFiles" in file "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets" from project "C:\cygwin\home\user\w\git\desktop\vs\Trunk\vs2012\Vs2012.csproj" (target "PrepareForRun" depends on it):
2>Task "UninstallExtension" skipped, due to false condition; ('$(ExistingDeploymentPath)' != '$(VsixDeploymentPath)' AND '$(ExistingDeploymentPath)' != '') was evaluated as ('' != 'C:\Users\cpedlar\AppData\Local\Microsoft\VisualStudio\12.0Exp\Extensions\myExtension' AND '' != '').
2>Task "Message"
2>  VsixID = myGuid
2>Done executing task "Message".
2>Task "Message"
2>  VsixVersion = 1000.0.0
2>Done executing task "Message".
2>Task "Message"
2>  VsixDeploymentPath = C:\Users\user\AppData\Local\Microsoft\VisualStudio\12.0Exp\Extensions\myExtension

===========================

Any help or suggestions are appreciated.

UPDATE:

This is only occurring on my win7 machine.  I pulled my repo to a win8 VM and things are working as expected.  I'm not sure if this is a win7 issue or an error on my machine.  I think I'll attempt to re-install my Visual Studio instances and/or try on another win7 machine in the near future and see if I can narrow down the issue.  I will update again if I find any additional information.

Thanks,

Colin



Viewing all articles
Browse latest Browse all 4410

Trending Articles



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