1<?xml version="1.0" encoding="utf-8"?>
2<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
3  <PropertyGroup>
4    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6    <ProductVersion>8.0.50727</ProductVersion>
7    <SchemaVersion>2.0</SchemaVersion>
8    <ProjectGuid>{F1E0F444-D09A-487E-8AFA-B8223E0D8671}</ProjectGuid>
9    <OutputType>WinExe</OutputType>
10    <AppDesignerFolder>Properties</AppDesignerFolder>
11    <RootNamespace>ObjectViewer</RootNamespace>
12    <AssemblyName>ObjectViewer</AssemblyName>
13    <StartupObject>
14    </StartupObject>
15    <ApplicationIcon>..\..\assets\icon.ico</ApplicationIcon>
16    <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
17    <NoStdLib>False</NoStdLib>
18    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
19    <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
20    <TargetFrameworkProfile />
21  </PropertyGroup>
22  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
23    <DebugSymbols>true</DebugSymbols>
24    <DebugType>full</DebugType>
25    <Optimize>false</Optimize>
26    <OutputPath>..\..\bin_debug\</OutputPath>
27    <PlatformTarget>x86</PlatformTarget>
28    <DefineConstants>TRACE;DEBUG</DefineConstants>
29    <ErrorReport>prompt</ErrorReport>
30    <WarningLevel>4</WarningLevel>
31    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
32    <LangVersion>6</LangVersion>
33    <Prefer32Bit>false</Prefer32Bit>
34  </PropertyGroup>
35  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
36    <DebugType>None</DebugType>
37    <Optimize>true</Optimize>
38    <OutputPath>..\..\bin_release\</OutputPath>
39    <PlatformTarget>x86</PlatformTarget>
40    <DefineConstants>TRACE</DefineConstants>
41    <ErrorReport>prompt</ErrorReport>
42    <WarningLevel>4</WarningLevel>
43    <DebugSymbols>false</DebugSymbols>
44    <LangVersion>6</LangVersion>
45    <Prefer32Bit>false</Prefer32Bit>
46  </PropertyGroup>
47  <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
48    <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
49  </PropertyGroup>
50  <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
51    <RegisterForComInterop>False</RegisterForComInterop>
52    <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
53    <BaseAddress>4194304</BaseAddress>
54    <FileAlignment>4096</FileAlignment>
55  </PropertyGroup>
56  <PropertyGroup>
57    <AllowedReferenceRelatedFileExtensions>
58        .pdb;
59        .xml;
60        .dll.config
61    </AllowedReferenceRelatedFileExtensions>
62  </PropertyGroup>
63  <ItemGroup>
64    <Reference Include="OpenTK, Version=3.3.2.0, Culture=neutral, PublicKeyToken=bad199fe84eb3df4, processorArchitecture=MSIL">
65      <HintPath>..\..\packages\OpenTK-OpenBVE.1.0.0\lib\net20\OpenTK.dll</HintPath>
66    </Reference>
67    <Reference Include="System" />
68    <Reference Include="System.Drawing" />
69    <Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
70      <HintPath>..\..\packages\System.ValueTuple.4.5.0\lib\net461\System.ValueTuple.dll</HintPath>
71    </Reference>
72    <Reference Include="System.Windows.Forms" />
73  </ItemGroup>
74  <ItemGroup>
75    <Compile Include="formOptions.cs">
76      <SubType>Form</SubType>
77    </Compile>
78    <Compile Include="formOptions.Designer.cs">
79      <DependentUpon>formOptions.cs</DependentUpon>
80    </Compile>
81    <Compile Include="formTrain.cs">
82      <SubType>Form</SubType>
83    </Compile>
84    <Compile Include="formTrain.Designer.cs">
85      <DependentUpon>formTrain.cs</DependentUpon>
86    </Compile>
87    <Compile Include="FunctionScripts.cs" />
88    <Compile Include="Graphics\NewRendererS.cs" />
89    <Compile Include="Graphics\ObjectOptimizationMode.cs" />
90    <Compile Include="Hosts.cs" />
91    <Compile Include="Options.cs" />
92    <Compile Include="System\GameWindow.cs" />
93    <Compile Include="ObjectManager.cs" />
94    <Compile Include="formMessages.cs">
95      <SubType>Form</SubType>
96    </Compile>
97    <Compile Include="formMessages.designer.cs">
98      <DependentUpon>formMessages.cs</DependentUpon>
99    </Compile>
100    <Compile Include="InterfaceS.cs" />
101    <Compile Include="ProgramS.cs" />
102    <Compile Include="Properties\AssemblyInfo.cs" />
103    <Compile Include="TrainManagerS.cs" />
104    <Compile Include="Trains\NearestTrain.cs" />
105    <Compile Include="Trains\NearestTrainSpecs.cs" />
106    <Compile Include="Trains\NearestTrainStatus.cs" />
107    <Compile Include="Trains\PluginState.cs" />
108  </ItemGroup>
109  <ItemGroup>
110    <EmbeddedResource Include="formMessages.resx">
111      <DependentUpon>formMessages.cs</DependentUpon>
112      <SubType>Designer</SubType>
113    </EmbeddedResource>
114    <EmbeddedResource Include="formOptions.resx">
115      <DependentUpon>formOptions.cs</DependentUpon>
116      <SubType>Designer</SubType>
117    </EmbeddedResource>
118    <EmbeddedResource Include="formTrain.resx">
119      <DependentUpon>formTrain.cs</DependentUpon>
120    </EmbeddedResource>
121  </ItemGroup>
122  <ItemGroup>
123    <ProjectReference Include="..\LibRender2\LibRender2.csproj">
124      <Project>{68215476-302c-49f2-9f7e-aae20a2b6b12}</Project>
125      <Name>LibRender2</Name>
126    </ProjectReference>
127    <ProjectReference Include="..\OpenBveApi\OpenBveApi.csproj">
128      <Project>{27134980-4415-4375-A564-40A9014DFA5F}</Project>
129      <Name>OpenBveApi</Name>
130    </ProjectReference>
131    <ProjectReference Include="..\RouteManager2\RouteManager2.csproj">
132      <Project>{4ef680d7-df17-4978-9872-133edc169b4b}</Project>
133      <Name>RouteManager2</Name>
134    </ProjectReference>
135    <ProjectReference Include="..\TrainManager\TrainManager.csproj">
136      <Project>{d0fca2c5-ff75-42d8-ae80-310280a61fb1}</Project>
137      <Name>TrainManager</Name>
138    </ProjectReference>
139  </ItemGroup>
140  <ItemGroup>
141    <None Include="app.config" />
142    <None Include="OpenTK.dll.config">
143      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
144    </None>
145    <None Include="packages.config" />
146  </ItemGroup>
147  <ItemGroup />
148  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
149  <Target Name="AfterBuild">
150    <!-- Copy in dependancies -->
151    <!-- NOTE: Whilst AtsPluginProxy.dll is Windows specific, we still want to copy it in the auto-generated nightly builds -->
152    <ItemGroup>
153      <AssetFiles Include="$(SolutionDir)assets\**\*.*" />
154    </ItemGroup>
155    <Copy SkipUnchangedFiles="true" SourceFiles="@(AssetFiles)" DestinationFiles="@(AssetFiles->'$(TargetDir)Data\%(RecursiveDir)%(Filename)%(Extension)')" />
156  </Target>
157</Project>