forked from sven-n/MuMain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMUnique.Client.ManagedLibrary.csproj
58 lines (49 loc) · 6.05 KB
/
MUnique.Client.ManagedLibrary.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Platform>x86</Platform>
<Nullable>enable</Nullable>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<OutputPath>$(SolutionDir)..\Source Main 5.2\Global Debug\</OutputPath>
<PlatformTarget>x86</PlatformTarget>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<WarningsAsErrors>nullable;CS4014;VSTHRD110;VSTHRD100</WarningsAsErrors>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.8.14">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.435">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="MUnique.OpenMU.Network.Packets" Version="0.8.0" />
<PackageReference Include="Pipelines.Sockets.Unofficial" Version="2.2.8" />
</ItemGroup>
<ItemGroup>
<AdditionalFiles Include="..\stylecop.json" Link="stylecop.json" />
<None Include="..\.editorconfig" Link=".editorconfig" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="PreBuildEvent" Condition="'$(ci)'!='true'">
<!-- We only run the transformation locally on our dev environment with visual studio.
The CI environment is identified by the parameter 'ci'. It's set in the azure pipelines and Dockerfile.
If you run into errors here under Linux/Mac OS, it might help to add this parameter, too. -->
<XslTransformation OutputPaths="ConnectionManager.ClientToServerFunctions.cs" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ClientToServer\ClientToServerPackets.xml" XslInputPath="GenerateExtensionsDotNet.xslt" Parameters="<Parameter Name='subNamespace' Value='ClientToServer'/>" />
<XslTransformation OutputPaths="ConnectionManager.ChatServerFunctions.cs" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ChatServer\ChatServerPackets.xml" XslInputPath="GenerateExtensionsDotNet.xslt" Parameters="<Parameter Name='subNamespace' Value='ChatServer'/>" />
<XslTransformation OutputPaths="ConnectionManager.ConnectServerFunctions.cs" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ConnectServer\ConnectServerPackets.xml" XslInputPath="GenerateExtensionsDotNet.xslt" Parameters="<Parameter Name='subNamespace' Value='ConnectServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketFunctions_ClientToServer.h" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ClientToServer\ClientToServerPackets.xml" XslInputPath="GenerateFunctionsHeader.xslt" Parameters="<Parameter Name='subNamespace' Value='ClientToServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketFunctions_ChatServer.h" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ChatServer\ChatServerPackets.xml" XslInputPath="GenerateFunctionsHeader.xslt" Parameters="<Parameter Name='subNamespace' Value='ChatServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketFunctions_ConnectServer.h" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ConnectServer\ConnectServerPackets.xml" XslInputPath="GenerateFunctionsHeader.xslt" Parameters="<Parameter Name='subNamespace' Value='ConnectServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketFunctions_ClientToServer.cpp" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ClientToServer\ClientToServerPackets.xml" XslInputPath="GenerateFunctions.xslt" Parameters="<Parameter Name='subNamespace' Value='ClientToServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketFunctions_ChatServer.cpp" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ChatServer\ChatServerPackets.xml" XslInputPath="GenerateFunctions.xslt" Parameters="<Parameter Name='subNamespace' Value='ChatServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketFunctions_ConnectServer.cpp" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ConnectServer\ConnectServerPackets.xml" XslInputPath="GenerateFunctions.xslt" Parameters="<Parameter Name='subNamespace' Value='ConnectServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketBindings_ClientToServer.h" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ClientToServer\ClientToServerPackets.xml" XslInputPath="GenerateBindingsHeader.xslt" Parameters="<Parameter Name='subNamespace' Value='ClientToServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketBindings_ChatServer.h" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ChatServer\ChatServerPackets.xml" XslInputPath="GenerateBindingsHeader.xslt" Parameters="<Parameter Name='subNamespace' Value='ChatServer'/>" />
<XslTransformation OutputPaths="..\Source Main 5.2\source\Dotnet\PacketBindings_ConnectServer.h" XmlInputPaths="$(USERPROFILE)\.nuget\packages\munique.openmu.network.packets\0.8.0\contentFiles\any\net8.0\ConnectServer\ConnectServerPackets.xml" XslInputPath="GenerateBindingsHeader.xslt" Parameters="<Parameter Name='subNamespace' Value='ConnectServer'/>" />
</Target>
</Project>