Skip to content

Commit ff42325

Browse files
committed
fix mono build errors
1 parent 8927aa8 commit ff42325

File tree

4 files changed

+71
-67
lines changed

4 files changed

+71
-67
lines changed

src/RazorRockstars/Mono/RazorRockstars.Console.Mono/AppHost.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ private static void Main(string[] args)
3838
appHost.Start("http://*:1337/");
3939
System.Console.WriteLine("Listening on http://localhost:1337/ ...");
4040
System.Console.ReadLine();
41+
System.Threading.Thread.Sleep(System.Threading.Timeout.Infinite);
4142
}
4243
}
4344

src/RazorRockstars/Mono/RazorRockstars.Console.Mono/RazorRockstars.Console.Mono.csproj

Lines changed: 30 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>RazorRockstars.Console</RootNamespace>
1212
<AssemblyName>RazorRockstars.Console</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14-
<TargetFrameworkProfile>
15-
</TargetFrameworkProfile>
1613
<FileAlignment>512</FileAlignment>
1714
</PropertyGroup>
1815
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1916
<PlatformTarget>x86</PlatformTarget>
20-
<DebugSymbols>true</DebugSymbols>
17+
<DebugSymbols>True</DebugSymbols>
2118
<DebugType>full</DebugType>
22-
<Optimize>false</Optimize>
19+
<Optimize>False</Optimize>
2320
<OutputPath>bin\Debug\</OutputPath>
2421
<DefineConstants>DEBUG;TRACE</DefineConstants>
2522
<ErrorReport>prompt</ErrorReport>
@@ -29,54 +26,54 @@
2926
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
3027
<PlatformTarget>AnyCPU</PlatformTarget>
3128
<DebugType>pdbonly</DebugType>
32-
<Optimize>true</Optimize>
29+
<Optimize>True</Optimize>
3330
<OutputPath>bin\Release\</OutputPath>
3431
<DefineConstants>TRACE</DefineConstants>
3532
<ErrorReport>prompt</ErrorReport>
3633
<WarningLevel>4</WarningLevel>
3734
</PropertyGroup>
3835
<ItemGroup>
36+
<Reference Include="System" />
37+
<Reference Include="System.Core" />
38+
<Reference Include="System.Runtime.Serialization" />
39+
<Reference Include="System.Xml.Linq" />
40+
<Reference Include="System.Data.DataSetExtensions" />
41+
<Reference Include="Microsoft.CSharp" />
42+
<Reference Include="System.Data" />
43+
<Reference Include="System.Xml" />
3944
<Reference Include="Mono.Data.Sqlite">
40-
<HintPath>..\packages\ServiceStack.OrmLite.Sqlite.Mono.3.9.3\lib\net35\Mono.Data.Sqlite.dll</HintPath>
41-
</Reference>
42-
<Reference Include="ServiceStack">
43-
<HintPath>..\packages\ServiceStack.3.9.2\lib\net40\ServiceStack.dll</HintPath>
45+
<HintPath>..\lib\Mono.Data.Sqlite.dll</HintPath>
4446
</Reference>
4547
<Reference Include="ServiceStack.Common">
46-
<HintPath>..\packages\ServiceStack.Common.3.9.0\lib\net35\ServiceStack.Common.dll</HintPath>
48+
<HintPath>..\lib\ServiceStack.Common.dll</HintPath>
4749
</Reference>
4850
<Reference Include="ServiceStack.Interfaces">
49-
<HintPath>..\packages\ServiceStack.Common.3.9.0\lib\net35\ServiceStack.Interfaces.dll</HintPath>
50-
</Reference>
51-
<Reference Include="ServiceStack.OrmLite, Version=3.9.2.0, Culture=neutral, processorArchitecture=MSIL">
52-
<HintPath>..\packages\ServiceStack.OrmLite.Sqlite.Mono.3.9.3\lib\net35\ServiceStack.OrmLite.dll</HintPath>
51+
<HintPath>..\lib\ServiceStack.Interfaces.dll</HintPath>
5352
</Reference>
5453
<Reference Include="ServiceStack.OrmLite.Sqlite">
55-
<HintPath>..\packages\ServiceStack.OrmLite.Sqlite.Mono.3.9.3\lib\net35\ServiceStack.OrmLite.Sqlite.dll</HintPath>
54+
<HintPath>..\lib\ServiceStack.OrmLite.Sqlite.dll</HintPath>
5655
</Reference>
57-
<Reference Include="ServiceStack.OrmLite.SqlServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
58-
<HintPath>..\packages\ServiceStack.OrmLite.SqlServer.3.9.2\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
56+
<Reference Include="ServiceStack.OrmLite">
57+
<HintPath>..\lib\ServiceStack.OrmLite.dll</HintPath>
5958
</Reference>
6059
<Reference Include="ServiceStack.Razor">
61-
<HintPath>..\packages\ServiceStack.3.9.2\lib\net40\ServiceStack.Razor.dll</HintPath>
62-
</Reference>
63-
<Reference Include="ServiceStack.Redis">
64-
<HintPath>..\packages\ServiceStack.Redis.3.9.0\lib\net35\ServiceStack.Redis.dll</HintPath>
60+
<HintPath>..\lib\ServiceStack.Razor.dll</HintPath>
6561
</Reference>
6662
<Reference Include="ServiceStack.ServiceInterface">
67-
<HintPath>..\packages\ServiceStack.3.9.2\lib\net40\ServiceStack.ServiceInterface.dll</HintPath>
63+
<HintPath>..\lib\ServiceStack.ServiceInterface.dll</HintPath>
6864
</Reference>
69-
<Reference Include="ServiceStack.Text, Version=3.9.0.0, Culture=neutral, processorArchitecture=MSIL">
70-
<HintPath>..\packages\ServiceStack.Text.3.9.2\lib\net35\ServiceStack.Text.dll</HintPath>
65+
<Reference Include="ServiceStack.Text">
66+
<HintPath>..\lib\ServiceStack.Text.dll</HintPath>
67+
</Reference>
68+
<Reference Include="ServiceStack">
69+
<HintPath>..\lib\ServiceStack.dll</HintPath>
70+
</Reference>
71+
<Reference Include="System.Web.Mvc">
72+
<HintPath>..\lib\System.Web.Mvc.dll</HintPath>
73+
</Reference>
74+
<Reference Include="System.Web.Razor">
75+
<HintPath>..\lib\System.Web.Razor.dll</HintPath>
7176
</Reference>
72-
<Reference Include="System" />
73-
<Reference Include="System.Core" />
74-
<Reference Include="System.Runtime.Serialization" />
75-
<Reference Include="System.Xml.Linq" />
76-
<Reference Include="System.Data.DataSetExtensions" />
77-
<Reference Include="Microsoft.CSharp" />
78-
<Reference Include="System.Data" />
79-
<Reference Include="System.Xml" />
8077
</ItemGroup>
8178
<ItemGroup>
8279
<Compile Include="AppHost.cs" />

