-
Notifications
You must be signed in to change notification settings - Fork 95
Description
When following the exact guideline to run a local build and packaging, the following error occurs because of a missing packageversion:
Build Time Report
Target Duration
Clean 00:00:00.2908897
RestoreClientDependencies 00:00:01.5264607
Build 00:00:02.8528861
RunTestsHeadless 00:00:02.6999463
Total: 00:00:07.4063091
Status: OkFinished (Success) 'DefaultTemplateTests' in 00:00:08.5290711
Starting target 'Pack'
Starting task 'DotNet:pack': SAFE.Template.proj
/Users/halcwb/Development/forks/SAFE-template> "dotnet" pack /p:PackageVersion= /p:PackageReleaseNotes= SAFE.Template.proj --configuration Release --output /Users/halcwb/Development/forks/SAFE-template/nupkg (In: false, Out: false, Err: false)
MSBuild version 17.8.3+195e7f5a3 for .NET
Determining projects to restore...
Restored /Users/halcwb/Development/forks/SAFE-template/SAFE.Template.proj (in 94 ms).
/usr/local/share/dotnet/sdk/8.0.100/Sdks/NuGet.Build.Tasks.Pack/build/NuGet.Build.Tasks.Pack.targets(110,5): error MSB4044: The "GetPackOutputItemsTask" task was not given a value for the required parameter "PackageVersion". [/Users/halcwb/Development/forks/SAFE-template/SAFE.Template.proj]
Finished (Failed) 'DotNet:pack' in 00:00:02.3791697
Finished (Failed) 'Pack' in 00:00:02.3828677