尝试在发布模式下构建/发布blazer应用程序(客户端版本)时遇到错误。该应用程序运行良好,并以调试模式发布。
Unhandled exception. Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'ExistingLibraryBuiltIn.NetFramework4.7.1, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' C:\...\.nuget\packages\microsoft.aspnetcore.components.webassembly.build\3.2.0-rc1.20223.4\targets\Blazor.MonoRuntime.targets 284
ILLink failed with exit code -532462766.
项目详细信息-
VS版本-16.7.0预览版2.0,
目标框架-.Net Standard 2.1