Nik
10/01/2024, 10:39 AMdotnet pack
from the CLI I get the following error:
..dotnet\sdk\8.0.402\Sdks\Microsoft.NET.Sdk.StaticWebAssets\targets\Microsoft.NET.Sdk.StaticWebAssets.Pu
blish.targets(57,5): error : Manifest file at 'obj\Release\net8.0\staticwebassets.build.json' not found. [..pathto/project.csproj]
I've tried bumping my dotnet sdk from 8.0.400 to 8.0.402 (the latest) and that's not worked.
If I use the "pack" feature in visual studio it works, but the CLI doesn't.Nik
10/01/2024, 4:15 PMMike Chambers
10/01/2024, 9:34 PMMike Chambers
10/01/2024, 9:41 PMMike Chambers
10/01/2024, 9:44 PMdotnet add "www" package MyPackage --source "D:\_work\{..}\dist" --prerelease
when spinning up a clean test (extending on PSW)Nik
10/01/2024, 11:51 PMMike Chambers
10/02/2024, 8:21 AMdotnet build --configuration Release --version-suffix ${{ github.run_number }}
guessing you can grab the tag there too?
and override the version, though could be more involved if you are updating readme, and other settings in the csproj with the version no in them?