Skip to content

Commit

Permalink
Version 0.7.21
Browse files Browse the repository at this point in the history
We want to pack the packet definition xml files into the nuget.
  • Loading branch information
sven-n committed Sep 24, 2023
1 parent 1747b60 commit 14a10c1
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/Network/MUnique.OpenMU.Network.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
MUnique.OpenMU.Network contains all what's required to connect from and to a MU Online game, connect or chat server. It implements the MU Online network protocol.
It also contains several the encryption algorithms and keys which were used until a few years ago up to Season 6 Episode 3.
</Description>
<PackageVersion>0.7.14</PackageVersion>
<Version>0.7.14</Version>
<PackageVersion>0.7.21</PackageVersion>
<Version>0.7.21</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
13 changes: 11 additions & 2 deletions src/Network/Packets/MUnique.OpenMU.Network.Packets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<PackageTags>MUnique OpenMU MUOnline Network Packets</PackageTags>
<PackageId>MUnique.OpenMU.Network.Packets</PackageId>
<Description>This package contains message structs for the MMORPG "MU Online", which are primarily focused on the english version of Season 6 Episode 3.</Description>
<PackageVersion>0.7.14</PackageVersion>
<Version>0.7.14</Version>
<PackageVersion>0.7.21</PackageVersion>
<Version>0.7.21</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand All @@ -33,6 +33,14 @@
<ProjectReference Include="..\MUnique.OpenMU.Network.csproj" />
</ItemGroup>

<ItemGroup>
<Content Include="**/*.xml" copyToOutput="true">
<IncludeInPackage>true</IncludeInPackage>
<CopyToOutput>true</CopyToOutput>
<BuildAction>Content</BuildAction>
</Content>
</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.
Expand All @@ -55,6 +63,7 @@
<XslTransformation OutputPaths="ServerToClient\ConnectionExtensions.cs" XmlInputPaths="ServerToClient\ServerToClientPackets.xml" XslInputPath="GenerateExtensions.xslt" Parameters="&lt;Parameter Name='subNamespace' Value='ServerToClient'/&gt;" />
<XslTransformation OutputPaths="ChatServer\ConnectionExtensions.cs" XmlInputPaths="ChatServer\ChatServerPackets.xml" XslInputPath="GenerateExtensions.xslt" Parameters="&lt;Parameter Name='subNamespace' Value='ChatServer'/&gt;" />
<XslTransformation OutputPaths="ConnectServer\ConnectionExtensions.cs" XmlInputPaths="ConnectServer\ConnectServerPackets.xml" XslInputPath="GenerateExtensions.xslt" Parameters="&lt;Parameter Name='subNamespace' Value='ConnectServer'/&gt;" />

<Exec Command="npx [email protected] ../../../docs/Packets/C*.md"></Exec>
<Exec Command="npx xslt3 -xsl:GenerateMarkdownDocs.xslt -o:../../../docs/Packets/ClientToServer.md -s:ClientToServer/ClientToServerPackets.xml"></Exec>
<Exec Command="npx xslt3 -xsl:GenerateMarkdownDocs.xslt -o:../../../docs/Packets/ServerToClient.md -s:ServerToClient/ServerToClientPackets.xml"></Exec>
Expand Down
4 changes: 2 additions & 2 deletions src/PlugIns/MUnique.OpenMU.PlugIns.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<Description>
MUnique.OpenMU.PlugIns contains all what's required to create plugins extension points and own plugins for dependent applications.
</Description>
<PackageVersion>0.7.14</PackageVersion>
<Version>0.7.14</Version>
<PackageVersion>0.7.21</PackageVersion>
<Version>0.7.21</Version>
</PropertyGroup>

<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
Expand Down
4 changes: 2 additions & 2 deletions src/SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.7.20.0")]
[assembly: AssemblyFileVersion("0.7.20.0")]
[assembly: AssemblyVersion("0.7.21.0")]
[assembly: AssemblyFileVersion("0.7.21.0")]

0 comments on commit 14a10c1

Please sign in to comment.