Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LocalAdmin V2.csproj #65

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ insert_final_newline = false
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[JSON/JsonGenerated.cs]
generated_code = true
5 changes: 1 addition & 4 deletions JSON/JsonGenerated.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#pragma warning disable 618
#pragma warning disable 612
#pragma warning disable 414
#pragma warning disable 168
#pragma warning disable

namespace Utf8Json.Resolvers
{
Expand Down
38 changes: 20 additions & 18 deletions LocalAdmin V2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<TargetFramework Condition="$(RuntimeIdentifier.StartsWith('win', StringComparison.OrdinalIgnoreCase))">net7.0-windows</TargetFramework>
<TargetFramework Condition="!$(RuntimeIdentifier.StartsWith('win', StringComparison.OrdinalIgnoreCase))">net7.0</TargetFramework>
<ApplicationManifest>app.manifest</ApplicationManifest>
<LangVersion>10</LangVersion>
<LangVersion>11</LangVersion>

<Nullable>enable</Nullable>
<RootNamespace>LocalAdmin.V2</RootNamespace>
<AssemblyName>LocalAdmin</AssemblyName>
Expand All @@ -15,16 +16,27 @@
<Authors>Łukasz "zabszk" Jurczyk, KernelError</Authors>
<Copyright>Copyright by Łukasz "zabszk" Jurczyk and KernelError, 2019 - 2023</Copyright>

<SuppressAotAnalysisWarnings>true</SuppressAotAnalysisWarnings>
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<EnableAOTAnalyzer>true</EnableAOTAnalyzer>
<EnableSingleFileAnalyzer>true</EnableSingleFileAnalyzer>

<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
<SuppressTrimAnalysisWarnings>false</SuppressTrimAnalysisWarnings>
<TrimmerSingleWarn>false</TrimmerSingleWarn>

<IlcTrimMetadata>true</IlcTrimMetadata>
<IlcGenerateCompleteTypeMetadata>false</IlcGenerateCompleteTypeMetadata>
<IlcDisableReflection>false</IlcDisableReflection>
<IlcGenerateStackTraceData>true</IlcGenerateStackTraceData>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>
<IlcFoldIdenticalMethodBodies>true</IlcFoldIdenticalMethodBodies>
<IlcOptimizationPreference>Speed</IlcOptimizationPreference>

<OptimizationPreference>Speed</OptimizationPreference>
<Optimize>true</Optimize>
<RootAllApplicationAssemblies>false</RootAllApplicationAssemblies>
<IsPackable>false</IsPackable>
<PublishAot>true</PublishAot>
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>

<PropertyGroup>
Expand All @@ -38,20 +50,14 @@
<PropertyGroup Condition="$(RuntimeIdentifier.StartsWith('linux', StringComparison.OrdinalIgnoreCase))">
<DefineConstants>LINUX_SIGNALS</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<PlatformTarget>x64</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<PlatformTarget>x64</PlatformTarget>
<DebugType>none</DebugType>
</PropertyGroup>
<ItemGroup Condition="$(RuntimeIdentifier.StartsWith('linux', StringComparison.OrdinalIgnoreCase))">
<PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" />
</ItemGroup>

<PropertyGroup>
<PublishAot>true</PublishAot>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" />
<PackageReference Include="Utf8Json" Version="1.3.7" />
</ItemGroup>

<ItemGroup>
<Content Include="LICENSE">
Expand All @@ -69,8 +75,4 @@
<None Remove="Properties\launchSettings.json" />
<None Remove="README.md" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.IO.Compression.ZipFile" Version="4.3.0" />
<PackageReference Include="Utf8Json" Version="1.3.7" />
</ItemGroup>
</Project>