hi, i tried to build Powershell but i have a problem with SDK dotnet. How to fix ? /usr/local/dotnet/sdk/8.0.100/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.GenerateAssemblyInfo.targets(226,5): error MSB4044: The "GetAssemblyVersion" task was not given a value for the required parameter "NuGetVersion". [/usr/ports/shells/powershell/work/PowerShell-7.4.2/src/System.Management.Automation/System.Management.Automation.csproj] <!-- ================================================================== GetAssemblyVersion Parses the nuget package version set in $(Version) and returns the implied $(AssemblyVersion) and $(FileVersion). e.g.: <Version>1.2.3-beta.4</Version> implies: <AssemblyVersion>1.2.3</AssemblyVersion> <FileVersion>1.2.3</FileVersion> Note that if $(AssemblyVersion) or $(FileVersion) are are already set, it is considered an override of the default inference from $(Version) and they are left unchanged by this target. ================================================================== --> <Target Name="GetAssemblyVersion"> <GetAssemblyVersion Condition="'$(AssemblyVersion)' == ''" NuGetVersion="$(Version)"> <Output TaskParameter="AssemblyVersion" PropertyName="AssemblyVersion" /> </GetAssemblyVersion> <PropertyGroup> <FileVersion Condition="'$(FileVersion)' == ''">$(AssemblyVersion)</FileVersion> <InformationalVersion Condition="'$(InformationalVersion)' == ''">$(Version)</InformationalVersion> </PropertyGroup> </Target>
I Fixed this issue
The reported bugs required a value for the NuGetVersion parameter, which caused compilation errors, especially when trying to compile PowerShell. Users are encouraged to provide this value to resolve the issue. https://cgit.freebsd.org/src/tree/sys/dev/virtio/virtqueue.c?h=releng/13.0#n605 https://geometrydashdeadlocked.com Additionally, the report notes that the issue has been fixed, which is great news for developers facing similar challenges.