我正在尝试在AppVeyor中使用C# 6.0代码构建库。我已经尝试了这个来自AppVeyor的更新, 这个讨论和这篇博客文章中的配置。
以下是我的操作步骤:
以下是我的操作步骤:
- Select Visual Studio 2015 as operating system from AppVeyor web interface
Add MSBuild 14.0 folder to the path (tried both from web interface and appveyor.yml)
SET PATH=C:\Program Files (x86)\MSBuild\14.0\Bin\;%PATH%
Changed these lines in solution file
# Visual Studio 14 VisualStudioVersion = 14.0.23107.0
Tried to invoke MSBuild with custom build script
这些方法都没有起作用。它仍然会选择MSBuild 12.0并失败。我还能尝试什么?有些人已经搞定了,我不知道我错在哪里。