feat: Moves logger to a separate assembly for reuse (#2001)
This commit is contained in:
parent
333b40872a
commit
9d0d454b4e
8 changed files with 32 additions and 0 deletions
20
Projects/Logger/Logger.csproj
Normal file
20
Projects/Logger/Logger.csproj
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<RootNamespace>Server</RootNamespace>
|
||||
<AssemblyName>Logger</AssemblyName>
|
||||
<Product>ModernUO Logger</Product>
|
||||
<OutDir>..\..\Distribution\Assemblies</OutDir>
|
||||
<PublishDir>..\..\Distribution\Assemblies</PublishDir>
|
||||
<Configurations>Debug;Release;Analyze</Configurations>
|
||||
</PropertyGroup>
|
||||
<Target Name="CleanPub" AfterTargets="Clean">
|
||||
<Message Text="Application: Removing distribution files..."/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName)" ContinueOnError="true"/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName).deps.json" ContinueOnError="true"/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName).dll" ContinueOnError="true"/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName).dll.config" ContinueOnError="true"/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName).pdb" ContinueOnError="true"/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName).runtimeconfig.dev.json" ContinueOnError="true"/>
|
||||
<Delete Files="..\..\Distribution\$(AssemblyName).runtimeconfig.json" ContinueOnError="true"/>
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
@ -33,6 +33,7 @@
|
|||
<Delete Files="..\..\Distribution\System.IO.Hashing.dll" ContinueOnError="true" />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Logger\Logger.csproj" />
|
||||
<PackageReference Include="CommunityToolkit.HighPerformance" Version="8.4.0" />
|
||||
<PackageReference Include="LibDeflate.Bindings" Version="1.0.2.120" />
|
||||
<PackageReference Include="PollGroup" Version="1.6.1" />
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@
|
|||
<Delete Files="..\..\Distribution\Assemblies\ModernUO.Serialization.Annotations.dll" ContinueOnError="true" />
|
||||
</Target>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Logger\Logger.csproj" />
|
||||
<ProjectReference Include="..\Server\Server.csproj" Private="false" PrivateAssets="All" IncludeAssets="None">
|
||||
<IncludeInPackage>false</IncludeInPackage>
|
||||
</ProjectReference>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue