forked from TrinityCore/WowPacketParser
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to .NET 7 & some project configuration improvements (TrinityCo…
- Loading branch information
Showing
24 changed files
with
415 additions
and
910 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
pull_request: | ||
|
||
env: | ||
DOTNET_VERSION: '6.0.x' | ||
DOTNET_VERSION: '7.0.x' | ||
|
||
jobs: | ||
build: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build | ||
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build | ||
WORKDIR /src | ||
COPY . . | ||
RUN dotnet build -c Release | ||
|
||
FROM mcr.microsoft.com/dotnet/runtime:6.0 | ||
FROM mcr.microsoft.com/dotnet/runtime:7.0 | ||
WORKDIR /app | ||
COPY --from=build /src/WowPacketParser/bin/Release . | ||
ENTRYPOINT ["dotnet", "WowPacketParser.dll"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,17 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Import Project="../default.props" /> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<PropertyGroup> | ||
<IsPackable>false</IsPackable> | ||
</PropertyGroup> | ||
|
||
<IsPackable>false</IsPackable> | ||
|
||
<Authors>TrinityCore</Authors> | ||
|
||
<Copyright>Copyright © 2013-2020</Copyright> | ||
|
||
<PackageProjectUrl>https://www.trinitycore.org/</PackageProjectUrl> | ||
|
||
<RepositoryUrl>https://github.com/TrinityCore/WowPacketParser</RepositoryUrl> | ||
|
||
<RepositoryType>GitHub</RepositoryType> | ||
|
||
<NeutralLanguage>en</NeutralLanguage> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="nunit" Version="3.13.1" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="3.17.0" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser\WowPacketParser.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="nunit" Version="3.13.3" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.3.0" /> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser\WowPacketParser.csproj" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Company>TrinityCore</Company> | ||
<Copyright>Copyright © 2010-2020</Copyright> | ||
<PackageProjectUrl>https://www.trinitycore.org/</PackageProjectUrl> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<RepositoryUrl>https://github.com/TrinityCore/WowPacketParser</RepositoryUrl> | ||
<RepositoryType>GitHub</RepositoryType> | ||
<Authors>TrinityCore</Authors> | ||
<StartupObject>WowPacketParser.Program</StartupObject> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="DotNetZip" Version="1.15.0" /> | ||
<PackageReference Include="MySql.Data" Version="8.0.30" /> | ||
<PackageReference Include="RawScape.Wintellect.PowerCollections" Version="1.0.1" /> | ||
<PackageReference Include="Sigil" Version="5.0.0" /> | ||
<PackageReference Include="SSH.NET" Version="2020.0.2" /> | ||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="5.0.0" /> | ||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.113.7" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="DBFileReaderLib"> | ||
<HintPath>..\packages\DBFileReaderLib.1.0.0.0\lib\DBFileReaderLib.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser.Proto\WowPacketParser.Proto.csproj" /> | ||
</ItemGroup> | ||
|
||
<Import Project="../default.props" /> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="DotNetZip" Version="1.16.0" /> | ||
<PackageReference Include="MySql.Data" Version="8.0.31" /> | ||
<PackageReference Include="RawScape.Wintellect.PowerCollections" Version="1.0.1" /> | ||
<PackageReference Include="Sigil" Version="5.0.0" /> | ||
<PackageReference Include="SSH.NET" Version="2020.0.2" /> | ||
<PackageReference Include="System.Configuration.ConfigurationManager" Version="7.0.0" /> | ||
<PackageReference Include="System.Data.SQLite.Core" Version="1.0.116" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="DBFileReaderLib"> | ||
<HintPath>..\packages\DBFileReaderLib.1.0.0.0\lib\DBFileReaderLib.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser.Proto\WowPacketParser.Proto.csproj" /> | ||
</ItemGroup> | ||
</Project> |
53 changes: 12 additions & 41 deletions
53
WowPacketParserModule.BattleNet.V37165/WowPacketParserModule.BattleNet.V37165.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Authors>TrinityCore</Authors> | ||
<Company>TrinityCore</Company> | ||
<Copyright>Copyright © 2015-2020</Copyright> | ||
<PackageProjectUrl>https://www.trinitycore.org/</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/TrinityCore/WowPacketParser</RepositoryUrl> | ||
<RepositoryType>GitHub</RepositoryType> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<OutputPath>..\WowPacketParser\bin\Release\Parsers\</OutputPath> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
<DefineConstants>TRACE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<OutputPath>..\WowPacketParser\bin\Debug\Parsers\</OutputPath> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Sigil" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser\WowPacketParser.csproj"> | ||
<Private>false</Private> | ||
<EmbedInteropTypes>false</EmbedInteropTypes> | ||
</ProjectReference> | ||
</ItemGroup> | ||
|
||
<Import Project="../default.props" /> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Sigil" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser\WowPacketParser.csproj"> | ||
<Private>false</Private> | ||
<EmbedInteropTypes>false</EmbedInteropTypes> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Project> |
53 changes: 12 additions & 41 deletions
53
WowPacketParserModule.Substructures/WowPacketParserModule.Substructures.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<Authors>TrinityCore</Authors> | ||
<Company>TrinityCore</Company> | ||
<Copyright>Copyright © 2014-2020</Copyright> | ||
<PackageProjectUrl>https://www.trinitycore.org/</PackageProjectUrl> | ||
<RepositoryUrl>https://github.com/TrinityCore/WowPacketParser</RepositoryUrl> | ||
<RepositoryType>GitHub</RepositoryType> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup> | ||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<OutputPath>..\WowPacketParser\bin\Debug\Parsers\</OutputPath> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<OutputPath>..\WowPacketParser\bin\Release\Parsers\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors> | ||
<WarningsAsErrors /> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Sigil" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser\WowPacketParser.csproj"> | ||
<Private>false</Private> | ||
<EmbedInteropTypes>false</EmbedInteropTypes> | ||
</ProjectReference> | ||
</ItemGroup> | ||
|
||
<Import Project="../default.props" /> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Sigil" Version="5.0.0" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\WowPacketParser\WowPacketParser.csproj"> | ||
<Private>false</Private> | ||
<EmbedInteropTypes>false</EmbedInteropTypes> | ||
</ProjectReference> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.