VSIX project build fail on starting integration test

Hi There,
First of all thanks for supporting the opensource community with free hosted CI.
Today I started using AppVeyor for my Visual Studio 2013 Extension hosted in Github. The extension solution contains extension project, unit test project and integration test. The extension built properly. But from the logs I could understand that, it tried to start VS instance for integration testing which failed the entire build.

It first attempt to look for AWSToolKit.dll. I assume you are hosting in Amazon Cloud :) Then it looks for log4net assemblies.

i could see similar issues when googled. Does it mean AppVeyor is not supporting integration tests for VSIX? Do you have any guideline on CI for VSIX projects?

https://github.com/olegsych/T4Toolbox/issues/2
http://blog.paranoidcoding.com/2014/06/07/deploying-vsix-to-appveyor.html

The logs can be located in below URL.
https://ci.appveyor.com/project/joymon/joyful-visualstudio/build/1.0.14
Joy

  1. Try deleting AWSToolkit extensions from VS 2013 with this PS command:

    Remove-Item 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Amazon Web Services LLS' -Force
    
  2. Thanks for the quick response. I have added this script in settings->Build->Before Building script by selecting PS option. But getting same error.
    Let me know if this needs to be specifically added to .yml
    https://ci.appveyor.com/project/joymon/joyful-visualstudio/build/1.0.16

  3. Yes, it should be in appveyor.yml as UI settings are ignored when yml exists:

    before_build:
      - ps: Remove-Item 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\Extensions\Amazon Web Services LLS' -Force
      - nuget restore src\VS2013\JoyfulTools.sln
    
  4. During the small gap, when I googled I got the below reply from you and I tried that which is same change but inside yml without powershell.

    http://help.appveyor.com/discussions/questions/1275-build-failed-log4net-error-xmlhierarchyconfigurator-could-not-create-appender-rollingfileappender

    Now the unit tests run properly. But failed in Integration test. Seems thats code issue at my side.

    Thanks very much for your quick help. Have a great weekend.
    Joy

  5. Cool, thanks for the update!

    - Feodor

  6. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 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