Having problems getting Visual Studio 14 to work with project

Greg's Avatar

Greg

24 Jun, 2015 10:24 PM

I have used Visual Studio 14 to test several other projects, but I cannot seem to get it working with:

https://github.com/maxmind/MaxMind-DB-Reader-dotnet/tree/greg/improved-reads

No matter what I do, it continues to test it with Visual Studio 12. I have set the OS to "Visual Studio 2015 RC" in both the appveyor.yml and in the web interface. I have also set the path to "set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%" in the install step for both the yml and web interface. Based on a post here, I set the "VisualStudioVersion" to "14.0.22823.1" in my solution file.

Thanks!

  1. Support Staff 1 Posted by Feodor Fitsner on 25 Jun, 2015 03:03 AM

    Feodor Fitsner's Avatar

    This is because of this line: https://github.com/maxmind/MaxMind-DB-Reader-dotnet/blob/greg/impro...

    AppVeyor detects that it's VS 2013 solution and forces MSBuild 12.0. For VS 2015 solutions that line contains Visual Studio 14.

    You should either convert solution to VS 2015 or replace automatic build with your own msbuild command.

  2. 2 Posted by Greg on 25 Jun, 2015 03:24 AM

    Greg's Avatar

    Thanks. That did seem to work. It is strange that another project of mine did not have this issue even though it has VS 2012 on that line:

    https://ci.appveyor.com/project/oschwald/geoip2-dotnet
    https://github.com/maxmind/GeoIP2-dotnet/blob/master/GeoIP2.sln#L3

  3. Support Staff 3 Posted by Feodor Fitsner on 25 Jun, 2015 03:33 AM

    Feodor Fitsner's Avatar

    Everything not VS 2013 falls back to just "msbuild.exe" ;)

    - Feodor

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