|
696 | 696 | <Content Include="$(NuGetPackageRoot)microsoft.net.compilers.toolset\$(MicrosoftNetCompilersToolsetVersion)\tasks\net472\**\*" CopyToOutputDirectory="PreserveNewest" LinkBase="Roslyn" />
|
697 | 697 | </ItemGroup>
|
698 | 698 |
|
699 |
| - <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'"> |
700 |
| - <PackageReference Include="Microsoft.Win32.Registry" /> |
701 |
| - <PackageReference Include="System.Reflection.Metadata" /> |
702 |
| - <PackageReference Include="System.Threading.Channels" /> |
703 |
| - </ItemGroup> |
704 |
| - |
705 | 699 | <ItemGroup Condition="'$(TargetFrameworkIdentifier)' != '.NETFramework'">
|
706 | 700 | <PackageReference Include="System.CodeDom" />
|
707 | 701 | <PackageReference Include="System.Security.Cryptography.Pkcs" />
|
|
710 | 704 | <Content Include="$(NuGetPackageRoot)microsoft.net.compilers.toolset\$(MicrosoftNetCompilersToolsetVersion)\tasks\netcore\**\*" CopyToOutputDirectory="PreserveNewest" LinkBase="Roslyn" />
|
711 | 705 | </ItemGroup>
|
712 | 706 |
|
| 707 | + <!-- When targeting NS2.0, make private all references not exposed in the public API. --> |
| 708 | + <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'"> |
| 709 | + <ProjectReference Update="..\StringTools\StringTools.csproj" PrivateAssets="all" /> |
| 710 | + <PackageReference Update="System.CodeDom" PrivateAssets="all" /> |
| 711 | + <PackageReference Update="System.Collections.Immutable" PrivateAssets="all" /> |
| 712 | + <PackageReference Update="System.Resources.Extensions" PrivateAssets="all" /> |
| 713 | + <PackageReference Update="System.Security.Cryptography.Pkcs" PrivateAssets="all" /> |
| 714 | + <PackageReference Update="System.Security.Cryptography.Xml" PrivateAssets="all" /> |
| 715 | + <PackageReference Update="System.Threading.Tasks.Dataflow" PrivateAssets="all" /> |
| 716 | + <PackageReference Include="Microsoft.Win32.Registry" PrivateAssets="all" /> |
| 717 | + <PackageReference Include="System.Reflection.Metadata" PrivateAssets="all" /> |
| 718 | + <PackageReference Include="System.Threading.Channels" PrivateAssets="all" /> |
| 719 | + </ItemGroup> |
| 720 | + |
713 | 721 | <ItemGroup>
|
714 | 722 | <!--
|
715 | 723 | Content items in this project are used to copy files to the output directory but we don't
|
|
0 commit comments