-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support for TargetsForTfmSpecificBuildOutput
- Loading branch information
1 parent
8b936ab
commit 858c0aa
Showing
1 changed file
with
17 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,30 @@ | |
|
||
<Platforms>AnyCPU;x64;x86</Platforms> | ||
<Authors>EasyMicroservices</Authors> | ||
<Version>0.0.0.1</Version> | ||
<Version>0.0.0.2</Version> | ||
<Description>Identity Microservice Tests</Description> | ||
<Copyright>[email protected]</Copyright> | ||
<PackageTags>test,identity,login,register,services,asp,aspnet,auth,authentication,authentications</PackageTags> | ||
<PackageProjectUrl>https://github.com/EasyMicroservices/Identity-Microservice</PackageProjectUrl> | ||
<LangVersion>latest</LangVersion> | ||
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput> | ||
</PropertyGroup> | ||
|
||
<Target Name="CopyProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences"> | ||
<ItemGroup> | ||
<!-- Filter out unnecessary files --> | ||
<_ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))"/> | ||
</ItemGroup> | ||
|
||
<!-- Print batches for debug purposes --> | ||
<Message Text="Batch for .nupkg: ReferenceCopyLocalPaths = @(_ReferenceCopyLocalPaths), ReferenceCopyLocalPaths.DestinationSubDirectory = %(_ReferenceCopyLocalPaths.DestinationSubDirectory) Filename = %(_ReferenceCopyLocalPaths.Filename) Extension = %(_ReferenceCopyLocalPaths.Extension)" Importance="High" Condition="'@(_ReferenceCopyLocalPaths)' != ''" /> | ||
|
||
<ItemGroup> | ||
<!-- Add file to package with consideration of sub folder. If empty, the root folder is chosen. --> | ||
<BuildOutputInPackage Include="@(_ReferenceCopyLocalPaths)" TargetPath="%(_ReferenceCopyLocalPaths.DestinationSubDirectory)"/> | ||
</ItemGroup> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="EasyMicroservices.IdentityMicroservice.Clients" Version="0.0.0.6" /> | ||
<PackageReference Include="EasyMicroservices.Laboratory" Version="0.0.0.16" /> | ||
|