summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/MSVC
diff options
context:
space:
mode:
authorPete Hurst <pete@streamuniverse.tv>2013-05-24 11:06:14 +0100
committerPete Hurst <pete@streamuniverse.tv>2013-05-24 11:06:14 +0100
commit6728510726632db6a992894da78fd5091f19cdaf (patch)
tree849636ec8508fd9a0b74482f467bcaac2a76e958 /crawl-ref/source/MSVC
parent67393a6adf15effb1fbf52bf6c0affd4cd0cb5a2 (diff)
downloadcrawl-ref-6728510726632db6a992894da78fd5091f19cdaf.tar.gz
crawl-ref-6728510726632db6a992894da78fd5091f19cdaf.zip
Add MSVC projects for dat/ folder and webserver/ folder
These are purely for ease of editing. The webserver cannot be run in any form from Visual Studio at this stage. However, Visual Studio offers Intellisense and other editing features for the HTML/Javascript in the webserver, and additionally extensions can be installed for Lua and Python syntax highlighting. If you are globally searching for strings, it's often very useful to have these files included in such global searches.
Diffstat (limited to 'crawl-ref/source/MSVC')
-rw-r--r--crawl-ref/source/MSVC/.gitignore1
-rw-r--r--crawl-ref/source/MSVC/crawl-ref.sln106
-rw-r--r--crawl-ref/source/MSVC/dat.csproj44
-rw-r--r--crawl-ref/source/MSVC/webserver/Properties/AssemblyInfo.cs35
-rw-r--r--crawl-ref/source/MSVC/webserver/Web.Debug.config30
-rw-r--r--crawl-ref/source/MSVC/webserver/Web.Release.config31
-rw-r--r--crawl-ref/source/MSVC/webserver/Web.config14
-rw-r--r--crawl-ref/source/MSVC/webserver/webserver.csproj110
8 files changed, 370 insertions, 1 deletions
diff --git a/crawl-ref/source/MSVC/.gitignore b/crawl-ref/source/MSVC/.gitignore
index d8b9672b54..1ecf194535 100644
--- a/crawl-ref/source/MSVC/.gitignore
+++ b/crawl-ref/source/MSVC/.gitignore
@@ -8,3 +8,4 @@ compflag.h
*.opensdf
*.sdf
*.vcxproj.user
+*.csproj.user
diff --git a/crawl-ref/source/MSVC/crawl-ref.sln b/crawl-ref/source/MSVC/crawl-ref.sln
index e613263554..5d7c2da1db 100644
--- a/crawl-ref/source/MSVC/crawl-ref.sln
+++ b/crawl-ref/source/MSVC/crawl-ref.sln
@@ -1,34 +1,138 @@

Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Express 2012 for Windows Desktop
+# Visual Studio 2012
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "crawl", "crawl.vcxproj", "{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tilegen", "tilegen.vcxproj", "{DAE92A45-087B-445B-8E94-BA864173A73F}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dat", "dat.csproj", "{9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "webserver", "webserver\webserver.csproj", "{8A2A2253-1C57-42B9-AAF9-375AD2546297}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug Tiles|Any CPU = Debug Tiles|Any CPU
+ Debug Tiles|Mixed Platforms = Debug Tiles|Mixed Platforms
Debug Tiles|Win32 = Debug Tiles|Win32
Debug Tiles|x64 = Debug Tiles|x64
+ Debug|Any CPU = Debug|Any CPU
+ Debug|Mixed Platforms = Debug|Mixed Platforms
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release Tiles|Any CPU = Release Tiles|Any CPU
+ Release Tiles|Mixed Platforms = Release Tiles|Mixed Platforms
Release Tiles|Win32 = Release Tiles|Win32
Release Tiles|x64 = Release Tiles|x64
+ Release|Any CPU = Release|Any CPU
+ Release|Mixed Platforms = Release|Mixed Platforms
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|Any CPU.ActiveCfg = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|Mixed Platforms.ActiveCfg = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|Mixed Platforms.Build.0 = Debug Tiles|Win32
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|Win32.ActiveCfg = Debug Tiles|Win32
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|Win32.Build.0 = Debug Tiles|Win32
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|x64.ActiveCfg = Debug Tiles|x64
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug Tiles|x64.Build.0 = Debug Tiles|x64
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|Any CPU.ActiveCfg = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|Mixed Platforms.ActiveCfg = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|Mixed Platforms.Build.0 = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|Win32.ActiveCfg = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|Win32.Build.0 = Debug Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|x64.ActiveCfg = Debug Tiles|x64
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Debug|x64.Build.0 = Debug Tiles|x64
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|Any CPU.ActiveCfg = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|Mixed Platforms.ActiveCfg = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|Mixed Platforms.Build.0 = Release Tiles|Win32
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|Win32.ActiveCfg = Release Tiles|Win32
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|Win32.Build.0 = Release Tiles|Win32
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|x64.ActiveCfg = Release Tiles|x64
{3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release Tiles|x64.Build.0 = Release Tiles|x64
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|Any CPU.ActiveCfg = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|Mixed Platforms.ActiveCfg = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|Mixed Platforms.Build.0 = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|Win32.ActiveCfg = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|Win32.Build.0 = Release Tiles|Win32
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|x64.ActiveCfg = Release Tiles|x64
+ {3189AF12-90EF-4D3E-BFEC-4AB90D7D32DA}.Release|x64.Build.0 = Release Tiles|x64
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|Any CPU.ActiveCfg = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|Mixed Platforms.ActiveCfg = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|Mixed Platforms.Build.0 = Debug|Win32
{DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|Win32.ActiveCfg = Debug|Win32
{DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|Win32.Build.0 = Debug|Win32
{DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|x64.ActiveCfg = Debug|x64
{DAE92A45-087B-445B-8E94-BA864173A73F}.Debug Tiles|x64.Build.0 = Debug|x64
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|Any CPU.ActiveCfg = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|Mixed Platforms.Build.0 = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|Win32.ActiveCfg = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|Win32.Build.0 = Debug|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|x64.ActiveCfg = Debug|x64
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Debug|x64.Build.0 = Debug|x64
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|Any CPU.ActiveCfg = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|Mixed Platforms.ActiveCfg = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|Mixed Platforms.Build.0 = Release|Win32
{DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|Win32.ActiveCfg = Release|Win32
{DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|Win32.Build.0 = Release|Win32
{DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|x64.ActiveCfg = Release|x64
{DAE92A45-087B-445B-8E94-BA864173A73F}.Release Tiles|x64.Build.0 = Release|x64
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|Any CPU.ActiveCfg = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|Mixed Platforms.ActiveCfg = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|Mixed Platforms.Build.0 = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|Win32.ActiveCfg = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|Win32.Build.0 = Release|Win32
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|x64.ActiveCfg = Release|x64
+ {DAE92A45-087B-445B-8E94-BA864173A73F}.Release|x64.Build.0 = Release|x64
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug Tiles|Any CPU.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug Tiles|Any CPU.Build.0 = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug Tiles|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug Tiles|Mixed Platforms.Build.0 = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug Tiles|Win32.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug Tiles|x64.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release Tiles|Any CPU.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release Tiles|Any CPU.Build.0 = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release Tiles|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release Tiles|Mixed Platforms.Build.0 = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release Tiles|Win32.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release Tiles|x64.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release|Win32.ActiveCfg = Release|Any CPU
+ {9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}.Release|x64.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug Tiles|Any CPU.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug Tiles|Any CPU.Build.0 = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug Tiles|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug Tiles|Mixed Platforms.Build.0 = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug Tiles|Win32.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug Tiles|x64.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release Tiles|Any CPU.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release Tiles|Any CPU.Build.0 = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release Tiles|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release Tiles|Mixed Platforms.Build.0 = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release Tiles|Win32.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release Tiles|x64.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release|Win32.ActiveCfg = Release|Any CPU
+ {8A2A2253-1C57-42B9-AAF9-375AD2546297}.Release|x64.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/crawl-ref/source/MSVC/dat.csproj b/crawl-ref/source/MSVC/dat.csproj
new file mode 100644
index 0000000000..5eaaf2135e
--- /dev/null
+++ b/crawl-ref/source/MSVC/dat.csproj
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{9DE3AEDA-F688-4F7D-9880-CC23AABDE45B}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>dat</RootNamespace>
+ <AssemblyName>dat</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Content Include="..\dat\**\*.*">
+ <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
+ </Content>
+ </ItemGroup>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project> \ No newline at end of file
diff --git a/crawl-ref/source/MSVC/webserver/Properties/AssemblyInfo.cs b/crawl-ref/source/MSVC/webserver/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000000..fc796b916e
--- /dev/null
+++ b/crawl-ref/source/MSVC/webserver/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("webserver")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("webserver")]
+[assembly: AssemblyCopyright("Copyright © 2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("7fe9d0f5-2e96-4175-bf71-05ba4b2511f3")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Revision and Build Numbers
+// by using the '*' as shown below:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/crawl-ref/source/MSVC/webserver/Web.Debug.config b/crawl-ref/source/MSVC/webserver/Web.Debug.config
new file mode 100644
index 0000000000..24f336cd6e
--- /dev/null
+++ b/crawl-ref/source/MSVC/webserver/Web.Debug.config
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
+
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <!--
+ In the example below, the "SetAttributes" transform will change the value of
+ "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
+ finds an attribute "name" that has a value of "MyDB".
+
+ <connectionStrings>
+ <add name="MyDB"
+ connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
+ xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
+ </connectionStrings>
+ -->
+ <system.web>
+ <!--
+ In the example below, the "Replace" transform will replace the entire
+ <customErrors> section of your web.config file.
+ Note that because there is only one customErrors section under the
+ <system.web> node, there is no need to use the "xdt:Locator" attribute.
+
+ <customErrors defaultRedirect="GenericError.htm"
+ mode="RemoteOnly" xdt:Transform="Replace">
+ <error statusCode="500" redirect="InternalError.htm"/>
+ </customErrors>
+ -->
+ </system.web>
+</configuration> \ No newline at end of file
diff --git a/crawl-ref/source/MSVC/webserver/Web.Release.config b/crawl-ref/source/MSVC/webserver/Web.Release.config
new file mode 100644
index 0000000000..a6579812d9
--- /dev/null
+++ b/crawl-ref/source/MSVC/webserver/Web.Release.config
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
+
+<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
+ <!--
+ In the example below, the "SetAttributes" transform will change the value of
+ "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
+ finds an attribute "name" that has a value of "MyDB".
+
+ <connectionStrings>
+ <add name="MyDB"
+ connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
+ xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
+ </connectionStrings>
+ -->
+ <system.web>
+ <compilation xdt:Transform="RemoveAttributes(debug)" />
+ <!--
+ In the example below, the "Replace" transform will replace the entire
+ <customErrors> section of your web.config file.
+ Note that because there is only one customErrors section under the
+ <system.web> node, there is no need to use the "xdt:Locator" attribute.
+
+ <customErrors defaultRedirect="GenericError.htm"
+ mode="RemoteOnly" xdt:Transform="Replace">
+ <error statusCode="500" redirect="InternalError.htm"/>
+ </customErrors>
+ -->
+ </system.web>
+</configuration> \ No newline at end of file
diff --git a/crawl-ref/source/MSVC/webserver/Web.config b/crawl-ref/source/MSVC/webserver/Web.config
new file mode 100644
index 0000000000..122c40cc6a
--- /dev/null
+++ b/crawl-ref/source/MSVC/webserver/Web.config
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+
+<!--
+ For more information on how to configure your ASP.NET application, please visit
+ http://go.microsoft.com/fwlink/?LinkId=169433
+ -->
+
+<configuration>
+ <system.web>
+ <compilation debug="true" targetFramework="4.5" />
+ <httpRuntime targetFramework="4.5" />
+ </system.web>
+
+</configuration>
diff --git a/crawl-ref/source/MSVC/webserver/webserver.csproj b/crawl-ref/source/MSVC/webserver/webserver.csproj
new file mode 100644
index 0000000000..c02f1b936d
--- /dev/null
+++ b/crawl-ref/source/MSVC/webserver/webserver.csproj
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>
+ </ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{8A2A2253-1C57-42B9-AAF9-375AD2546297}</ProjectGuid>
+ <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>webserver</RootNamespace>
+ <AssemblyName>webserver</AssemblyName>
+ <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+ <UseIISExpress>true</UseIISExpress>
+ <IISExpressSSLPort />
+ <IISExpressAnonymousAuthentication />
+ <IISExpressWindowsAuthentication />
+ <IISExpressUseClassicPipelineMode />
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Web.DynamicData" />
+ <Reference Include="System.Web.Entity" />
+ <Reference Include="System.Web.ApplicationServices" />
+ <Reference Include="System.ComponentModel.DataAnnotations" />
+ <Reference Include="System" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="System.Web.Extensions" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Drawing" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Configuration" />
+ <Reference Include="System.Web.Services" />
+ <Reference Include="System.EnterpriseServices" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Web.config" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Web.Debug.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </None>
+ <None Include="Web.Release.config">
+ <DependentUpon>Web.config</DependentUpon>
+ </None>
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="..\..\webserver\**\*.*">
+ <Link>%(RecursiveDir)%(FileName)%(Extension)</Link>
+ </Content>
+ </ItemGroup>
+ <PropertyGroup>
+ <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
+ <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
+ </PropertyGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
+ <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
+ <ProjectExtensions>
+ <VisualStudio>
+ <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
+ <WebProjectProperties>
+ <UseIIS>True</UseIIS>
+ <AutoAssignPort>True</AutoAssignPort>
+ <DevelopmentServerPort>0</DevelopmentServerPort>
+ <DevelopmentServerVPath>/</DevelopmentServerVPath>
+ <IISUrl>http://localhost:59928/</IISUrl>
+ <NTLMAuthentication>False</NTLMAuthentication>
+ <UseCustomServer>False</UseCustomServer>
+ <CustomServerUrl>
+ </CustomServerUrl>
+ <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
+ </WebProjectProperties>
+ </FlavorProperties>
+ </VisualStudio>
+ </ProjectExtensions>
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project> \ No newline at end of file