-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFixLibrary.csproj
41 lines (32 loc) · 1.53 KB
/
FixLibrary.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net461</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>preview</LangVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="RocketModFix.UnityEngine.Redist" Version="*">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="RocketModFix.Unturned.Redist.Server" Version="*">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
</ItemGroup>
<Target Name="FixLibraryModuleArtifacts" AfterTargets="PostBuildEvent">
<ItemGroup>
<FixLibraryFiles Include="$(OutDir)*FixLibrary*.dll"/>
<FixLibraryModuleFiles Include="Module/FixLibrary/*"/>
<FixLibraryInstallationGuides Include="Module/InstallationGuides/*.txt"/>
<FixLibraryRuntimeLibs Include="Module/RuntimeLibs/*.dll"/>
</ItemGroup>
<PropertyGroup>
<FixLibraryOutputDirectory>$(OutDir)FixLibrary/FixLibrary</FixLibraryOutputDirectory>
</PropertyGroup>
<MakeDir Directories="$(FixLibraryUnturnedOutputDirectory)"/>
<Copy SourceFiles="@(FixLibraryInstallationGuides)" DestinationFolder="$(FixLibraryOutputDirectory)\.."/>
<Copy SourceFiles="@(FixLibraryFiles)" DestinationFolder="$(FixLibraryOutputDirectory)"/>
<Copy SourceFiles="@(FixLibraryModuleFiles)" DestinationFolder="$(FixLibraryOutputDirectory)"/>
<Copy SourceFiles="@(FixLibraryRuntimeLibs)" DestinationFolder="$(FixLibraryOutputDirectory)"/>
</Target>
</Project>