Skip to content

Commit 60a9eee

Browse files
committed
Conver to SelfHost project
1 parent 5b11e9f commit 60a9eee

5 files changed

Lines changed: 50 additions & 8 deletions

File tree

src/ServiceStack.Core.sln

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "Mvc.Core.Tests", "..\tests\
6060
EndProject
6161
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ServiceStack.Mvc", "ServiceStack.Mvc\ServiceStack.Mvc.xproj", "{1763A1CD-95A4-47B6-95B4-A6D39AA9EF2D}"
6262
EndProject
63-
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ChatSelfHost", "..\tests\ChatSelfHost\ChatSelfHost.xproj", "{80869D50-8823-4EEA-9B84-27200D35F663}"
63+
Project("{8BB2217D-0F2D-49D1-97BC-3654ED321F3B}") = "ChatSelfHost", "..\tests\ChatSelfHost\ChatSelfHost.xproj", "{0848319C-7A4C-4135-B14E-8376AD7AD7CE}"
6464
EndProject
6565
Global
6666
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -140,10 +140,10 @@ Global
140140
{1763A1CD-95A4-47B6-95B4-A6D39AA9EF2D}.Debug|Any CPU.Build.0 = Debug|Any CPU
141141
{1763A1CD-95A4-47B6-95B4-A6D39AA9EF2D}.Release|Any CPU.ActiveCfg = Release|Any CPU
142142
{1763A1CD-95A4-47B6-95B4-A6D39AA9EF2D}.Release|Any CPU.Build.0 = Release|Any CPU
143-
{80869D50-8823-4EEA-9B84-27200D35F663}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
144-
{80869D50-8823-4EEA-9B84-27200D35F663}.Debug|Any CPU.Build.0 = Debug|Any CPU
145-
{80869D50-8823-4EEA-9B84-27200D35F663}.Release|Any CPU.ActiveCfg = Release|Any CPU
146-
{80869D50-8823-4EEA-9B84-27200D35F663}.Release|Any CPU.Build.0 = Release|Any CPU
143+
{0848319C-7A4C-4135-B14E-8376AD7AD7CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
144+
{0848319C-7A4C-4135-B14E-8376AD7AD7CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
145+
{0848319C-7A4C-4135-B14E-8376AD7AD7CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
146+
{0848319C-7A4C-4135-B14E-8376AD7AD7CE}.Release|Any CPU.Build.0 = Release|Any CPU
147147
EndGlobalSection
148148
GlobalSection(SolutionProperties) = preSolution
149149
HideSolutionNode = FALSE
@@ -153,6 +153,6 @@ Global
153153
{C3CF7287-E1A1-4C01-A43B-D27B6A0C3218} = {312EC6C7-3026-472C-85A1-8189207DA807}
154154
{97002C10-48C4-4711-961B-F3E3D4FC3E4E} = {312EC6C7-3026-472C-85A1-8189207DA807}
155155
{F62296EA-27ED-46F7-8782-E84555AB4438} = {43C8BF0C-1B57-4B1F-A5D2-6010B93C791A}
156-
{80869D50-8823-4EEA-9B84-27200D35F663} = {43C8BF0C-1B57-4B1F-A5D2-6010B93C791A}
156+
{0848319C-7A4C-4135-B14E-8376AD7AD7CE} = {43C8BF0C-1B57-4B1F-A5D2-6010B93C791A}
157157
EndGlobalSection
158158
EndGlobal
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0.25420" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">14.0.25420</VisualStudioVersion>
5+
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
6+
</PropertyGroup>
7+
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
8+
<PropertyGroup Label="Globals">
9+
<ProjectGuid>0848319c-7a4c-4135-b14e-8376ad7ad7ce</ProjectGuid>
10+
<RootNamespace>ChatSelfHost</RootNamespace>
11+
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
12+
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
13+
</PropertyGroup>
14+
15+
<PropertyGroup>
16+
<SchemaVersion>2.0</SchemaVersion>
17+
</PropertyGroup>
18+
<Import Project="$(VSToolsPath)\DotNet.Web\Microsoft.DotNet.Web.targets" Condition="'$(VSToolsPath)' != ''" />
19+
</Project>

tests/ChatSelfHost/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3+
using System.Diagnostics;
34
using System.IO;
45
using System.Linq;
56
using System.Threading.Tasks;
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"iisSettings": {
3+
"windowsAuthentication": false,
4+
"anonymousAuthentication": true,
5+
"iisExpress": {
6+
"applicationUrl": "http://localhost:13377/",
7+
"sslPort": 0
8+
}
9+
},
10+
"profiles": {
11+
"IIS Express": {
12+
"commandName": "IISExpress",
13+
"launchBrowser": true,
14+
"environmentVariables": {
15+
"ASPNETCORE_ENVIRONMENT": "Development"
16+
}
17+
},
18+
"ChatSelfHost": {
19+
"commandName": "Project",
20+
"launchBrowser": true,
21+
"launchUrl": "http://localhost:1337/"
22+
}
23+
}
24+
}

tests/ChatSelfHost/project.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"version": "1.0.0-preview2-final",
1414
"type": "build"
1515
},
16-
"Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
1716
"Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
1817
"Microsoft.Extensions.Logging.Console": "1.0.0",
1918
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0",
@@ -30,7 +29,6 @@
3029
"tools": {
3130
"BundlerMinifier.Core": "2.0.238",
3231
"Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final",
33-
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final"
3432
},
3533

3634
"frameworks": {

0 commit comments

Comments
 (0)