From a3c24a00541d0a8d04064dc2aa53c263fd93a7fe Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 09 十月 2024 19:47:39 +0800 Subject: [PATCH] 移动BizSettings到API --- Tiger.Api/Tiger.Api.csproj | 3 +++ Tiger.Api/BizSettings.json | 0 Tiger.Business/Tiger.Business.csproj | 5 +---- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Tiger.Business/BizSettings.json b/Tiger.Api/BizSettings.json similarity index 100% rename from Tiger.Business/BizSettings.json rename to Tiger.Api/BizSettings.json diff --git a/Tiger.Api/Tiger.Api.csproj b/Tiger.Api/Tiger.Api.csproj index 28e12d2..863b0e4 100644 --- a/Tiger.Api/Tiger.Api.csproj +++ b/Tiger.Api/Tiger.Api.csproj @@ -111,6 +111,9 @@ <Content Update="Autofac\Template.json"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> + <Content Update="BizSettings.json"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </Content> </ItemGroup> <ItemGroup> <None Update="Language.db"> diff --git a/Tiger.Business/Tiger.Business.csproj b/Tiger.Business/Tiger.Business.csproj index 82ac5cf..5384ea9 100644 --- a/Tiger.Business/Tiger.Business.csproj +++ b/Tiger.Business/Tiger.Business.csproj @@ -93,9 +93,6 @@ </ItemGroup> <ItemGroup> - <Content Include="BizSettings.json"> - <CopyToOutputDirectory>Always</CopyToOutputDirectory> - </Content> <EmbeddedResource Include="Language\BAS\CodeRule.json" /> <EmbeddedResource Include="Language\component.json" /> <EmbeddedResource Include="Language\layout.json" /> @@ -153,7 +150,7 @@ <ProjectExtensions><VisualStudio><UserProperties bizsettings_1json__JsonSchema="https://json.schemastore.org/appsettings.json" /></VisualStudio></ProjectExtensions> <Target Name="PostBuild" AfterTargets="PostBuildEvent"> - <Exec Command="xcopy /r/y/i $(ProjectDir)$(OutDir)$(AssemblyName).dll $(SolutionDir)Tiger.Api\$(OutDir)
xcopy /r/y/i $(ProjectDir)$(OutDir)$(AssemblyName).pdb $(SolutionDir)Tiger.Api\$(OutDir)
xcopy /r/y/i $(ProjectDir)$(OutDir)BizSettings.json $(SolutionDir)Tiger.Api\$(OutDir)" /> + <Exec Command="xcopy /r/y/i $(ProjectDir)$(OutDir)$(AssemblyName).dll $(SolutionDir)Tiger.Api\$(OutDir)
xcopy /r/y/i $(ProjectDir)$(OutDir)$(AssemblyName).pdb $(SolutionDir)Tiger.Api\$(OutDir)" /> </Target> </Project> -- Gitblit v1.9.3