some minor changes

This commit is contained in:
Timerix22 2022-07-01 16:01:56 +03:00
parent ec56843836
commit 248336422b
6 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,4 @@
using System.Xml.Serialization; namespace DTLib.Dtsod.ClassSerializer;
namespace DTLib.Dtsod;
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Interface)]
public class DtsodSerializableAttribute : Attribute public class DtsodSerializableAttribute : Attribute

View File

@ -2,14 +2,14 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<LangVersion>10</LangVersion> <LangVersion>preview</LangVersion>
<ImplicitUsings>disable</ImplicitUsings> <ImplicitUsings>disable</ImplicitUsings>
<Nullable>disable</Nullable> <Nullable>disable</Nullable>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> <ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<DebugType>portable</DebugType> <DebugType>portable</DebugType>
<Configurations>Debug;Release</Configurations>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Platforms>AnyCPU</Platforms> <Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU;x64;x86;arm64</Platforms>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,4 +1,5 @@
using System.Globalization; using System.Globalization;
using DTLib.Dtsod.ClassSerializer;
namespace DTLib.Dtsod; namespace DTLib.Dtsod;

View File

@ -8,6 +8,7 @@
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> <ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<DebugType>portable</DebugType> <DebugType>portable</DebugType>
<Configurations>Debug;Release;Release-net48</Configurations> <Configurations>Debug;Release;Release-net48</Configurations>
<Platforms>AnyCPU;x64;x86;arm64</Platforms>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -2,6 +2,7 @@
global using System; global using System;
global using System.Threading; global using System.Threading;
global using System.Collections.Generic; global using System.Collections.Generic;
global using System.Linq;
global using System.Text; global using System.Text;
global using DTLib.Extensions; global using DTLib.Extensions;
global using DTLib.Filesystem; global using DTLib.Filesystem;

View File

@ -11,7 +11,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> <ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<Configurations>Debug;Release</Configurations> <Configurations>Debug;Release</Configurations>
<Platforms>AnyCPU</Platforms> <Platforms>AnyCPU;x64;x86;arm64</Platforms>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net48' "> <ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">