Repository navigation
Closed
NuGet/NuGet.Client
#2803Labels
Type:Engineeringproduct/infrastructure work/not a customer bug/feature/DCR
Milestone
Description
Details about Problem
NuGet product used: build script
NuGet version: 4.9.4.5839
dotnet.exe --version: sdk-2.2.300-preview-010042-win-x64
VS version (if appropriate):
OS version: Windows 10 [Version 10.0.17763.379]
Worked before? Yes, using a Developer Command Prompt
Detailed repro steps so we can see the same problem
- Start a PowerShell console
- Start with a fresh copy of the NuGet.Client repo (
git clean -xdf) - Execute
.\configure.ps1 - Execute
.\build.ps1
Expected behavior
- No error messages in configure.ps1 output
- Execution of core unit tests
Actual behavior
- Error messages in configure.ps1 output
- Fail on running core unit test.
Logs
Logs for commands
At the end of the build.ps1 command:
C:\repos\NuGet.Client\cli\sdk\2.2.300-preview-010042\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file 'C:\repos\NuGet.Client\artifacts\Test.Utility\15.0\obj\project.assets.json' not found. Run a NuGet package restore to gener
ate this file. [C:\repos\NuGet.Client\test\TestUtilities\Test.Utility\Test.Utility.csproj]
C:\repos\NuGet.Client\cli\sdk\2.2.300-preview-010042\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file 'C:\repos\NuGet.Client\artifacts\NuGet.CommandLine.XPlat\15.0\obj\project.assets.json' not found. Run a NuGet package resto
re to generate this file. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.CommandLine.XPlat\NuGet.CommandLine.XPlat.csproj]
C:\repos\NuGet.Client\cli\sdk\2.2.300-preview-010042\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file 'C:\repos\NuGet.Client\artifacts\NuGet.CommandLine.XPlat\15.0\obj\project.assets.json' not found. Run a NuGet package resto
re to generate this file. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.CommandLine.XPlat\NuGet.CommandLine.XPlat.csproj]
C:\repos\NuGet.Client\cli\sdk\2.2.300-preview-010042\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file 'C:\repos\NuGet.Client\artifacts\NuGet.Indexing\15.0\obj\project.assets.json' not found. Run a NuGet package restore to gen
erate this file. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Indexing\NuGet.Indexing.csproj]
C:\repos\NuGet.Client\cli\sdk\2.2.300-preview-010042\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file 'C:\repos\NuGet.Client\artifacts\NuGet.Resolver\15.0\obj\project.assets.json' not found. Run a NuGet package restore to gen
erate this file. [C:\repos\NuGet.Client\src\NuGet.Core\NuGet.Resolver\NuGet.Resolver.csproj]
NuGet.Shared.Tests -> C:\repos\NuGet.Client\test\NuGet.Core.Tests\NuGet.Shared.Tests\bin\Debug\net472\win7-x64\NuGet.Shared.Tests.dll
NuGet.Shared.Tests -> C:\repos\NuGet.Client\test\NuGet.Core.Tests\NuGet.Shared.Tests\bin\Debug\netcoreapp2.1\win7-x64\NuGet.Shared.Tests.dll
Discovering test assemblies for NuGet.Shared.Tests
Invoke-BuildStep : Failed - Running Build, Pack, Core unit tests, and Unit tests for VS 15.0
At C:\repos\NuGet.Client\build.ps1:111 char:1
+ Invoke-BuildStep $VS15Message {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-BuildStep
Error-Log : [11:38:19 +327] [FAILED +00:05:27] Running Build, Pack, Core unit tests, and Unit tests for VS 15.0
At C:\repos\NuGet.Client\build\common.ps1:142 char:17
+ ... Error-Log "[FAILED +$(Format-ElapsedTime $sw.Elapsed)] $B ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Error-Log
Metadata
Metadata
Assignees
Labels
Type:Engineeringproduct/infrastructure work/not a customer bug/feature/DCR
Activity