-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathXUnity.AutoLLMTranslator.csproj
More file actions
38 lines (33 loc) · 1.59 KB
/
XUnity.AutoLLMTranslator.csproj
File metadata and controls
38 lines (33 loc) · 1.59 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<ImplicitUsings>disable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<GameDir>E:\SteamLibrary\steamapps\common\Death Must Die\Death Must Die_Data\Managed\Translators\</GameDir>
</PropertyGroup>
<ItemGroup>
<Reference Include="XUnity.AutoTranslator.Plugin.Core">
<HintPath>packages\XUnity.AutoTranslator.Plugin.Core.dll</HintPath>
</Reference>
<Reference Include="XUnity.AutoTranslator.Plugin.ExtProtocol">
<HintPath>packages\XUnity.AutoTranslator.Plugin.ExtProtocol.dll</HintPath>
</Reference>
<Reference Include="XUnity.Common">
<HintPath>packages\XUnity.Common.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="ILRepack.MSBuild.Task" Version="2.0.13" PrivateAssets="All" />
</ItemGroup>
<Target Name="ILRepack" AfterTargets="Build">
<PropertyGroup>
<WorkingDirectory>$(MSBuildThisFileDirectory)bin\$(Configuration)\$(TargetFramework)</WorkingDirectory>
</PropertyGroup>
<Message Text="MERGING: @(InputAssemblies->'%(Filename)') into $(OutputAssembly)" Importance="High" />
<ILRepack OutputType="$(OutputType)" MainAssembly="$(AssemblyName).dll" OutputAssembly="$(AssemblyName).dll" InputAssemblies="@(InputAssemblies)" InternalizeExcludeAssemblies="@(InternalizeExcludeAssemblies)" WorkingDirectory="$(WorkingDirectory)" />
</Target>
<Target Name="PostBuild" AfterTargets="ILRepack">
<Exec Command="XCOPY /Y /I "$(TargetDir)$(TargetName)$(TargetExt)" "$(GameDir)"" />
</Target>
</Project>