Add app.config to net 4.x templates (#191)

Addresses #73
This commit is contained in:
Jass Bagga 2017-12-13 11:12:12 -08:00 committed by GitHub
parent 6eaf1219f6
commit eb74ea32f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 179 additions and 1 deletions

View File

@ -24,6 +24,12 @@
".template.config/**"
],
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -24,6 +24,12 @@
".template.config/**"
],
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -24,6 +24,12 @@
".template.config/**"
],
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -12,8 +12,12 @@
<Compile Include="Program.fs" />
</ItemGroup>
<ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkOverride)' == ''">
<PackageReference Include="Microsoft.AspNetCore.All" Version="${MicrosoftAspNetCoreAllPackageVersion}" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFrameworkOverride)' != ''">
<PackageReference Include="Microsoft.AspNetCore" Version="${MicrosoftAspNetCorePackageVersion}" />
</ItemGroup>
</Project>

View File

@ -25,6 +25,12 @@
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -18,6 +18,18 @@
},
"sourceName": "Company.WebApplication1",
"preferNameDirectory": true,
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
}
]
}
],
"symbols": {
"RuntimeFrameworkVersion": {
"type": "parameter",

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -27,6 +27,12 @@
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(!IndividualAuth && !OrganizationalAuth)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -26,6 +26,12 @@
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(!IndividualAuth && !OrganizationalAuth)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -19,6 +19,18 @@
},
"sourceName": "Company.WebApplication1",
"preferNameDirectory": true,
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
}
]
}
],
"symbols": {
"ExcludeLaunchSettings": {
"type": "parameter",

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -26,6 +26,12 @@
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(windir == 'C:\\Windows')",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -18,6 +18,18 @@
},
"sourceName": "Company.WebApplication1",
"preferNameDirectory": true,
"sources": [
{
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
}
]
}
],
"symbols": {
"ExcludeLaunchSettings": {
"type": "parameter",

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -24,6 +24,12 @@
".template.config/**"
],
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -24,6 +24,12 @@
".template.config/**"
],
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>

View File

@ -24,6 +24,12 @@
".template.config/**"
],
"modifiers": [
{
"condition": "(TargetFrameworkOverride == '')",
"exclude": [
"app.config"
]
},
{
"condition": "(ExcludeLaunchSettings)",
"exclude": [

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<runtime>
<gcServer enabled="true"/>
</runtime>
</configuration>