Configure .csproj files for NuGet package

This commit is contained in:
Katy Coe
2020-08-14 04:54:48 +02:00
parent 99a7e2e8cb
commit 7027f2e1cb
2 changed files with 20 additions and 2 deletions

View File

@@ -4,9 +4,19 @@
<TargetFramework>netstandard2.1</TargetFramework>
<AssemblyName>Il2CppInspector.Common</AssemblyName>
<Authors>Katy Coe</Authors>
<Version>2020.1</Version>
<Version>2020.2-preview-2</Version>
<Company>Noisy Cow Studios</Company>
<Product>Il2CppInspector Shared Library</Product>
<TargetsForTfmSpecificBuildOutput>$(TargetsForTfmSpecificBuildOutput);CopyProjectReferencesToPackage</TargetsForTfmSpecificBuildOutput>
<PackageId>NoisyCowStudios.Il2CppInspector</PackageId>
<Description>Unity IL2CPP application reverse engineering framework
</Description>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageProjectUrl>https://github.com/djkaty/Il2CppInspector</PackageProjectUrl>
<PackageLicenseExpression>AGPL-3.0-only</PackageLicenseExpression>
<RepositoryUrl>https://github.com/djkaty/Il2CppInspector</RepositoryUrl>
<PackageTags>IL2CPP;Unity;Reverse Engineering;Metadata</PackageTags>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
@@ -37,7 +47,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Bin2Object\Bin2Object\Bin2Object.csproj" />
<ProjectReference Include="..\Bin2Object\Bin2Object\Bin2Object.csproj" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
@@ -55,4 +65,10 @@
</EmbeddedResource>
</ItemGroup>
<Target DependsOnTargets="ResolveReferences" Name="CopyProjectReferencesToPackage">
<ItemGroup>
<BuildOutputInPackage Include="@(ReferenceCopyLocalPaths-&gt;WithMetadataValue('ReferenceSourceTarget', 'ProjectReference'))" />
</ItemGroup>
</Target>
</Project>

View File

@@ -29,6 +29,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETCore.Targets" Version="2.1.0" ExcludeAssets="all" PrivateAssets="all" />
<PackageReference Include="Ookii.Dialogs.Wpf.NETCore" Version="2.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
<PackageReference Include="XamlAnimatedGif" Version="1.2.2">
@@ -37,6 +38,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Bin2Object\Bin2Object\Bin2Object.csproj" />
<ProjectReference Include="..\Il2CppInspector.Common\Il2CppInspector.csproj" />
</ItemGroup>