Migrated all serialization and deserialization from Newtonsoft.Json to System.Text.Json across the codebase for improved performance and reduced dependencies. Updated package references and refactored helper method names for consistency (e.g., IsEmpty, NotEmpty, InRange). Also updated NuGet package versions in project files.
62 lines
No EOL
3.1 KiB
XML
62 lines
No EOL
3.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<AssemblyName>LibreMetaverse</AssemblyName>
|
|
<PackageId>LibreMetaverse</PackageId>
|
|
<Description>LibreMetaverse allows your code to read and work with data send across a SecondLife, Halcyon, OpenSimulator, or related connection.</Description>
|
|
<OutputType>Library</OutputType>
|
|
<RootNamespace>LibreMetaverse</RootNamespace>
|
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
|
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
|
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
|
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
<NoWarn>$(NoWarn);CS0419;CS8981;CS1591;CS1574</NoWarn>
|
|
<TargetFrameworks>netstandard2.0;net8.0;net9.0</TargetFrameworks>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<OutputPath>..\bin\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<DebugType>pdbonly</DebugType>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>True</Optimize>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="CoreJ2K.Skia" Version="1.1.2.50" />
|
|
<PackageReference Include="log4net" Version="3.2.0" />
|
|
<PackageReference Include="MessagePack" Version="3.1.4" />
|
|
<PackageReference Include="Microsoft.Extensions.ObjectPool" Version="9.0.9" />
|
|
<PackageReference Include="OggVorbisEncoder" Version="1.2.2" />
|
|
<PackageReference Include="Pfim" Version="0.11.3" />
|
|
<PackageReference Include="System.Net.Http" Version="4.3.4" />
|
|
<PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
|
|
<PackageReference Include="System.Threading.Channels" Version="9.0.9" />
|
|
<PackageReference Include="XmlRpcCore" Version="3.1.3" />
|
|
<PackageReference Include="zlib.net-mutliplatform" Version="1.0.8" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\LibreMetaverse.StructuredData\LibreMetaverse.StructuredData.csproj" />
|
|
<ProjectReference Include="..\LibreMetaverse.Types\LibreMetaverse.Types.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="linden\**" Pack="true">
|
|
<PackagePath>contentFiles\any\any\linden;content\linden</PackagePath>
|
|
<PackageCopyToOutput>true</PackageCopyToOutput>
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
|
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="..\LICENSE.txt" Pack="true" PackagePath="\" />
|
|
<None Include="..\README.md" Pack="true" PackagePath="\" />
|
|
<None Include="..\data\logo.png" Pack="true" PackagePath="\" />
|
|
</ItemGroup>
|
|
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
|
|
<PackageReference Include="System.Buffers" Version="4.6.1" />
|
|
<PackageReference Include="System.Memory" Version="4.6.3" />
|
|
</ItemGroup>
|
|
</Project> |