-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
dotnet/installer
#16187Labels
area-testingImprovements in CI and testingImprovements in CI and testing
Description
/vmr/.dotnet/sdk/8.0.100-preview.4.23219.1/Sdks/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets(26,5): error MSB4018: The "Microsoft.Build.Tasks.Git.LocateRepository" task failed unexpectedly.
System.InvalidCastException: [A]System.Runtime.CompilerServices.StrongBox`1[Microsoft.Build.Tasks.Git.GitRepository] cannot be cast to [B]System.Runtime.CompilerServices.StrongBox`1[Microsoft.Build.Tasks.Git.GitRepository]. Type A originates from 'System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location '/vmr/.dotnet/shared/Microsoft.NETCore.App/8.0.0-preview.4.23217.4/System.Private.CoreLib.dll'. Type B originates from 'System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e' in the context 'Default' at location '/vmr/.dotnet/shared/Microsoft.NETCore.App/8.0.0-preview.4.23217.4/System.Private.CoreLib.dll'.
at Microsoft.Build.Tasks.Git.RepositoryTask.TryGetCachedRepositoryInstance(String cacheKey, Boolean requireCached, GitRepository& repository)
at Microsoft.Build.Tasks.Git.RepositoryTask.GetOrCreateRepositoryInstance()
at Microsoft.Build.Tasks.Git.RepositoryTask.ExecuteImpl()
at Microsoft.Build.Tasks.Git.RepositoryTask.Execute()
at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
at Microsoft.Build.BackEnd.TaskBuilder.ExecuteInstantiatedTask(ITaskExecutionHost taskExecutionHost, TaskLoggingContext taskLoggingContext, TaskHost taskHost, ItemBucket bucket, TaskExecutionMode howToExecuteTask) [/vmr/src/source-build-reference-packages/artifacts/source-build/self/src/src/targetPacks/ILsrc/microsoft.netcore.app.ref/7.0.0/Microsoft.NETCore.App.Ref.7.0.0.csproj]
This occurs in the dependency project build of SBRP when attempting to build Microsoft.NETCore.App.Ref.7.0.0.
Build link (internal only)
Metadata
Metadata
Assignees
Labels
area-testingImprovements in CI and testingImprovements in CI and testing
Type
Projects
Status
Done