You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a fresh git clone https://github.com/PowerShell/PowerShell.git I cannot build the PowerShell source, due to a missing microsoft.powershell.psresourceget\1.0.1 package.
Expected behavior
Start-PSBuild (invoked from the VScode terminal) should build the tree.
Actual behavior
PS❯ Start-PSBuildWARNING: The 'dotnet' in the current path can't find SDK version 8.0.100, prepending C:\Users\<REDACTED>\AppData\Local\Microsoft\dotnet to PATH.VERBOSE: In Find-DotNetVERBOSE: Executing: dotnet --list-sdks VERBOSE: Find-DotNet: dotnetCLIInstalledVersion = 8.0.100; chosenDotNetVersion = 8.0.100-rtm.23551.15WARNING: The 'dotnet' in the current path can't find SDK version 8.0.100, prepending C:\Users\<REDACTED>\AppData\Local\Microsoft\dotnet to PATH.VERBOSE: Using configuration 'Debug'VERBOSE: Using framework 'net8.0'VERBOSE: Using runtime 'win7-x64'VERBOSE: Top project directory is C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-coreVERBOSE: Building without shimRun dotnet publish /property:GenerateFullPaths=true /property:ErrorOnDuplicatePublishOutputFiles=false --self-contained /property:UseRidGraph=true /property:IsWindows=true --configuration Debug --framework net8.0 --runtime win7-x64 /property:SDKToUse=Microsoft.NET.Sdk.WindowsDesktop from C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-coreMSBuild version 17.8.3+195e7f5a3 for .NET Determining projects to restore... All projects are up-to-date for restore. PSVersionInfoGenerator -> C:\Users\<REDACTED>\source\repos\PowerShell\src\System.Management.Automation\SourceGenerators\PSVersionInfoGenerator\bin\Debug\netstandard2.0\SMA.Generator.dll Microsoft.WSMan.Runtime -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.WSMan.Runtime\bin\Debug\net8.0\Microsoft.WSMan.Runtime.dll Microsoft.PowerShell.CoreCLR.Eventing -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.CoreCLR.Eventing\bin\Debug\net8.0\Microsoft.PowerShell.CoreCLR.Eventing.dll System.Management.Automation -> C:\Users\<REDACTED>\source\repos\PowerShell\src\System.Management.Automation\bin\Debug\net8.0\System.Management.Automation.dll Microsoft.PowerShell.Commands.Diagnostics -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.Commands.Diagnostics\bin\Debug\net8.0\Microsoft.PowerShell.Commands.Diagnostics.dll Microsoft.Management.Infrastructure.CimCmdlets -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.Management.Infrastructure.CimCmdlets\bin\Debug\net8.0\Microsoft.Management.Infrastructure.CimCmdlets.dll Microsoft.PowerShell.Security -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.Security\bin\Debug\net8.0\Microsoft.PowerShell.Security.dll Microsoft.PowerShell.ConsoleHost -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.ConsoleHost\bin\Debug\net8.0\Microsoft.PowerShell.ConsoleHost.dll Microsoft.WSMan.Management -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.WSMan.Management\bin\Debug\net8.0\Microsoft.WSMan.Management.dll Microsoft.PowerShell.Commands.Utility -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.Commands.Utility\bin\Debug\net8.0\Microsoft.PowerShell.Commands.Utility.dll Microsoft.PowerShell.Commands.Management -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.Commands.Management\bin\Debug\net8.0\Microsoft.PowerShell.Commands.Management.dll Microsoft.PowerShell.SDK -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.PowerShell.SDK\bin\Debug\net8.0\Microsoft.PowerShell.SDK.dll Microsoft.PowerShell.GraphicalHost -> C:\Users\<REDACTED>\source\repos\PowerShell\src\Microsoft.Management.UI.Internal\bin\Debug\net8.0\Microsoft.PowerShell.GraphicalHost.dll powershell-win-core -> C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\pwsh.dll powershell-win-core -> C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\publish\PowerShell output: C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\publish\pwsh.exeRestore PowerShell modules to C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\publishWARNING: The 'dotnet' in the current path can't find SDK version 8.0.100, prepending C:\Users\<REDACTED>\AppData\Local\Microsoft\dotnet to PATH.Name='PowerShellGet', Version='2.2.5', Destination='C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\publish\Modules'Name='PackageManagement', Version='1.4.8.1', Destination='C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\publish\Modules'Name='Microsoft.PowerShell.PSResourceGet', Version='1.0.1', Destination='C:\Users\<REDACTED>\source\repos\PowerShell\src\powershell-win-core\bin\Debug\net8.0\win7-x64\publish\Modules'Copy-Item: Cannot find path 'C:\Users\<REDACTED>\.nuget\packages\microsoft.powershell.psresourceget\1.0.1' because it does not exist.
Error details
No response
Environment data
Name Value
---------
PSVersion 7.4.0
PSEdition Core
GitCommitId 7.4.0
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Prerequisites
Steps to reproduce
After a fresh
git clone https://github.com/PowerShell/PowerShell.gitI cannot build the PowerShell source, due to a missingmicrosoft.powershell.psresourceget\1.0.1package.Expected behavior
Start-PSBuild (invoked from the VScode terminal) should build the tree.Actual behavior
Error details
No response
Environment data
Visuals
No response