CommunityToolkit / dotnet

.NET Community Toolkit is a collection of helpers and APIs that work for all .NET developers and are agnostic of any specific UI platform. The toolkit is maintained and published by Microsoft, and part of the .NET Foundation.
https://docs.microsoft.com/dotnet/communitytoolkit/?WT.mc_id=dotnet-0000-bramin
Other
3.07k stars 299 forks source link

System.NotImplementedException in dotnet build #772

Open mstv opened 1 year ago

mstv commented 1 year ago

Describe the bug

My project solution (GitExtensions.sln) can be built without issues in VS. But the dotnet build fails with an unhandled NotImplementedException:

PS D:\Build\gitextensions3_dev> dotnet build
MSBuild version 17.3.1+2badb37d1 for .NET
  Wiederherzustellende Projekte werden ermittelt...
  Alle Projekte sind für die Wiederherstellung auf dem neuesten Stand.
  SpellChecker -> D:\Build\gitextensions3_dev\Externals\NetSpell.SpellChecker\bin\Debug\net6.0-windows\SpellChecker.dll
  Git.hub -> D:\Build\gitextensions3_dev\Externals\Git.hub\Git.hub\bin\Debug\netstandard2.0\Git.hub.dll
  GitExtUtils -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtUtils\net6.0-windows\GitExtUtils.dll
  GitUIPluginInterfaces -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitUIPluginInterfaces\net6.0-windows\GitUIPluginInterfaces.dll
  GitCommands -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitCommands\net6.0-windows\GitCommands.dll
  ConEmuWinForms -> D:\Build\gitextensions3_dev\Externals\conemu-inside\ConEmuWinForms\bin\net6.0-windows\ConEmuWinForms.dll
  ResourceManager -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\ResourceManager\net6.0-windows\ResourceManager.dll
  GitExtensions.Plugins.JenkinsIntegration -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\JenkinsIntegration\GitExtensions.Plugins.JenkinsIntegration.dll
  GitExtensions.Plugins.GitlabIntegration -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\GitlabIntegration\GitExtensions.Plugins.GitlabIntegration.dll
  GitExtensions.Plugins.AppVeyorIntegration -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\AppVeyorIntegration\GitExtensions.Plugins.AppVeyorIntegration.dll
  GitExtensions.Plugins.ProxySwitcher -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\ProxySwitcher\GitExtensions.Plugins.ProxySwitcher.dll
  GitExtensions.Plugins.GitFlow -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\GitFlow\GitExtensions.Plugins.GitFlow.dll
  GitExtensions.Plugins.ReleaseNotesGenerator -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\ReleaseNotesGenerator\GitExtensions.Plugins.ReleaseNotesGenerator.dll
  GitExtensions.Plugins.GitImpact -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\GitImpact\GitExtensions.Plugins.GitImpact.dll
  GitExtensions.Plugins.AutoCompileSubmodules -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\AutoCompileSubmodules\GitExtensions.Plugins.AutoCompileSubmodules.dll
  GitExtensions.Plugins.GitHub3 -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\GitHub3\GitExtensions.Plugins.GitHub3.dll
  GitExtensions.Plugins.AzureDevOpsIntegration -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\AzureDevOpsIntegration\GitExtensions.Plugins.AzureDevOpsIntegration.dll
  GitExtensions.Plugins.BackgroundFetch -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\BackgroundFetch\GitExtensions.Plugins.BackgroundFetch.dll
  GitExtensions.Plugins.JiraCommitHintPlugin -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\JiraCommitHintPlugin\GitExtensions.Plugins.JiraCommitHintPlugin.dll
  GitExtensions.Plugins.CreateLocalBranches -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\CreateLocalBranches\GitExtensions.Plugins.CreateLocalBranches.dll
  GitExtensions.Plugins.TeamCityIntegration -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\TeamCityIntegration\GitExtensions.Plugins.TeamCityIntegration.dll
  GitExtensions.Plugins.Bitbucket -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions\net6.0-windows\Plugins\Bitbucket\GitExtensions.Plugins.Bitbucket.dll
  BugReporter -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\BugReporter\net6.0-windows\BugReporter.dll
  GitExtensions.Analyzers.CSharp -> D:\Build\gitextensions3_dev\artifacts\Debug\bin\GitExtensions.Analyzers.CSharp\netstandard2.0\GitExtensions.Analyzers.CSharp.dll
  ICSharpCode.TextEditor -> D:\Build\gitextensions3_dev\Externals\ICSharpCode.TextEditor\Project\bin\Release\net6.0-windows\ICSharpCode.TextEditor.dll
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error : Unhandled exception. System.NotImplementedException: The method or operation is not implemented. [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.LoggingMetadataFileReferenceResolver.GetHashCode() [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.ExistingReferencesResolver.GetHashCode() [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Roslyn.Utilities.Hash.Combine[T](T newKeyPart, Int32 currentKey) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CompilationOptions.GetHashCodeHelper() [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CSharpCompilationOptions.GetHashCode() [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at System.Collections.Generic.HashSet`1.AddIfNotPresent(T value, Int32& location) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at System.Collections.Generic.HashSet`1.Add(T item) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.InputNode`1.UpdateStateTable(Builder graphState, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
[D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CombineNode`2.UpdateStateTable(Builder graphState, NodeStateTable`1 previousTable, CancellationToken cancellationToken
) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CombineNode`2.UpdateStateTable(Builder graphState, NodeStateTable`1 previousTable, CancellationToken cancellationToken
) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.BatchNode`1.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken) [D:
\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CombineNode`2.UpdateStateTable(Builder graphState, NodeStateTable`1 previousTable, CancellationToken cancellationToken
) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken)
 [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.SourceOutputNode`1.UpdateStateTable(Builder graphState, NodeStateTable`1 previousTable, CancellationToken cancellation
Token) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [D:\Build\gitextensions3_de
v\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) [D:\Build\g
itextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.GeneratorDriver.UpdateOutputs(ImmutableArray`1 outputNodes, IncrementalGeneratorOutputKind outputKind, Builder generat
orRunStateBuilder, CancellationToken cancellationToken, Builder driverStateBuilder) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.GeneratorDriver.RunGeneratorsCore(Compilation compilation, DiagnosticBag diagnosticsBag, CancellationToken cancellatio
nToken) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.GeneratorDriver.RunGeneratorsAndUpdateCompilation(Compilation compilation, Compilation& outputCompilation, ImmutableAr
ray`1& diagnostics, CancellationToken cancellationToken) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.RunGenerators(Compilation input, ParseOptions parseOptions, ImmutableArray`1 generators, AnalyzerConfig
OptionsProvider analyzerConfigOptionsProvider, ImmutableArray`1 additionalTexts, DiagnosticBag generatorDiagnostics) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyze
rs, ImmutableArray`1 generators, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, CancellationToken
cancellationToken, CancellationTokenSource& analyzerCts, Boolean& reportAnalyzer, AnalyzerDriver& analyzerDriver) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) [D:\Bui
ld\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) [D:\Build\gitextensions3_dev\GitUI\G
itUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.<Run>b__0(TextWriter tw) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.ConsoleUtil.RunWithUtf8Output[T](Func`2 func) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.ConsoleUtil.RunWithUtf8Output[T](Boolean utf8Output, TextWriter textWriter, Func`2 func) [D:\Build\gitexte
nsions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyz
erLoader) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter,
String pipeName) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc, CompileOnServe
rFunc compileOnServerFunc) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.MainCore(String[] args) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]
C:\Program Files\dotnet\sdk\6.0.401\Roslyn\Microsoft.CSharp.Core.targets(75,5): error :    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) [D:\Build\gitextensions3_dev\GitUI\GitUI.csproj]

The same or a very similar issue was reported on SO: https://stackoverflow.com/questions/75175399/net-maui-communitytoolkit-mvvm-nuget-throws-unhandled-exception There I found the hint that dotnet build succeeds with the CommunityToolkit.Mvvm version 8.0.0.

Regression

8.0.0

Steps to reproduce

1. clone branch https://github.com/mstv/gitextensions/tree/repro/mvvm_vs_dotnet_build
2. run `dotnet build`

https://github.com/gitextensions/gitextensions/wiki/How-To%3A-build-instructions

Expected behavior

build succeeds (as in MS VS)

Screenshots

No response

IDE and version

VS 2022

IDE version

17.7.4

Nuget packages

Nuget package version(s)

8.1.0, 8.2.0, 8.2.1

Additional context

No response

Help us help you

No, just wanted to report this