-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor shims and use P2Ps in netstandard.csproj
Simplify the shims msbuild files now that ApiCompat.proj isn't part of the shims directory. Change netstandard.csproj from a generated project to a "normal" one and make it reference its dependencies via ProjectReferences.
- Loading branch information
1 parent
9cc9d35
commit c53d44f
Showing
48 changed files
with
549 additions
and
514 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<!-- NoTargets SDK needs a TFM set. Use the latest .NETCoreApp TFM that is supported by the SDK. | ||
Only set a default if the project isn't multi-targeting. --> | ||
<TargetFramework Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">$(NetCoreAppToolCurrent)</TargetFramework> | ||
<!-- NoTargets SDK needs a TFM set. Set a default if the project doesn't multi target. --> | ||
<TargetFramework Condition="'$(TargetFramework)' == '' and '$(TargetFrameworks)' == ''">$(NetCoreAppCurrent)</TargetFramework> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<Project> | ||
|
||
<PropertyGroup> | ||
<!-- Build for NetCoreAppCurrent by default if no BuildTargetFramework is supplied or if not all configurations are built. --> | ||
<TraversalGlobalProperties Condition="'$(BuildAllConfigurations)' != 'true'">BuildTargetFramework=$([MSBuild]::ValueOrDefault('$(BuildTargetFramework)', '$(NetCoreAppCurrent)'))</TraversalGlobalProperties> | ||
<!-- For consistency default to NetCoreAppCurrent instead of net45, which is the default. --> | ||
<TargetFramework>$(NetCoreAppCurrent)</TargetFramework> | ||
</PropertyGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<Project> | ||
|
||
<!-- Uses the Microsoft.DotNet.Build.Tasks.TargetFramework package to filter out target frameworks from ProjectReferences. --> | ||
<PropertyGroup Condition="'$(FilterTraversalProjectReferences)' == 'true'"> | ||
<BuildDependsOn>$(BuildDependsOn);ResolveP2PReferences</BuildDependsOn> | ||
<CleanDependsOn>$(CleanDependsOn);ResolveP2PReferences</CleanDependsOn> | ||
<RebuildDependsOn>$(RebuildDependsOn);ResolveP2PReferences</RebuildDependsOn> | ||
<TestDependsOn>$(TestDependsOn);ResolveP2PReferences</TestDependsOn> | ||
<VSTestDependsOn>$(VSTestDependsOn);ResolveP2PReferences</VSTestDependsOn> | ||
<PackDependsOn>$(PackDependsOn);ResolveP2PReferences</PackDependsOn> | ||
<PublishDependsOn>$(PublishDependsOn);ResolveP2PReferences</PublishDependsOn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup Condition="'$(FilterTraversalProjectReferences)' == 'true'"> | ||
<ProjectReference Update="@(ProjectReference)" SkipGetTargetFrameworkProperties="false" /> | ||
</ItemGroup> | ||
|
||
<!-- | ||
Traversal projects do not build an assembly so dependent projects shouldn't get a path to the target. Override the GetTargetPath to do nothing. | ||
--> | ||
<Target Name="GetTargetPath" /> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.