-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
Description
If you add the following to your project:
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="2.9.0" />... then the linker fails with the following error:
1>Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'C:\Users\username\.nuget\packages\microsof.codeanalysis.workspaces.common\2.9.0\lib\netstandard1.3\es\Microsoft.CodeAnalysis.Workspaces.resources.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' ---> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'C:\Users\username\.nuget\packages\microsof.codeanalysis.workspaces.common\2.9.0\lib\netstandard1.3\es\Microsoft.CodeAnalysis.Workspaces.resources.dll, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
1> at Mono.Linker.DirectoryAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
1> at Mono.Linker.AssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters)
1> at Mono.Linker.LinkContext.Resolve(IMetadataScope scope)
1> at Mono.Linker.LinkContext.Resolve(IMetadataScope scope)
1> at Mono.Linker.LinkContext.Resolve(String name)
1> at Mono.Linker.Steps.ResolveFromAssemblyStep.Process()
1> at Mono.Linker.Steps.BaseStep.Process(LinkContext context)
1> at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
1> at Mono.Linker.Pipeline.Process(LinkContext context)
1> at Mono.Linker.Driver.Run(ILogger customLogger)
1> at Mono.Linker.Driver.Execute(String[] args, ILogger customLogger)
It looks like it incorrectly thinks the embedded resources are a reference to an external assembly, but they aren't.