Visual Studio SDK

Irdis's Avatar

Irdis

11 Dec, 2013 05:07 PM

Hello,
Thank you for a great service. It works perfectly, however I cannot build the whole solution assemblies because of missing Visual Studio SDK targets.
d:\Builds\rod0amcgiu\src\trunk\VSTalk\VSTalk.Extension\VSTalk.Extension.csproj(308,3): error MSB4019: The imported project "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\VSSDK\Microsoft.VsSDK.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.
Could you please install them to your build server? It's just 11Mb update available on the official visual studio page.
Thank you in advance!

  1. Support Staff 1 Posted by Feodor Fitsner on 11 Dec, 2013 05:33 PM

    Feodor Fitsner's Avatar

    Hi,

    Thanks for your interest in AppVeyor!

    VS SDK requires full Visual Studio SKU, but at the moment we have only Express versions of VS installed on build machines. That works for many projects, but not for VS SDK and VSTO ones, sorry.

    We still have to figure out how to support these kinds of projects. Stay tuned.

    -Feodor

  2. Support Staff 2 Posted by Feodor Fitsner on 11 Dec, 2013 05:41 PM

    Feodor Fitsner's Avatar

    Hey, I've just copied VS SDK target files on build machines. For the sake of experiment could you please try building and see if it works? If it doesn't then we'll try something else next time.

  3. 3 Posted by jorge costa on 18 Mar, 2014 05:45 PM

    jorge costa's Avatar

    Hi,

    Have you remove the target files?

    I still get some issues

    278"C:\projects\vssonarqubeextension\VSSonarQubeExtension.sln" (default target) (1) ->
    279"C:\projects\vssonarqubeextension\VSSonarExtension.Test\VSSonarExtension.Test.csproj" (default target) (3) ->
    280"C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj" (default target) (2:2) ->
    281 C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj(322,3): error MSB4019: 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.
    282
    283 4 Warning(s)
    284 2 Error(s)

  4. Support Staff 4 Posted by Feodor Fitsner on 18 Mar, 2014 06:01 PM

    Feodor Fitsner's Avatar

    There are new build server images that do not contain VS SDK files yet.

    I will update the image and let you know.

  5. Support Staff 5 Posted by Feodor Fitsner on 18 Mar, 2014 07:36 PM

    Feodor Fitsner's Avatar

    OK, give it another try and let me know how it goes.

  6. 6 Posted by jorge costa on 19 Mar, 2014 04:32 PM

    jorge costa's Avatar

    apparently there is still something going on here.

    293"C:\projects\vssonarqubeextension\VSSonarQubeExtension.sln" (default target) (1) ->
    294"C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj" (default target) (2) ->
    295(FindSDKInstallation target) ->
    296 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(74,5): error VSSDK1036: Can not find the installation for VS SDK. [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    297 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4018: The "FindVsSDKInstallation" task failed unexpectedly. [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    298C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4018: System.ArgumentNullException: Value cannot be null. [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    299C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4018: Parameter name: path1 [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    300C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4018: at System.IO.Path.Combine(String path1, String path2) [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    301C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4018: at Microsoft.VsSDK.Build.Tasks.FindVsSDKInstallation.get_IncludesPath() [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    302 C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4028: The "FindVsSDKInstallation" task's outputs could not be retrieved from the "IncludesPath" parameter. Value cannot be null. [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    303C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.Common.targets(76,7): error MSB4028: Parameter name: path1 [C:\projects\vssonarqubeextension\VSSonarExtension\VSSonarExtension.csproj]
    304

  7. Support Staff 7 Posted by Feodor Fitsner on 19 Mar, 2014 04:41 PM

    Feodor Fitsner's Avatar

    I see. It means simple throwing SDK target files and assemblies won't make it work.
    OK, we have to find another way...

  8. 8 Posted by jorge costa on 19 Mar, 2014 04:53 PM

    jorge costa's Avatar
  9. Support Staff 9 Posted by Feodor Fitsner on 19 Mar, 2014 05:26 PM

    Feodor Fitsner's Avatar

    wow, impressive guide :)

    I will try to follow it in the meantime to see if it works, thanks!

  10. Support Staff 10 Posted by Feodor Fitsner on 19 Mar, 2014 05:30 PM

    Feodor Fitsner's Avatar

    Is your project public?

  11. 11 Posted by jorge costa on 19 Mar, 2014 05:38 PM

    jorge costa's Avatar
  12. Support Staff 12 Posted by Feodor Fitsner on 20 Mar, 2014 01:22 AM

    Feodor Fitsner's Avatar

    OK, I have some progress.

    I was able to build a simple VSIX extension:
    https://ci.appveyor.com/project/feodorf1/vs-extension-test/build/1.0.4

    Sources are here: https://github.com/FeodorFitsner/vs-extension-test

    Let me know if it works for your project.

  13. 13 Posted by Jorge Costa on 20 Mar, 2014 06:31 AM

    Jorge Costa's Avatar

    Its compiling now, thanks. Tests are now failing but its because I have
    some messed up references.

  14. Support Staff 14 Posted by Feodor Fitsner on 20 Mar, 2014 06:41 AM

    Feodor Fitsner's Avatar

    Nice, thanks for the update!

  15. 15 Posted by Mike Fourie on 01 Jun, 2014 10:33 AM

    Mike Fourie's Avatar

    How about the VS 2013 SDK?

    I'm getting

    MyHistory -> C:\projects\myhistory\Main\MyHistory\bin\VS2012_Debug\Microsoft.ALMRangers.Samples.MyHistory.vsix 14C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets(400,5): error MSB4018: The "GetDeploymentPathFromVsixManifest" task failed unexpectedly. [C:\projects\myhistory\Main\MyHistory\MyHistory.csproj]
    15C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\VSSDK\Microsoft.VsSDK.targets(400,5): error MSB4018: System.Runtime.InteropServices.COMException (0x80030002): could not be found.

  16. 16 Posted by Jorge Costa on 01 Jun, 2014 02:00 PM

    Jorge Costa's Avatar

    Maybe you can try to disable the deployment of the vsix in release. My
    builds uses vssdk 13 already and it works

  17. Support Staff 17 Posted by Feodor Fitsner on 01 Jun, 2014 03:12 PM

    Feodor Fitsner's Avatar

    Exactly, deployment must be disabled to make it work on AV.

  18. 18 Posted by Mike Fourie on 01 Jun, 2014 05:18 PM

    Mike Fourie's Avatar

    Thanks guys!

  19. 19 Posted by Steve Cadwallad... on 24 Jul, 2014 12:16 PM

    Steve Cadwallader's Avatar

    VS SDK compilation support is fantastic and I appreciate how well it worked. :)

    Microsoft provides an integration tests framework as part of the default extension project that lets you simulate user actions within an experimental instance of Visual Studio. The deployment setting referenced above ties into that. Not knowing what all is involved behind the scenes, any thoughts around supporting the ability to run integration tests?

    Even without CI testing, having CI builds up and running is wonderful - thanks. :)

  20. Support Staff 20 Posted by Feodor Fitsner on 25 Jul, 2014 05:42 AM

    Feodor Fitsner's Avatar

    That's a good question. We could look into that at some point. In general, it's always a pain to run something interactively on a build server. Do you have any previous experience of running these tests on other CI solutions?

  21. 21 Posted by Jorge Costa on 25 Jul, 2014 05:58 AM

    Jorge Costa's Avatar

    There are 2 ways, first you enable auto login of the build agent and
    disable any screensaver. The other is to run the build client as a service
    and set the allow interact with desktop.

    We found that the second is not as good when you want to use frameworks
    like white or sikuli. We mostly use the first and we have the agent with a
    vnc server there and we use a remote client to establish the vnc connection
    once you close the vnc client you can choose to leave the desktop open. And
    it works.

    But for the vssdk integration test I think you only need to run as a
    service and enable the allow imteraction

  22. Support Staff 22 Posted by Feodor Fitsner on 25 Jul, 2014 01:14 PM

    Feodor Fitsner's Avatar

    I see, thanks!

  23. 23 Posted by steve.cadwallad... on 25 Jul, 2014 02:38 PM

    steve.cadwallader's Avatar

    I haven't had it working in a CI (headless) environment before.  I see there's some other thoughts below.  I would be interested in doing some of the leg work to prove it out in azure if you think it's something you'd be open to integrating?

  24. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM