-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Extensions-Configurationdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.
Milestone
Description
Extensions test failure: Microsoft.Extensions.Configuration.UserSecrets.MsBuildTargetTest.GeneratesAssemblyAttributeFile
Could not execute because the application was not found or a compatible .NET Core SDK is not installed.
Possible reasons for this include:
* You intended to execute a .NET Core program:
The application 'restore' does not exist.
* You intended to execute a .NET Core SDK command:
A compatible installed .NET Core SDK for global.json version [3.1.101] from [C:\CodeHub\runtime\global.json] was not found.
Install the [3.1.101] .NET Core SDK or update [C:\CodeHub\runtime\global.json] with an installed .NET Core SDK:
It was not possible to find any installed .NET Core SDKs.
Install a .NET Core SDK from:
https://aka.ms/dotnet-download
Microsoft.Extensions.Configuration.UserSecrets.MsBuildTargetTest.GeneratesAssemblyAttributeFile(projectExt: ".csproj", sourceExt: ".cs") [FAIL]
Assert.Equal() Failure
Expected: 0
Actual: -2147450735
Stack Trace:
C:\CodeHub\runtime\src\libraries\Microsoft.Extensions.Configuration.UserSecrets\tests\MsBuildTargetTest.cs(185,0): at Microsoft.Extensions.Configuration.UserSecrets.MsBuildTargetTest.AssertDotNet(String args)
C:\CodeHub\runtime\src\libraries\Microsoft.Extensions.Configuration.UserSecrets\tests\MsBuildTargetTest.cs(142,0): at Microsoft.Extensions.Configuration.UserSecrets.MsBuildTargetTest.GeneratesAssemblyAttributeFile(String projectExt, String sourceExt)
Output:
Tempdir = C:\CodeHub\runtime\artifacts\bin\Microsoft.Extensions.Configuration.UserSecrets.Tests\netcoreapp5.0-Debug\h4jyyrq2.zis
Disabled this issue on runtime repo. Filing an issue to get coverage later.
#33984 (comment)
- Confirm if this is a product or a test bug and re-enable.
Metadata
Metadata
Assignees
Labels
area-Extensions-Configurationdisabled-testThe test is disabled in source code against the issueThe test is disabled in source code against the issueneeds-author-actionAn issue or pull request that requires more info or actions from the author.An issue or pull request that requires more info or actions from the author.