重新生成时直接报错,报错项目可直接找到,运行没问题。
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