mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Add common NuGet information
This commit is contained in:
1 parent
bbe8284c67
commit
1a217300cc
2 files changed
+15
-6
No files matched your search
@@ -15,11 +15,10 @@
|
||||
<PropertyGroup>
|
||||
<StartupObject>BepInEx.Patcher.Program</StartupObject>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets" Condition="Exists('$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets')"/>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All"/>
|
||||
<PackageReference Include="ILRepack" Version="2.0.16"/>
|
||||
<PackageReference Include="ILRepack" Version="2.1.0-beta1"/>
|
||||
<PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.18.2"/>
|
||||
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="All"/>
|
||||
<PackageReference Include="Mono.Cecil" Version="0.10.4"/>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
||||
@@ -4,8 +4,13 @@
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
<HasSharedItems>true</HasSharedItems>
|
||||
<SharedGUID>E312EFD4-47ED-4DCE-B279-6B0EE314989F</SharedGUID>
|
||||
<Copyright>Copyright © 2020 BepInEx Team</Copyright>
|
||||
<Copyright>Copyright © 2021 BepInEx Team</Copyright>
|
||||
<Version>6.0.0</Version>
|
||||
<Authors>BepInEx</Authors>
|
||||
<PackageProjectUrl>https://github.com/BepInEx/BepInEx</PackageProjectUrl>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||
<PackageIcon>logo.png</PackageIcon>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Label="Configuration">
|
||||
<Import_RootNamespace>BepInEx.Shared</Import_RootNamespace>
|
||||
@@ -13,6 +18,11 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="$(MSBuildThisFileDirectory)BuildInfoAttribute.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="..\LICENSE" Pack="true" PackagePath="" />
|
||||
<None Include="..\assets\logo.png" Pack="true" Visible="false" PackagePath="" />
|
||||
<None Include="..\README.md" Pack="false" PackagePath="" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(BuildInfo)' != ''">
|
||||
<AssemblyAttribute Include="BepInEx.Shared.BuildInfoAttribute">
|
||||
@@ -20,7 +30,7 @@
|
||||
</AssemblyAttribute>
|
||||
</ItemGroup>
|
||||
<Target Name="CopyPackage" AfterTargets="Pack">
|
||||
<Copy SourceFiles="$(OutputPath)\$(PackageId).$(PackageVersion).nupkg"
|
||||
DestinationFolder="$(SolutionDir)\bin\NuGet" />
|
||||
<Move SourceFiles="$(OutputPath)\$(PackageId).$(PackageVersion).nupkg"
|
||||
DestinationFolder="..\bin\NuGet" />
|
||||
</Target>
|
||||
</Project>
|
||||
Reference in new issue
Block a user