Closed kzu closed 5 years ago
I wonder if the exe should be moved to a new package id that isn't a dotnet tool.
Is there a good way to write a package that works for both desktop msbuild and dotnet? Today I assume this only works for desktop msbuild since it uses the exe.
@kzu a non-tool package with sleet.exe is available here: https://www.nuget.org/packages/sleetexe
Given the following build script project:
Version 2.3.12 successfully restores, while 2.3.17 (and every version following that) fails with:
Setting
PackAsTool=true
on that project, as suggested somewhere on the internets also doesn't fix it.This makes the package effectively unusable as a reference for projects that invoke it directly (i.e.
Sleet.Azure
.Note, also, that using
DotNetCliToolReference
instead ofPackageReference
fails in the exact same way too.Reproduced with:
Microsoft (R) Build Engine version 16.0.461+g6ff56ef63c
andMicrosoft (R) Build Engine version 16.0.461+g6ff56ef63c
Thanks!