src/RazorRockstars/RazorRockstars.Console/RazorRockstars.Console.csproj

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>RazorRockstars.Console</RootNamespace>
1212
<AssemblyName>RazorRockstars.Console</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14-
<TargetFrameworkProfile>
15-
</TargetFrameworkProfile>
1613
<FileAlignment>512</FileAlignment>
1714
</PropertyGroup>
1815
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
1916
<PlatformTarget>x86</PlatformTarget>
20-
<DebugSymbols>true</DebugSymbols>
17+
<DebugSymbols>True</DebugSymbols>
2118
<DebugType>full</DebugType>
22-
<Optimize>false</Optimize>
19+
<Optimize>False</Optimize>
2320
<OutputPath>bin\Debug\</OutputPath>
2421
<DefineConstants>DEBUG;TRACE</DefineConstants>
2522
<ErrorReport>prompt</ErrorReport>
@@ -29,7 +26,7 @@
2926
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
3027
<PlatformTarget>AnyCPU</PlatformTarget>
3128
<DebugType>pdbonly</DebugType>
32-
<Optimize>true</Optimize>
29+
<Optimize>True</Optimize>
3330
<OutputPath>bin\Release\</OutputPath>
3431
<DefineConstants>TRACE</DefineConstants>
3532
<ErrorReport>prompt</ErrorReport>
@@ -48,15 +45,9 @@
4845
<Reference Include="ServiceStack.Interfaces">
4946
<HintPath>..\packages\ServiceStack.Common.3.9.0\lib\net35\ServiceStack.Interfaces.dll</HintPath>
5047
</Reference>
51-
<Reference Include="ServiceStack.OrmLite, Version=3.9.2.0, Culture=neutral, processorArchitecture=MSIL">
52-
<HintPath>..\packages\ServiceStack.OrmLite.Sqlite.Mono.3.9.3\lib\net35\ServiceStack.OrmLite.dll</HintPath>
53-
</Reference>
5448
<Reference Include="ServiceStack.OrmLite.Sqlite">
5549
<HintPath>..\packages\ServiceStack.OrmLite.Sqlite.Mono.3.9.3\lib\net35\ServiceStack.OrmLite.Sqlite.dll</HintPath>
5650
</Reference>
57-
<Reference Include="ServiceStack.OrmLite.SqlServer, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
58-
<HintPath>..\packages\ServiceStack.OrmLite.SqlServer.3.9.2\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
59-
</Reference>
6051
<Reference Include="ServiceStack.Razor">
6152
<HintPath>..\packages\ServiceStack.3.9.2\lib\net40\ServiceStack.Razor.dll</HintPath>
6253
</Reference>
@@ -66,9 +57,6 @@
6657
<Reference Include="ServiceStack.ServiceInterface">
6758
<HintPath>..\packages\ServiceStack.3.9.2\lib\net40\ServiceStack.ServiceInterface.dll</HintPath>
6859
</Reference>
69-
<Reference Include="ServiceStack.Text, Version=3.9.0.0, Culture=neutral, processorArchitecture=MSIL">
70-
<HintPath>..\packages\ServiceStack.Text.3.9.2\lib\net35\ServiceStack.Text.dll</HintPath>
71-
</Reference>
7260
<Reference Include="System" />
7361
<Reference Include="System.Core" />
7462
<Reference Include="System.Runtime.Serialization" />
@@ -77,6 +65,15 @@
7765
<Reference Include="Microsoft.CSharp" />
7866
<Reference Include="System.Data" />
7967
<Reference Include="System.Xml" />
68+
<Reference Include="ServiceStack.OrmLite, Version=3.9.2.0, Culture=neutral, PublicKeyToken=null">
69+
<HintPath>..\packages\ServiceStack.OrmLite.Sqlite.Mono.3.9.3\lib\net35\ServiceStack.OrmLite.dll</HintPath>
70+
</Reference>
71+
<Reference Include="ServiceStack.OrmLite.SqlServer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
72+
<HintPath>..\packages\ServiceStack.OrmLite.SqlServer.3.9.2\lib\ServiceStack.OrmLite.SqlServer.dll</HintPath>
73+
</Reference>
74+
<Reference Include="ServiceStack.Text, Version=3.9.0.0, Culture=neutral, PublicKeyToken=null">
75+
<HintPath>..\packages\ServiceStack.Text.3.9.2\lib\net35\ServiceStack.Text.dll</HintPath>
76+
</Reference>
8077
</ItemGroup>
8178
<ItemGroup>
8279
<Compile Include="AppHost.cs" />

