|
1 | 1 | <Project Sdk="Microsoft.NET.Sdk"> |
2 | 2 | <PropertyGroup> |
3 | | - <TargetFramework>net472</TargetFramework> |
4 | | - <OutputType>library</OutputType> |
5 | 3 | <PackageId>SharpHoundCommon</PackageId> |
6 | | - <LangVersion>default</LangVersion> |
7 | | - <Authors>Rohan Vazarkar</Authors> |
8 | | - <Company>SpecterOps</Company> |
9 | 4 | <PackageDescription>Common library for C# BloodHound enumeration tasks</PackageDescription> |
10 | | - <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression> |
11 | | - <RepositoryUrl>https://github.com/BloodHoundAD/SharpHoundCommon</RepositoryUrl> |
12 | | - <Version>4.6.0</Version> |
| 5 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
13 | 6 | <AssemblyName>SharpHoundCommonLib</AssemblyName> |
14 | 7 | <RootNamespace>SharpHoundCommonLib</RootNamespace> |
| 8 | + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> |
15 | 9 | </PropertyGroup> |
16 | 10 | <PropertyGroup> |
17 | 11 | <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> |
|
29 | 23 | <Reference Include="System.Net.Http" /> |
30 | 24 | </ItemGroup> |
31 | 25 | <ItemGroup> |
32 | | - <Folder Include="Properties" /> |
| 26 | + <ProjectReference Include="..\SharpHoundRPC\SharpHoundRPC.csproj" /> |
33 | 27 | </ItemGroup> |
34 | 28 | <ItemGroup> |
35 | | - <ProjectReference Include="..\SharpHoundRPC\SharpHoundRPC.csproj" PrivateAssets="All" /> |
| 29 | + <None Include="README.md" Pack="true" PackagePath="" /> |
36 | 30 | </ItemGroup> |
37 | | - <PropertyGroup> |
38 | | - <TargetsForTfmSpecificBuildOutput> |
39 | | - $(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput> |
40 | | - <AllowUnsafeBlocks>True</AllowUnsafeBlocks> |
41 | | - </PropertyGroup> |
42 | | - <Target Name="CopyProjectReferencesToPackage" DependsOnTargets="BuildOnlySettings;ResolveReferences"> |
43 | | - <ItemGroup> |
44 | | - <!-- Filter out unnecessary files --> |
45 | | - <_ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->WithMetadataValue('ReferenceSourceTarget', 'ProjectReference')->WithMetadataValue('PrivateAssets', 'All'))" /> |
46 | | - </ItemGroup> |
47 | | - |
48 | | - <!-- Print batches for debug purposes --> |
49 | | - <Message Text="Batch for .nupkg: ReferenceCopyLocalPaths = @(_ReferenceCopyLocalPaths), ReferenceCopyLocalPaths.DestinationSubDirectory = %(_ReferenceCopyLocalPaths.DestinationSubDirectory) Filename = %(_ReferenceCopyLocalPaths.Filename) Extension = %(_ReferenceCopyLocalPaths.Extension)" Importance="High" Condition="'@(_ReferenceCopyLocalPaths)' != ''" /> |
50 | | - |
51 | | - <ItemGroup> |
52 | | - <!-- Add file to package with consideration of sub folder. If empty, the root folder is chosen. --> |
53 | | - <BuildOutputInPackage Include="@(_ReferenceCopyLocalPaths)" TargetPath="%(_ReferenceCopyLocalPaths.DestinationSubDirectory)" /> |
54 | | - </ItemGroup> |
55 | | - </Target> |
56 | 31 | </Project> |
0 commit comments