首页 > 其他分享 >Net RunTIme Microsoft.Extensions.DependencyInjection 调试报错修复

Net RunTIme Microsoft.Extensions.DependencyInjection 调试报错修复

时间:2022-09-20 20:26:31浏览次数:83  
标签:Extensions DependencyInjection 报错 Net RunTIme Microsoft

 

 

 重新生成时直接报错,报错项目可直接找到,运行没问题。
D:\SourceCode\Net\Runtime2\src\libraries\Common\tests\TestUtilities\TestUtilities.csproj //注释代码 <ItemGroup Condition="'$(TargetFramework)' == '$(NetCoreAppCurrent)'"> <ProjectReference Include="$(LibrariesProjectRoot)Microsoft.Win32.Registry\ref\Microsoft.Win32.Registry.csproj" PrivateAssets="all" /> <ProjectReference Include="$(LibrariesProjectRoot)System.Security.Principal.Windows\ref\System.Security.Principal.Windows.csproj" PrivateAssets="all" /> </ItemGroup> 注释如下图所示

  

 

标签:Extensions,DependencyInjection,报错,Net,RunTIme,Microsoft
From: https://www.cnblogs.com/liujian1368928/p/16712334.html

相关文章