From 7ff298c6834275b63b612af49651673689a39660 Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期三, 27 十一月 2024 11:33:18 +0800 Subject: [PATCH] 更新 --- WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj | 20 ++++++++++++++++---- 1 files changed, 16 insertions(+), 4 deletions(-) diff --git a/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj b/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj index 74e5212..65db6b8 100644 --- a/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj +++ b/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_Server.csproj @@ -4,10 +4,22 @@ <TargetFramework>net6.0</TargetFramework> <Nullable>enable</Nullable> <ImplicitUsings>enable</ImplicitUsings> + <GenerateDocumentationFile>True</GenerateDocumentationFile> + <DocumentationFile>..\WIDESEAWCS_Server\WIDESEAWCS.xml</DocumentationFile> + <AnalysisLevel>latest</AnalysisLevel> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> + <NoWarn>1701;1702;1591</NoWarn> + <WarningLevel>6</WarningLevel> + </PropertyGroup> + + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> + <NoWarn>1701;1702;1591</NoWarn> + <WarningLevel>6</WarningLevel> </PropertyGroup> <ItemGroup> - <Content Remove="wwwroot\swg-login.html" /> <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_DeviceInfo.tsv" /> <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_DeviceProtocol.tsv" /> <Content Remove="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_DeviceProtocolDetail.tsv" /> @@ -29,9 +41,6 @@ <ItemGroup> <EmbeddedResource Include="index.html"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </EmbeddedResource> - <EmbeddedResource Include="wwwroot\swg-login.html"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </EmbeddedResource> <EmbeddedResource Include="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Dt_DeviceInfo.tsv"> @@ -90,6 +99,9 @@ <Content Update="nlog.config"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> + <Content Update="wwwroot\swg-login.html"> + <CopyToOutputDirectory>Never</CopyToOutputDirectory> + </Content> <Content Update="wwwroot\WIDESEAWCS_DB.DBSeed.Json\Sys_Tenant.tsv"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> -- Gitblit v1.9.3