71 lines
2.9 KiB
XML
71 lines
2.9 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netstandard2.1</TargetFramework>
|
|
<AssemblyName>MuzikaGromche</AssemblyName>
|
|
<Description>Opa che tut u nas</Description>
|
|
<Version>13.37.6</Version>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<LangVersion>latest</LangVersion>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="BepInEx.Analyzers" Version="1.*" PrivateAssets="all"/>
|
|
<PackageReference Include="BepInEx.Core" Version="5.*"/>
|
|
<PackageReference Include="BepInEx.PluginInfoProps" Version="1.*"/>
|
|
<PackageReference Include="UnityEngine.Modules" Version="2022.3.9" IncludeAssets="compile"/>
|
|
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Reference Include="Assembly-CSharp" Publicize="true">
|
|
<HintPath>$(LethalCompanyDir)Lethal Company_Data\Managed\Assembly-CSharp.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Unity.Collections">
|
|
<HintPath>$(LethalCompanyDir)Lethal Company_Data\Managed\Unity.Collections.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Unity.Netcode.Runtime" Publicize="true">
|
|
<HintPath>$(LethalCompanyDir)Lethal Company_Data\Managed\Unity.Netcode.Runtime.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup Condition="'$(TargetFramework.TrimEnd(`0123456789`))' == 'net'">
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all"/>
|
|
</ItemGroup>
|
|
|
|
<Target Name="Bundle" AfterTargets="Build">
|
|
<PropertyGroup>
|
|
<DistDir>$(TargetDir)MuzikaGromche\</DistDir>
|
|
<ZipBundle>$(TargetDir)MuzikaGromche-$(Configuration).zip</ZipBundle>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackagedResources Include="$(SolutionDir)README.md" />
|
|
<PackagedResources Include="$(SolutionDir)icon.png" />
|
|
<PackagedResources Include="$(SolutionDir)manifest.json" />
|
|
<PackagedResources Include="$(TargetDir)MuzikaGromche.dll" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<AudioFiles Include="$(SolutionDir)Assets\*.mp3" />
|
|
<AudioFiles Include="$(SolutionDir)Assets\*.ogg" />
|
|
<AudioFiles Include="$(SolutionDir)Assets\*.wav" />
|
|
</ItemGroup>
|
|
|
|
<RemoveDir Directories="$(DistDir)" />
|
|
<Copy
|
|
SourceFiles="@(AudioFiles);@(PackagedResources)"
|
|
DestinationFolder="$(DistDir)"
|
|
/>
|
|
<ZipDirectory
|
|
SourceDirectory="$(DistDir)"
|
|
DestinationFile="$(TargetDir)MuzikaGromche-$(Configuration).zip"
|
|
Overwrite="true"
|
|
/>
|
|
<Copy
|
|
SourceFiles="$(ZipBundle)"
|
|
DestinationFolder="$(SolutionDir)dist\"
|
|
/>
|
|
</Target>
|
|
</Project>
|