MSBuild Error - The system cannot find the path specified

Hi, the build had been working with no issues until today. After the update to Appveyor, the build stopped working with the following:

"C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe" "src\Solution.sln" /verbosity:minimal /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
The system cannot find the path specified.
Command exited with code 1

All was working for the last 3 weeks on this build. Haven't tried the others.

Please let me know if you need more details.

Cheers

Mike

  1. Hi Mike,

    Is it Visual Studio 2015 solution?

  2. Hi Feodor,

    Yes it is. Have I missed something obvious in the update email?

  3. Well, VS 2015 solution were supposed to build on Visual Studio 2015 RC image. However, I see the issue - if there is nothing VS 2015 specific it should be working fine on Pro environment where VS 2015 is not installed...

  4. Will fix that shortly - hold on.

  5. Actually, originally it was a 2013 solution. I started using 2015 just before I configured the build (I think...). It isn't using anything VS2015 specific, they are simple class libraries used as nuget packages.

    It is currently on a Windows 2012 R2 image (default). I'll hang on before I try anything as you've advised.

    Cheers

  6. Yeah, I'll disable that MSBuild 14.0 for now. We'll let you know when it's done.

  7. It should be fine now.

  8. Thanks for that, works again.

  9. I am probably missing something obvious, but C:\Program Files (x86)\MSBuild\14.0 has Microsoft.Common.Targets subfolder only on my https://ci.appveyor.com/project/davidpodhola/utop project (see the screenshot attached). Visual Studio 2015 solution, Environment - Operating System: Visual Studio 2015.
    Should I get there one from https://github.com/Microsoft/msbuild?

  10. Hi David,

    Do you use appveyor.yml for configuring the project?

    - Feodor

  11. OK, great. Then "os: Visual Studio 2015" should be specified there as UI settings are ignored when appveyor.yml is used.

    - Feodor

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