mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 08:30:45 -05:00
52 lines
1.8 KiB
XML
52 lines
1.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<Version>1.0.0.0</Version>
|
|
<TargetFramework>net471</TargetFramework>
|
|
<Configuration>Release</Configuration>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<Company>Aki</Company>
|
|
<Copyright>Copyright @ Aki 2024</Copyright>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="bsg.componentace.compression.libs.zlib" HintPath="..\Shared\Managed\bsg.componentace.compression.libs.zlib.dll" Private="False" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BepInEx.Core" Version="5.4.21" />
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" ExcludeAssets="runtime" PrivateAssets="all">
|
|
<IncludeAssets>compile; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
|
|
</ItemGroup>
|
|
|
|
<!-- Modified version of the BepInEx.PluginInfoProps plugin info generator -->
|
|
<Target Name="AddGeneratedFile" BeforeTargets="BeforeCompile;CoreCompile" Inputs="$(MSBuildAllProjects)" Outputs="$(IntermediateOutputPath)GeneratedFile.cs">
|
|
<PropertyGroup>
|
|
<BepInExPluginVersion Condition="'$(BepInExPluginVersion)' == ''">$(Version)</BepInExPluginVersion>
|
|
<GeneratedText>
|
|
// --- Autogenerated file ---
|
|
// ----- Do not modify! -----
|
|
|
|
namespace $(RootNamespace)
|
|
{
|
|
public static class AkiPluginInfo
|
|
{
|
|
public const string PLUGIN_VERSION = "$(BepInExPluginVersion)"%3B
|
|
}
|
|
}
|
|
</GeneratedText>
|
|
<GeneratedFilePath>.\AkiPluginInfo.cs</GeneratedFilePath>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Compile Include="$(GeneratedFilePath)" />
|
|
<FileWrites Include="$(GeneratedFilePath)" />
|
|
</ItemGroup>
|
|
<WriteLinesToFile Lines="$(GeneratedText)" File="$(GeneratedFilePath)" Overwrite="true" />
|
|
</Target>
|
|
|
|
</Project>
|