IsExternalInit disabled in new dotnet

This commit is contained in:
Timerix22 2023-03-15 19:13:42 +06:00
parent d94114b4e3
commit ddbdc7d558
7 changed files with 16 additions and 12 deletions

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<!--package info--> <!--package info-->
<PackageId>DTLib.Dtsod</PackageId> <PackageId>DTLib.Dtsod</PackageId>
<Version>1.1.3</Version> <Version>1.1.4</Version>
<Authors>Timerix</Authors> <Authors>Timerix</Authors>
<Description>Definitely not json</Description> <Description>Definitely not json</Description>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>
@ -33,7 +33,7 @@
<ProjectReference Include="..\DTLib\DTLib.csproj" /> <ProjectReference Include="..\DTLib\DTLib.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Configuration)' != 'Debug' "> <ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
<PackageReference Include="DTLib" Version="1.1.4" /> <PackageReference Include="DTLib" Version="1.1.5" />
</ItemGroup> </ItemGroup>
<!--project files--> <!--project files-->

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<!--package info--> <!--package info-->
<PackageId>DTLib.Logging</PackageId> <PackageId>DTLib.Logging</PackageId>
<Version>1.1.3</Version> <Version>1.1.4</Version>
<Authors>Timerix</Authors> <Authors>Timerix</Authors>
<Description>Loggers with dependency injection</Description> <Description>Loggers with dependency injection</Description>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>
@ -30,7 +30,7 @@
<ProjectReference Include="..\DTLib.Ben.Demystifier\DTLib.Ben.Demystifier.csproj" /> <ProjectReference Include="..\DTLib.Ben.Demystifier\DTLib.Ben.Demystifier.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Configuration)' != 'Debug' "> <ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
<PackageReference Include="DTLib" Version="1.1.4" /> <PackageReference Include="DTLib" Version="1.1.5" />
<PackageReference Include="DTLib.Ben.Demystifier" Version="1.0.3" /> <PackageReference Include="DTLib.Ben.Demystifier" Version="1.0.4" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<!--package info--> <!--package info-->
<PackageId>DTLib.Network</PackageId> <PackageId>DTLib.Network</PackageId>
<Version>1.1.3</Version> <Version>1.1.4</Version>
<Authors>Timerix</Authors> <Authors>Timerix</Authors>
<Description>Some sick network protocols</Description> <Description>Some sick network protocols</Description>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>
@ -32,6 +32,6 @@
<ProjectReference Include="..\DTLib.Dtsod\DTLib.Dtsod.csproj" /> <ProjectReference Include="..\DTLib.Dtsod\DTLib.Dtsod.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Configuration)' != 'Debug' "> <ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
<PackageReference Include="DTLib.Dtsod" Version="1.1.3" /> <PackageReference Include="DTLib.Dtsod" Version="1.1.4" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -1,7 +1,9 @@
using System.ComponentModel; using System.ComponentModel;
// включает init и record из c# 9.0 // включает init и record из c# 9.0
#if !NET6_0 && !NET7_0 && !NET8_0
namespace System.Runtime.CompilerServices; namespace System.Runtime.CompilerServices;
[EditorBrowsable(EditorBrowsableState.Never)] [EditorBrowsable(EditorBrowsableState.Never)]
public class IsExternalInit { } public class IsExternalInit { }
#endif

View File

@ -27,10 +27,10 @@
<ProjectReference Include="..\DTLib\DTLib.csproj" /> <ProjectReference Include="..\DTLib\DTLib.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup Condition=" '$(Configuration)' != 'Debug' "> <ItemGroup Condition=" '$(Configuration)' != 'Debug' ">
<PackageReference Include="DTLib" Version="1.1.4" /> <PackageReference Include="DTLib" Version="1.1.5" />
<PackageReference Include="DTLib.Dtsod" Version="1.1.3" /> <PackageReference Include="DTLib.Dtsod" Version="1.1.4" />
<PackageReference Include="DTLib.Network" Version="1.1.3" /> <PackageReference Include="DTLib.Network" Version="1.1.4" />
<PackageReference Include="DTLib.Logging" Version="1.1.3" /> <PackageReference Include="DTLib.Logging" Version="1.1.4" />
</ItemGroup> </ItemGroup>
<!--project files--> <!--project files-->

View File

@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<!--package info--> <!--package info-->
<PackageId>DTLib</PackageId> <PackageId>DTLib</PackageId>
<Version>1.1.4</Version> <Version>1.1.5</Version>
<Authors>Timerix</Authors> <Authors>Timerix</Authors>
<Description>Library for all my C# projects</Description> <Description>Library for all my C# projects</Description>
<RepositoryType>GIT</RepositoryType> <RepositoryType>GIT</RepositoryType>

View File

@ -1,7 +1,9 @@
using System.ComponentModel; using System.ComponentModel;
// включает init и record из c# 9.0 // включает init и record из c# 9.0
#if !NET6_0 && !NET7_0 && !NET8_0
namespace System.Runtime.CompilerServices; namespace System.Runtime.CompilerServices;
[EditorBrowsable(EditorBrowsableState.Never)] [EditorBrowsable(EditorBrowsableState.Never)]
public class IsExternalInit { } public class IsExternalInit { }
#endif