diff options
author | nosami <jasonimison@gmail.com> | 2019-09-09 17:14:14 +0300 |
---|---|---|
committer | nosami <jasonimison@gmail.com> | 2019-09-11 18:53:23 +0300 |
commit | b1af91df1c0be3438fad5390eac01852530e07a5 (patch) | |
tree | d2bddefac0693a305ef4368c7e7da488918f5540 /main/tests/test-projects | |
parent | 87e854266e20f3ec3f0b51c08a53c386f8c5c432 (diff) |
Add solution with 2 aspnet projects
Diffstat (limited to 'main/tests/test-projects')
7 files changed, 120 insertions, 0 deletions
diff --git a/main/tests/test-projects/aspnetcore-two-projects/aspnetcore-two-projects.sln b/main/tests/test-projects/aspnetcore-two-projects/aspnetcore-two-projects.sln new file mode 100644 index 0000000000..6e9e9f22c8 --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/aspnetcore-two-projects.sln @@ -0,0 +1,23 @@ +
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "webapp1", "webapp1\webapp1.csproj", "{6534AC6B-9F2D-4020-9E5E-E04B91C6EFE6}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "webapp2", "webapp2\webapp2.csproj", "{EC4A855B-165E-404D-97D7-6BFEA7E8C0E7}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {6534AC6B-9F2D-4020-9E5E-E04B91C6EFE6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6534AC6B-9F2D-4020-9E5E-E04B91C6EFE6}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6534AC6B-9F2D-4020-9E5E-E04B91C6EFE6}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6534AC6B-9F2D-4020-9E5E-E04B91C6EFE6}.Release|Any CPU.Build.0 = Release|Any CPU
+ {EC4A855B-165E-404D-97D7-6BFEA7E8C0E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {EC4A855B-165E-404D-97D7-6BFEA7E8C0E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {EC4A855B-165E-404D-97D7-6BFEA7E8C0E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {EC4A855B-165E-404D-97D7-6BFEA7E8C0E7}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+EndGlobal
diff --git a/main/tests/test-projects/aspnetcore-two-projects/webapp1/Properties/launchSettings.json b/main/tests/test-projects/aspnetcore-two-projects/webapp1/Properties/launchSettings.json new file mode 100644 index 0000000000..c0c80297c6 --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/webapp1/Properties/launchSettings.json @@ -0,0 +1,27 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:64151", + "sslPort": 44387 + } + }, + "profiles": { + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + }, + "webapp1": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "https://localhost:5001;http://localhost:5000" + } + } +}
\ No newline at end of file diff --git a/main/tests/test-projects/aspnetcore-two-projects/webapp1/appsettings.Development.json b/main/tests/test-projects/aspnetcore-two-projects/webapp1/appsettings.Development.json new file mode 100644 index 0000000000..e203e9407e --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/webapp1/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } + } +} diff --git a/main/tests/test-projects/aspnetcore-two-projects/webapp1/webapp1.csproj b/main/tests/test-projects/aspnetcore-two-projects/webapp1/webapp1.csproj new file mode 100644 index 0000000000..8eacdc1c90 --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/webapp1/webapp1.csproj @@ -0,0 +1,11 @@ +<Project Sdk="Microsoft.NET.Sdk.Web"> + + <PropertyGroup> + <TargetFramework>netcoreapp3.0</TargetFramework> + </PropertyGroup> + + + <ItemGroup> + </ItemGroup> + +</Project> diff --git a/main/tests/test-projects/aspnetcore-two-projects/webapp2/Properties/launchSettings.json b/main/tests/test-projects/aspnetcore-two-projects/webapp2/Properties/launchSettings.json new file mode 100644 index 0000000000..ff088efe1e --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/webapp2/Properties/launchSettings.json @@ -0,0 +1,27 @@ +{ + "iisSettings": { + "windowsAuthentication": false, + "anonymousAuthentication": true, + "iisExpress": { + "applicationUrl": "http://localhost:34948", + "sslPort": 44327 + } + }, + "profiles": { + "webapp2": { + "commandName": "Project", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "applicationUrl": "https://localhost:5001;http://localhost:5000" + }, + "IIS Express": { + "commandName": "IISExpress", + "launchBrowser": true, + "environmentVariables": { + "ASPNETCORE_ENVIRONMENT": "Development" + } + } + } +}
\ No newline at end of file diff --git a/main/tests/test-projects/aspnetcore-two-projects/webapp2/appsettings.Development.json b/main/tests/test-projects/aspnetcore-two-projects/webapp2/appsettings.Development.json new file mode 100644 index 0000000000..e203e9407e --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/webapp2/appsettings.Development.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Debug", + "System": "Information", + "Microsoft": "Information" + } + } +} diff --git a/main/tests/test-projects/aspnetcore-two-projects/webapp2/webapp2.csproj b/main/tests/test-projects/aspnetcore-two-projects/webapp2/webapp2.csproj new file mode 100644 index 0000000000..8f4dd9553e --- /dev/null +++ b/main/tests/test-projects/aspnetcore-two-projects/webapp2/webapp2.csproj @@ -0,0 +1,14 @@ +<Project Sdk="Microsoft.NET.Sdk.Web"> + + <PropertyGroup> + <TargetFramework>netcoreapp3.0</TargetFramework> + </PropertyGroup> + + + <ItemGroup> + </ItemGroup> + + <ItemGroup> + <Content Remove="appsettings.Development.json" /> + </ItemGroup> +</Project> |