Made it possible to separate the InputDevices by their provider and set a preffered provider. Otherwise you are restricted to only having one input Device provider. Improved the error message if the WindowHandle on the InputDeviceFactory is invalid. Improved AssemblyLoader which was skipping the InputDevices.OpenTK assembly because the OpenTK assembly was blocked. Added ANX.Framework and SharpDX.Direct3D11.Effects to the ignore list. The AssemblyLoader is not static anymore (Only used in AddinSystemFactory) and it doesn't add the same assembly multiple times anymore. Additionally, if a type of an assembly couldn't be loaded, it throws now a TypeLoadException with the hint that a dependency might have been loaded in the wrong version. Refactored RenderSystem.GL3 with the latest changes on the effect system that have been done in the ANX.Framework.
204 lines
9.3 KiB
XML
204 lines
9.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<ProjectGuid>{A08575E0-7B21-4822-9D4C-6B9EEB7EFFF7}</ProjectGuid>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>WindowsGame1</RootNamespace>
|
|
<AssemblyName>WindowsGame1</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile>
|
|
</TargetFrameworkProfile>
|
|
<ApplicationIcon>anx.ico</ApplicationIcon>
|
|
<Thumbnail>GameThumbnail.png</Thumbnail>
|
|
<PublishUrl>publish\</PublishUrl>
|
|
<Install>true</Install>
|
|
<InstallFrom>Disk</InstallFrom>
|
|
<UpdateEnabled>false</UpdateEnabled>
|
|
<UpdateMode>Foreground</UpdateMode>
|
|
<UpdateInterval>7</UpdateInterval>
|
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
|
<UpdatePeriodically>false</UpdatePeriodically>
|
|
<UpdateRequired>false</UpdateRequired>
|
|
<MapFileExtensions>true</MapFileExtensions>
|
|
<ApplicationRevision>0</ApplicationRevision>
|
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
|
<UseApplicationTrust>false</UseApplicationTrust>
|
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\x86\Debug</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<NoStdLib>true</NoStdLib>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\x86\Release</OutputPath>
|
|
<DefineConstants>TRACE;WINDOWS</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<NoStdLib>true</NoStdLib>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'DebugWin8|x86'">
|
|
<OutputPath>bin\x86\DebugWin8\</OutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ReleaseWin8|x86'">
|
|
<OutputPath>bin\x86\ReleaseWin8\</OutputPath>
|
|
<DefineConstants>TRACE;WINDOWS</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<NoStdLib>true</NoStdLib>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<CodeAnalysisLogFile>bin\x86\Release\WindowsGame1.exe.CodeAnalysisLog.xml</CodeAnalysisLogFile>
|
|
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
|
|
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
|
|
<UseVSHostingProcess>false</UseVSHostingProcess>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
|
<CodeAnalysisRuleSetDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\\Rule Sets</CodeAnalysisRuleSetDirectories>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisRuleDirectories>;C:\Program Files (x86)\Microsoft Visual Studio 10.0\Team Tools\Static Analysis Tools\FxCop\\Rules</CodeAnalysisRuleDirectories>
|
|
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
|
|
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="mscorlib" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Net" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="AddInSelector.cs">
|
|
<SubType>Form</SubType>
|
|
</Compile>
|
|
<Compile Include="AddInSelector.Designer.cs">
|
|
<DependentUpon>AddInSelector.cs</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Game1.cs" />
|
|
<Compile Include="Resource1.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resource1.resx</DependentUpon>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="..\..\packages\SharpDX.Direct3D11.Effects.2.6.3\Content\sharpdx_direct3d11_effects_x64.dll">
|
|
<Link>sharpdx_direct3d11_effects_x64.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="..\..\packages\SharpDX.Direct3D11.Effects.2.6.3\Content\sharpdx_direct3d11_effects_x86.dll">
|
|
<Link>sharpdx_direct3d11_effects_x86.dll</Link>
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="anx.ico" />
|
|
<Content Include="GameThumbnail.png">
|
|
<XnaPlatformSpecific>true</XnaPlatformSpecific>
|
|
</Content>
|
|
<None Include="Resources\ANX.Framework.Logo_459x121.png" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="ANX.Framework">
|
|
<HintPath>..\..\bin\Debug\ANX.Framework.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.InputDevices.Windows.XInput">
|
|
<HintPath>..\..\bin\Debug\ANX.InputDevices.Windows.XInput.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.InputDevices.OpenTK">
|
|
<HintPath>..\..\bin\Debug\ANX.InputDevices.OpenTK.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.InputSystem.Standard">
|
|
<HintPath>..\..\bin\Debug\ANX.InputSystem.Standard.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.PlatformSystem.Windows">
|
|
<HintPath>..\..\bin\Debug\ANX.PlatformSystem.Windows.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.RenderSystem.Windows.DX10">
|
|
<HintPath>..\..\bin\Debug\ANX.RenderSystem.Windows.DX10.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.RenderSystem.Windows.DX11">
|
|
<HintPath>..\..\bin\Debug\ANX.RenderSystem.Windows.DX11.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.RenderSystem.GL3">
|
|
<HintPath>..\..\bin\Debug\ANX.RenderSystem.GL3.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.SoundSystem.Windows.XAudio">
|
|
<HintPath>..\..\bin\Debug\ANX.SoundSystem.Windows.XAudio.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.SoundSystem.Null">
|
|
<HintPath>..\..\bin\Debug\ANX.SoundSystem.Null.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.SoundSystem.OpenAL">
|
|
<HintPath>..\..\bin\Debug\ANX.SoundSystem.OpenAL.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
|
|
<Visible>False</Visible>
|
|
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 und x64%29</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
|
<Visible>False</Visible>
|
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
|
<Install>false</Install>
|
|
</BootstrapperPackage>
|
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
|
<Visible>False</Visible>
|
|
<ProductName>Windows Installer 3.1</ProductName>
|
|
<Install>true</Install>
|
|
</BootstrapperPackage>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="app.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<EmbeddedResource Include="AddInSelector.resx">
|
|
<DependentUpon>AddInSelector.cs</DependentUpon>
|
|
</EmbeddedResource>
|
|
<EmbeddedResource Include="Resource1.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resource1.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<PostBuildEvent>xcopy $(ProjectDir)..\SampleContent\bin\$(ConfigurationName) $(TargetDir)SampleContent\ /D /E /Y</PostBuildEvent>
|
|
</PropertyGroup>
|
|
<!--
|
|
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> |