Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-Bootstrap Source Build to .NET 10.0.100-alpha.1.24612.1 #45435

Merged
merged 27 commits into from
Dec 20, 2024

Conversation

dotnet-sb-bot
Copy link
Contributor

Re-Bootstrap Source Build to .NET 10.0.100-alpha.1.24612.1

@dotnet-sb-bot dotnet-sb-bot requested review from a team as code owners December 12, 2024 15:12
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Infrastructure untriaged Request triage from a team member labels Dec 12, 2024
@mthalman mthalman enabled auto-merge (squash) December 12, 2024 15:57
@mthalman
Copy link
Member

mthalman commented Dec 12, 2024

Source build errors:

symreader repo:

Errors
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5): Unhandled exception. System.TypeInitializationException: The type initializer for 'Microsoft.Interop.ComInterfaceGeneratorHelpers' threw an exception. [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):  ---> System.ArgumentNullException: Value cannot be null. (Parameter 'format') [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.ArgumentNullException.Throw(String paramName) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.String.FormatHelper(IFormatProvider provider, String format, ReadOnlySpan`1 args) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.NoMarshallingInfoErrorResolver.DefaultTypeToErrorMessageMap(String stringMarshallingAttribute) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.DefaultMarshallingGeneratorResolver.Create(EnvironmentFlags env, MarshalDirection direction, String stringMarshallingAttribute, IEnumerable`1 additionalResolvers) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.ComInterfaceGeneratorHelpers..cctor() [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    --- End of inner exception stack trace --- [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.ComInterfaceGeneratorHelpers.GetGeneratorResolver(EnvironmentFlags env, MarshalDirection direction) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.VirtualMethodPointerStubGenerator.GenerateManagedToNativeStub(IncrementalMethodStubGenerationContext methodStub, Func`3 generatorResolverCreator) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.ComMethodContext.CreateManagedToUnmanagedStub() [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.Interop.ComInterfaceGenerator.<>c.<Initialize>b__1_25(ComMethodContext m) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext() [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.Linq.Enumerable.UnionIterator`1.FillSet() [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.Linq.Enumerable.UnionIterator`1.ToArray() [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.TransformNode`2.UpdateStateTable(Builder builder, NodeStateTable`1 previousTable, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.SourceOutputNode`1.UpdateStateTable(Builder graphState, NodeStateTable`1 previousTable, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.DriverStateTable.Builder.GetLatestStateTableForNode[T](IIncrementalGeneratorNode`1 source) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.SourceOutputNode`1.AppendOutputs(IncrementalExecutionContext context, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.GeneratorDriver.UpdateOutputs(ImmutableArray`1 outputNodes, IncrementalGeneratorOutputKind outputKind, Builder generatorRunStateBuilder, CancellationToken cancellationToken, Builder driverStateBuilder) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.GeneratorDriver.RunGeneratorsCore(Compilation compilation, DiagnosticBag diagnosticsBag, Func`2 generatorFilter, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.GeneratorDriver.RunGeneratorsAndUpdateCompilation(Compilation compilation, Compilation& outputCompilation, ImmutableArray`1& diagnostics, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CommonCompiler.RunGenerators(Compilation input, String generatedFilesBaseDirectory, ParseOptions parseOptions, ImmutableArray`1 generators, AnalyzerConfigOptionsProvider analyzerConfigOptionsProvider, ImmutableArray`1 additionalTexts, DiagnosticBag generatorDiagnostics) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CommonCompiler.CompileAndEmit(TouchedFileLogger touchedFilesLogger, Compilation& compilation, ImmutableArray`1 analyzers, ImmutableArray`1 generators, ImmutableArray`1 additionalTextFiles, AnalyzerConfigSet analyzerConfigSet, ImmutableArray`1 sourceFileAnalyzerConfigOptions, ImmutableArray`1 embeddedTexts, DiagnosticBag diagnostics, ErrorLogger errorLogger, CancellationToken cancellationToken, CancellationTokenSource& analyzerCts, AnalyzerDriver& analyzerDriver, Nullable`1& generatorTimingInfo) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CommonCompiler.RunCore(TextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CommonCompiler.Run(TextWriter consoleOutput, CancellationToken cancellationToken) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.<>c__DisplayClass1_0.<Run>b__0(TextWriter tw) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CSharp.CommandLine.Csc.Run(String[] args, BuildPaths buildPaths, TextWriter textWriter, IAnalyzerAssemblyLoader analyzerLoader) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CommandLine.BuildClient.RunCompilation(IEnumerable`1 originalArguments, BuildPaths buildPaths, TextWriter textWriter, String pipeName) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CommandLine.BuildClient.Run(IEnumerable`1 arguments, RequestLanguage language, CompileFunc compileFunc, CompileOnServerFunc compileOnServerFunc, ICompilerServerLogger logger) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.MainCore(String[] args) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]
    /__w/1/vmr/.dotnet/sdk/10.0.100-alpha.1.24611.6/Roslyn/Microsoft.CSharp.Core.targets(89,5):    at Microsoft.CodeAnalysis.CSharp.CommandLine.Program.Main(String[] args) [/__w/1/vmr/src/symreader/src/Microsoft.DiaSymReader/Microsoft.DiaSymReader.csproj]

xdt repo (source-build-externals and sourcelink have similar errors):

    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.AddGeneratedComClassAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.ComInterfaceGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.ComInterfaceGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.ComHostingDoesNotSupportGeneratedComInterfaceAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.ComInterfaceGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.ComInterfaceGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.ConvertComImportToGeneratedComInterfaceAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.ComInterfaceGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.ComInterfaceGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.GeneratedComInterfaceAttributeAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.ComInterfaceGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.ComInterfaceGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.RuntimeComApiUsageWithSourceGeneratedComAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.ComInterfaceGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.ComInterfaceGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.ConvertToLibraryImportAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.LibraryImportGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.LibraryImportGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.CustomMarshallerAttributeAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.LibraryImportGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.LibraryImportGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'Microsoft.Interop.Analyzers.NativeMarshallingAttributeAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.Microsoft.Interop.LibraryImportGenerator.SR.resources" among the resources "" embedded in the assembly "Microsoft.Interop.LibraryImportGenerator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]
    CSC : error AD0001: Analyzer 'System.Text.RegularExpressions.Generator.UpgradeToGeneratedRegexAnalyzer' threw an exception of type 'System.Resources.MissingManifestResourceException' with message 'Could not find the resource "FxResources.System.Text.RegularExpressions.Generator.SR.resources" among the resources "" embedded in the assembly "System.Text.RegularExpressions.Generator", nor among the resources in any satellite assemblies for the specified culture. Perhaps the resources were embedded with an incorrect name.'. [/__w/1/vmr/src/xdt/src/Microsoft.Web.XmlTransform/Microsoft.Web.XmlTransform.csproj::TargetFramework=net9.0]

@mthalman
Copy link
Member

mthalman commented Dec 12, 2024

Unified build errors:

*_Dev_x64:

    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Internal.Assets with version (>= 10.0.0-ci) [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 58 version(s) in net-sdk-supporting-feed [ Nearest version: 10.0.0-alpha.2.24612.3 ] [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in richnav [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet-eng [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet-public [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet-tools [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet10-transport [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet8-transport [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet8 [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet9-transport [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet9 [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-command-line-api were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-efcore were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-emsdk were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-runtime were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-arcade were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-cecil were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-emsdk were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-runtime were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-xdt were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]

Windows_x64:

    D:\a\_work\1\vmr\src\aspnetcore\src\Servers\Connections.Abstractions\src\Features\ITlsHandshakeFeature.cs(48,5): error SYSLIB0058: 'HashAlgorithmType' is obsolete: 'KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.' (https://aka.ms/dotnet-warnings/SYSLIB0058) [D:\a\_work\1\vmr\src\aspnetcore\src\Servers\Connections.Abstractions\src\Microsoft.AspNetCore.Connections.Abstractions.csproj::TargetFramework=net10.0]
    D:\a\_work\1\vmr\src\aspnetcore\src\Servers\Connections.Abstractions\src\Features\ITlsHandshakeFeature.cs(58,5): error SYSLIB0058: 'ExchangeAlgorithmType' is obsolete: 'KeyExchangeAlgorithm, KeyExchangeStrength, CipherAlgorithm, CipherAlgorithmStrength, HashAlgorithm and HashStrength properties of SslStream are obsolete. Use NegotiatedCipherSuite instead.' (https://aka.ms/dotnet-warnings/SYSLIB0058) [D:\a\_work\1\vmr\src\aspnetcore\src\Servers\Connections.Abstractions\src\Microsoft.AspNetCore.Connections.Abstractions.csproj::TargetFramework=net10.0]

Related to dotnet/runtime#105875. This may be fixed by dotnet/aspnetcore#59389. They're still being referenced but marked as obsolete there as well.

@mthalman
Copy link
Member

@jaredpar - Do the errors described in #45435 (comment) seem relevant to Roslyn?

@mthalman
Copy link
Member

The ArgumentNullException that's happening in the interop stuff is triggered by this call: https://github.com/dotnet/runtime/blob/f0e64f5f0166da5a66c931ad0b2210b3e3cf51a3/src/libraries/System.Runtime.InteropServices/gen/Microsoft.Interop.SourceGeneration/Marshalling/NoMarshallingInfoErrorResolver.cs#L43C60-L43C106

Which indicates that the resource string is null. That matches up with the MissingManifestResourceException throws that are happening elsewhere. But these all seem to be coming from source generator assemblies. So it seems that something is messed up with the resource metadata in source generator assemblies.

/cc @jaredpar

@jaredpar
Copy link
Member

@mthalman can you reproduec this locally? If so can you grab a compiler log and send it to me?

https://github.com/jaredpar/complog?tab=readme-ov-file#creating-compiler-logs

@mthalman
Copy link
Member

@mthalman can you reproduec this locally? If so can you grab a compiler log and send it to me?

https://github.com/jaredpar/complog?tab=readme-ov-file#creating-compiler-logs

@jaredpar - Here's the log for the xdt repo that's failing:
xdt.zip

@mthalman
Copy link
Member

Unified build errors:

*_Dev_x64:

    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Internal.Assets with version (>= 10.0.0-ci) [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 58 version(s) in net-sdk-supporting-feed [ Nearest version: 10.0.0-alpha.2.24612.3 ] [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in richnav [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet-eng [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet-public [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet-tools [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet10-transport [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet8-transport [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet8 [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet9-transport [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Found 0 version(s) in dotnet9 [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-command-line-api were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-efcore were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-emsdk were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-runtime were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-arcade were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-cecil were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-emsdk were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-runtime were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]
    D:\a\_work\1\vmr\src\aspnetcore\src\Components\WebAssembly\WebAssembly.Authentication\src\Microsoft.AspNetCore.Components.WebAssembly.Authentication.csproj : error NU1102:   - Versions from source-built-transport-xdt were not considered [C:\Program Files\Microsoft Visual Studio\2022\Preview\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets]

Regarding this Microsoft.AspNetCore.App.Internal.Assets error, it is related to the change made in #44997. That causes projects like Microsoft.AspNetCore.Components.WebAssembly.Authentication, and others, to have a project file dependency on Microsoft.AspNetCore.App.Internal.Assets. In the DevVersion build legs, it wants the 10.0.0-ci version of that dependency to be restored which doesn't exist as it hasn't even been built yet. I'm not exactly sure what to do with this. @ViktorHofer - do you know?

@mthalman
Copy link
Member

mthalman commented Dec 16, 2024

For the MissingManifestResourceException issue, this is because it's loading a 9.0 version of Microsoft.Interop.ComInterfaceGenerator that comes from SBRP. @MichaelSimons - Should the analyzers be excluded from that? I don't see any analyzers for 8.0.

@jaredpar - This means you don't need to investigate further.

@ViktorHofer
Copy link
Member

Regarding this Microsoft.AspNetCore.App.Internal.Assets error, it is related to the change made in #44997. That causes projects like Microsoft.AspNetCore.Components.WebAssembly.Authentication, and others, to have a project file dependency on Microsoft.AspNetCore.App.Internal.Assets. In the DevVersion build legs, it wants the 10.0.0-ci version of that dependency to be restored which doesn't exist as it hasn't even been built yet.

cc @wtgodbe @MackinnonBuck

@wtgodbe
Copy link
Member

wtgodbe commented Dec 16, 2024

I think we'll need to reference the pack at the version that's in the SDK itself, not at the incoming (live-built) aspnetcore package version - @MackinnonBuck @javiercn do you agree? That'd mean we could have a mismatch between what's in the SDK and what would get generated by the repo build

@MackinnonBuck
Copy link
Member

I think we'll need to reference the pack at the version that's in the SDK itself, not at the incoming (live-built) aspnetcore package version

Would it be an option to do this conditionally? i.e., when in source build, use the version in the SDK. Otherwise, use the live-built version. It would be a big regression in dev iteration speed if we had to wait for every JS change to flow through to the SDK and back to aspnetcore.

@wtgodbe
Copy link
Member

wtgodbe commented Dec 16, 2024

Would it be an option to do this conditionally? i.e., when in source build, use the version in the SDK. Otherwise, use the live-built version. It would be a big regression in dev iteration speed if we had to wait for every JS change to flow through to the SDK and back to aspnetcore.

Yeah, I think we could condition it on DotNetBuild being true

@mthalman
Copy link
Member

@wtgodbe - Is this a change you plan to make? It's not clear to me where this change needs to go.

@wtgodbe
Copy link
Member

wtgodbe commented Dec 17, 2024

Is this a change you plan to make? It's not clear to me where this change needs to go.

It'll need to go in aspnetcore, I'll sync w/ Mackinnon offline & get back to you

Edit: Actually, I might be wrong, will post back here when I know more

Edit Edit: @MackinnonBuck put up a PR to unblock: dotnet/aspnetcore#59526

@mthalman
Copy link
Member

@wtgodbe - The unified build is passing now after syncing latest from main. So maybe nothing is needed now.

@ViktorHofer
Copy link
Member

@mthalman FYI looks like we are doing similar changes. See my PR: #45563

@@ -300,7 +300,7 @@

<!-- Get the previously-built-source-built package information from the manifest from that build. -->
<ItemGroup>
<_PrebuiltSourceBuiltAssetManifests Include="$(PrebuiltSourceBuiltPackagesPath)VerticalManifest.xml" />
<_PrebuiltSourceBuiltAssetManifests Include="$(PrebuiltSourceBuiltPackagesPath)*.xml" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is temporary right and was fixed in #45554? Assuming so, when will this get reverted and what is tracking that work?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be reverted upon the next rebootstrap. The artifacts we target now don't have the fixed output. I'll log an issue to follow up.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mthalman
Copy link
Member

So this error showed up in the Windows UB legs and I have no idea what's going on here:

artifacts\source-built-sdks\Microsoft.DotNet.Arcade.Sdk\tools\InstallDotNetCore.targets(16,5): error MSB4018: (NETCORE_ENGINEERING_TELEMETRY=Restore) The "InstallDotNetCore" task failed unexpectedly.
System.MissingMethodException: Method not found: 'System.Text.Json.JsonDocument System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory`1<Byte>, System.Text.Json.JsonDocumentOptions)'.
   at Microsoft.DotNet.Arcade.Sdk.InstallDotNetCore.Execute()
   at Microsoft.Build.Framework.ITask.Execute()
   at Microsoft.Build.BackEnd.TaskExecutionHost.Execute()
   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext()

@ViktorHofer - I wonder if this is fixed by #45563? It didn't start failing until I merged in 67c3a6c.

@ViktorHofer
Copy link
Member

The error hints towards a newer version of STJ being used than what's available inbox in the SDK. Just a guess.

@mthalman
Copy link
Member

mthalman commented Dec 19, 2024

The error hints towards a newer version of STJ being used than what's available inbox in the SDK. Just a guess.

The calling code and the Parse method haven't been updated in years. That's why I'm so confused.

@mthalman
Copy link
Member

@dotnet/product-construction - I need some help on the issue at #45435 (comment). Here's a link to a build with this failure: https://dev.azure.com/dnceng-public/public/_build/results?buildId=900153&view=results. This was originally working in this PR but started failing after merging in 67c3a6c.

I suspect a part of the reason for that is that it now references an Arcade SDK with this change: dotnet/arcade#15221. I looked at the difference between the Arcade versions being used between the previously passing run and the failing run and it's between these two commits:
dotnet/arcade@45d845e...4f2968f. That's not to say it's solely due to those changes; it could be due to other factors.

Another important bit of information I found is that this only seems to fail on repos (wpf, aspnetcore) that are using the netframework version of Arcade SDK, instead of the net version. In other words, MSBuildRuntimeType is set to full in those repos.

@ViktorHofer
Copy link
Member

ViktorHofer commented Dec 20, 2024

OK the problem is the System.Memory dependency. The MissingMethodException hints towards one of the types not being able to get unified. either the STJ type or the System.Memory type. In this case it's System.ReadOnlyMemory<T> from System.Memory:

  D:\a\_work\1\vmr\artifacts\source-built-sdks\Microsoft.DotNet.Arcade.Sdk\tools\InstallDotNetCore.targets(16,5): error MSB4018: The "InstallDotNetCore" task failed unexpectedly. [D:\a\_work\1\vmr\artifacts\source-built-sdks\Microsoft.DotNet.Arcade.Sdk\tools\Tools.proj]
  D:\a\_work\1\vmr\artifacts\source-built-sdks\Microsoft.DotNet.Arcade.Sdk\tools\InstallDotNetCore.targets(16,5): error MSB4018: System.MissingMethodException: Method not found: 'System.Text.Json.JsonDocument System.Text.Json.JsonDocument.Parse(System.ReadOnlyMemory`1<Byte>, System.Text.Json.JsonDocumentOptions)'. [D:\a\_work\1\vmr\artifacts\source-built-sdks\Microsoft.DotNet.Arcade.Sdk\tools\Tools.proj]

image

System.Memory's 4.6.0 version must not used when not building from source, and especially not when targeting .NET Framework. I think that the updated dotnet/arcade#15353 will fix this.

@mthalman mthalman merged commit c9c5e11 into main Dec 20, 2024
35 of 37 checks passed
@mthalman mthalman deleted the dec2024-source-build-1734016173 branch December 20, 2024 20:45
@mthalman
Copy link
Member

🎉🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Infrastructure untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants