or Create a profile
13 Mar, 2018 01:31 AM
It seems like something changed on the virtual machine causing the build to fail without any change to the codebase.
The failing build: https://ci.appveyor.com/project/tzachshabtay/monoags/build/job/0pow9i63jjtti1kg
A successful build just 3 days ago for the same codebase: https://ci.appveyor.com/project/tzachshabtay/monoags/build/1.0.621/job/lc3qubmgk3ksv83s
Note that the error seen in the failed build also happens in the successful build, so it wasn't failing the build then but it is now?.
This is the error:
C:\projects\monoags\Source\AGS.API\AGS.API.csproj(281,3): error MSB4019: The imported project "C:\Program Files\dotnet\sdk\2.1.100\Microsoft\Portable\v5.0\Microsoft.Portable.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
The only difference seems to be that the successful build is running against dotnet 2.1.4 and not 2.1.100.
on 13 Mar, 2018 01:49 AM
What happens if you rebuild your successful build? For that you can open it and press RE-BUILD COMMIT button.
on 13 Mar, 2018 11:59 AM
It fails the same way: https://ci.appveyor.com/project/tzachshabtay/monoags/build/job/wc7t84j7se43vgoa
on 14 Mar, 2018 01:06 AM
As a workaround, you can add a global.json file to the project with the following in it to force specific dotnet sdk,
on 14 Mar, 2018 03:24 PM
Thanks, the workaround works for now.
on 14 Mar, 2018 06:23 PM
Sorry, i misspoke. Its not really a workaround but rather the established way to specify a version of .net core sdk.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the AppVeyor staff to resolve this discussion.
This discussion is private.
Only you and AppVeyor support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.