diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2021-06-11 01:32:53 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 01:32:53 +0300 |
commit | bbf96599d501732c2ba8b2b14e93efa0e9643442 (patch) | |
tree | 47573a08984eea4cbae7af3531dae5e82eb48682 /eng/references.targets | |
parent | 207bb77acbbb9d21c1c3e4a106899debee1aaccb (diff) |
Don't reference the netstandard shim inside the shared framework (#53023)
* Don't reference ns.dll inside shared framework
The netstandard.dll shim shouldn't be referenced inside the shared
framework as it's a compat shim that shouldn't be required to compose
the shared framework.
This removes the necessity of a separate RefPath build and improves
incremental build times as only the few OOB projects that require the
shim would need to rebuild.
* Reference netstandard shim in OOBs that require it
There are a few OOB projects that require the netstandard.dll shim as
they intentionally reference projects that only expose a netstandard
configuration.
Co-authored-by: Buyaa Namnan <buyankhishig.namnan@microsoft.com>
Diffstat (limited to 'eng/references.targets')
-rw-r--r-- | eng/references.targets | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/eng/references.targets b/eng/references.targets index 42763624c5e..6adcba93322 100644 --- a/eng/references.targets +++ b/eng/references.targets @@ -7,13 +7,6 @@ <_FindDependencies>false</_FindDependencies> </PropertyGroup> - <!-- netstandard is a default reference whenever building an implementation assembly for .NETCoreApp. --> - <ItemGroup Condition="'$(TargetFrameworkIdentifier)' == '.NETCoreApp' and - '$(IsSourceProject)' == 'true'"> - <Reference Include="netstandard" - Private="false" /> - </ItemGroup> - <!-- If a CoreLib ProjectReference is present, make all P2P assets non transitive. --> <ItemGroup Condition="'@(ProjectReference)' != '' and @(ProjectReference->AnyHaveMetadataValue('Identity', '$(CoreLibProject)'))"> |