Config changes

This commit is contained in:
Brett Hewitson 2021-11-20 23:28:25 +10:00
parent 233bb0be91
commit a6a7af702e
5 changed files with 1 additions and 40 deletions

View file

@ -28,16 +28,4 @@
<ProjectReference Include="..\QueryMaster\QueryMaster.csproj" />
</ItemGroup>
<ItemGroup>
<Content Update="web.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="web.Development.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Update="web.Production.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
</Project>

View file

@ -1,5 +1,5 @@
{
"EnableSwagger": true,
"EnableSwagger": false,
"SwaggerRoutePrefix": "",
"ManagerCodes": [

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- For more information on using transformations
see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.webServer>
<aspNetCore>
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</environmentVariables>
</aspNetCore>
</system.webServer>
</configuration>

View file

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- For more information on using transformations
see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<system.webServer>
<aspNetCore>
<environmentVariables>
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Production" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" />
</environmentVariables>
</aspNetCore>
</system.webServer>
</configuration>

View file

@ -1,3 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
</configuration>