src/RazorRockstars/RazorRockstars.sln

Lines changed: 28 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
4-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorRockstars.Console", "RazorRockstars.Console\RazorRockstars.Console.csproj", "{30BA8DF9-4698-4051-B8E9-84C81E330E24}"
5-
EndProject
6-
Global
7-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8-
Debug|x86 = Debug|x86
9-
Release|x86 = Release|x86
10-
EndGlobalSection
11-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
12-
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Debug|x86.ActiveCfg = Debug|x86
13-
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Release|x86.ActiveCfg = Release|x86
14-
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Release|x86.Build.0 = Release|x86
15-
EndGlobalSection
16-
GlobalSection(SolutionProperties) = preSolution
17-
HideSolutionNode = FALSE
18-
EndGlobalSection
19-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 11.00
3+
# Visual Studio 2010
4+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorRockstars.Console", "RazorRockstars.Console\RazorRockstars.Console.csproj", "{30BA8DF9-4698-4051-B8E9-84C81E330E24}"
5+
EndProject
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RazorRockstars.Console.Mono", "Mono\RazorRockstars.Console.Mono\RazorRockstars.Console.Mono.csproj", "{30BA8DF9-4698-4051-B8E9-84C81E330E24}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|x86 = Debug|x86
11+
Release|x86 = Release|x86
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Debug|x86.ActiveCfg = Debug|x86
15+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Debug|x86.ActiveCfg = Debug|x86
16+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Debug|x86.Build.0 = Debug|x86
17+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Release|x86.ActiveCfg = Release|x86
18+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Release|x86.ActiveCfg = Release|x86
19+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Release|x86.Build.0 = Release|x86
20+
{30BA8DF9-4698-4051-B8E9-84C81E330E24}.Release|x86.Build.0 = Release|x86
21+
EndGlobalSection
22+
GlobalSection(MonoDevelopProperties) = preSolution
23+
StartupItem = Mono\RazorRockstars.Console.Mono\RazorRockstars.Console.Mono.csproj
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
EndGlobal

0 commit comments

Comments
 (0)