Skip to content

Commit

Permalink
Merge pull request #21 from sharwell/netcoreapp
Browse files Browse the repository at this point in the history
Support netcoreapp targets
  • Loading branch information
sharwell committed Sep 6, 2019
2 parents 74edcaa + d9f11f9 commit 96e590e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ResolveAssemblyReferencesDependsOn>
$(ResolveAssemblyReferencesDependsOn);
AnnotateReferenceAssemblies;
UpdateNetStandardAssemblies
UpdateNetStandardAssemblies
</ResolveAssemblyReferencesDependsOn>
</PropertyGroup>

Expand Down Expand Up @@ -74,7 +74,7 @@
</Target>

<Target Name="RestoreTargetFrameworkDirectory"
Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'"
Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard' OR '$(TargetFrameworkIdentifier)' == '.NETCoreApp'"
BeforeTargets="ResolveAvailableReferenceAssemblies">
<ItemGroup Condition="'$(NETStandardLibraryPackageVersion)' == ''">
<!-- .NET Standard 1.x -->
Expand Down Expand Up @@ -219,7 +219,7 @@
</Target>

<Target Name="UpdateNetStandardAssemblies"
Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'"
Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard' OR '$(TargetFrameworkIdentifier)' == '.NETCoreApp'"
DependsOnTargets="AnnotateReferenceAssemblies">
<ItemGroup>
<Reference Remove="%(UnannotatedReferenceAssembly.OriginalReference)"
Expand Down

0 comments on commit 96e590e

Please sign in to comment.