From a0eee4bcd87a8d06624f8fcd73e9ebddded91acd Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期二, 02 四月 2024 12:39:29 +0800 Subject: [PATCH] 1 --- Terra.YaoGan.Web/Terra.YaoGan.Web/Web.config | 4 ---- /dev/null | 32 -------------------------------- Terra.YaoGan.Web/Terra.YaoGan.Web/Terra.YaoGan.Web.csproj | 6 ------ 3 files changed, 0 insertions(+), 42 deletions(-) diff --git a/Terra.YaoGan.Web/Terra.YaoGan.Web/Terra.YaoGan.Web.csproj b/Terra.YaoGan.Web/Terra.YaoGan.Web/Terra.YaoGan.Web.csproj index 9311d8b..b9be253 100644 --- a/Terra.YaoGan.Web/Terra.YaoGan.Web/Terra.YaoGan.Web.csproj +++ b/Terra.YaoGan.Web/Terra.YaoGan.Web/Terra.YaoGan.Web.csproj @@ -1252,12 +1252,6 @@ <Content Include="src\js\plugin\layui\font\iconfont.ttf" /> <Content Include="src\js\plugin\layui\font\iconfont.woff" /> <Content Include="src\js\plugin\layui\font\iconfont.woff2" /> - <None Include="Web.Debug.config"> - <DependentUpon>Web.config</DependentUpon> - </None> - <None Include="Web.Release.config"> - <DependentUpon>Web.config</DependentUpon> - </None> </ItemGroup> <ItemGroup> <ProjectReference Include="..\Terra.YaoGan.Common\Terra.YaoGan.Common.csproj"> diff --git a/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.Debug.config b/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.Debug.config deleted file mode 100644 index b9a9fde..0000000 --- a/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.Debug.config +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<!-- 鏈夊叧浣跨敤 web.config 杞崲鐨勮缁嗕俊鎭紝璇疯闂� https://go.microsoft.com/fwlink/?LinkId=125889 --> - -<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> - <!-- - 鍦ㄤ笅渚嬩腑锛屸�淪etAttributes鈥濊浆鎹㈠皢鏇存敼 - 鈥渃onnectionString鈥濈殑鍊硷紝浠ヤ粎鍦ㄢ�淢atch鈥濆畾浣嶅櫒 - 鎵惧埌鍊间负鈥淢yDB鈥濈殑鐗规�р�渘ame鈥濇椂浣跨敤鈥淩eleaseSQLServer鈥濄�� - - <connectionStrings> - <add name="MyDB" - connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" - xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> - </connectionStrings> - --> - <system.web> - <!-- - - 鍦ㄤ笅渚嬩腑锛屸�淩eplace鈥濊浆鎹㈠皢鏇挎崲 - web.config 鏂囦欢鐨勬暣涓� <customErrors> 鑺傘�� - 璇锋敞鎰忥紝鐢变簬 - 鍦� <system.web> 鑺傜偣涓嬩粎鏈変竴涓� customErrors 鑺傦紝鍥犳涓嶉渶瑕佷娇鐢ㄢ�渪dt:Locator鈥濈壒鎬с�� - - <customErrors defaultRedirect="GenericError.htm" - mode="RemoteOnly" xdt:Transform="Replace"> - <error statusCode="500" redirect="InternalError.htm"/> - </customErrors> - --> - </system.web> -</configuration> \ No newline at end of file diff --git a/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.Release.config b/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.Release.config deleted file mode 100644 index 755e745..0000000 --- a/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.Release.config +++ /dev/null @@ -1,32 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> - -<!-- 鏈夊叧浣跨敤 web.config 杞崲鐨勮缁嗕俊鎭紝璇疯闂� https://go.microsoft.com/fwlink/?LinkId=125889 --> - -<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> - <!-- - 鍦ㄤ笅渚嬩腑锛屸�淪etAttributes鈥濊浆鎹㈠皢鏇存敼 - 鈥渃onnectionString鈥濈殑鍊硷紝浠ヤ粎鍦ㄢ�淢atch鈥濆畾浣嶅櫒 - 鎵惧埌鍊间负鈥淢yDB鈥濈殑鐗规�р�渘ame鈥濇椂浣跨敤鈥淩eleaseSQLServer鈥濄�� - - <connectionStrings> - <add name="MyDB" - connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True" - xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/> - </connectionStrings> - --> - <system.web> - <compilation xdt:Transform="RemoveAttributes(debug)" /> - <!-- - - 鍦ㄤ笅渚嬩腑锛屸�淩eplace鈥濊浆鎹㈠皢鏇挎崲 - web.config 鏂囦欢鐨勬暣涓� <customErrors> 鑺傘�� - 璇锋敞鎰忥紝鐢变簬 - 鍦� <system.web> 鑺傜偣涓嬩粎鏈変竴涓� customErrors 鑺傦紝鍥犳涓嶉渶瑕佷娇鐢ㄢ�渪dt:Locator鈥濈壒鎬с�� - - <customErrors defaultRedirect="GenericError.htm" - mode="RemoteOnly" xdt:Transform="Replace"> - <error statusCode="500" redirect="InternalError.htm"/> - </customErrors> - --> - </system.web> -</configuration> \ No newline at end of file diff --git a/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.config b/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.config index 41f0aef..a1fe438 100644 --- a/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.config +++ b/Terra.YaoGan.Web/Terra.YaoGan.Web/Web.config @@ -1,8 +1,4 @@ 锘�<?xml version="1.0" encoding="utf-8"?> -<!-- - 鏈夊叧濡備綍閰嶇疆 ASP.NET 搴旂敤绋嬪簭鐨勮缁嗕俊鎭紝璇疯闂� - https://go.microsoft.com/fwlink/?LinkId=169433 ---> <configuration> <system.web> <compilation debug="true" targetFramework="4.7.2" /> -- Gitblit v1.9.3