The WpfEditor doesn't create a new device anymore every time it receives focus. StateObjects get recreated if the used device changes and they get disposed if the parent GraphicsDevice gets disposed.
141 lines
5.8 KiB
XML
141 lines
5.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<SchemaVersion>2.0</SchemaVersion>
|
|
<ProjectGuid>{EFC485F7-3E0A-40AB-B79D-E07FE86FC386}</ProjectGuid>
|
|
<OutputType>WinExe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>WpfEditor</RootNamespace>
|
|
<AssemblyName>WpfEditor</AssemblyName>
|
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
|
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
|
<FileAlignment>512</FileAlignment>
|
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<UseVSHostingProcess>true</UseVSHostingProcess>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
|
<PlatformTarget>x86</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<ApplicationIcon>anx.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<RunPostBuildEvent>Always</RunPostBuildEvent>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Windows.Forms" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="System.Xaml">
|
|
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
|
</Reference>
|
|
<Reference Include="WindowsBase" />
|
|
<Reference Include="PresentationCore" />
|
|
<Reference Include="PresentationFramework" />
|
|
<Reference Include="WindowsFormsIntegration" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ApplicationDefinition Include="App.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</ApplicationDefinition>
|
|
<Page Include="MainWindow.xaml">
|
|
<Generator>MSBuild:Compile</Generator>
|
|
<SubType>Designer</SubType>
|
|
</Page>
|
|
<Compile Include="App.xaml.cs">
|
|
<DependentUpon>App.xaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="MainWindow.xaml.cs">
|
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="Properties\AssemblyInfo.cs">
|
|
<SubType>Code</SubType>
|
|
</Compile>
|
|
<Compile Include="Properties\Resources.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DesignTime>True</DesignTime>
|
|
<DependentUpon>Resources.resx</DependentUpon>
|
|
</Compile>
|
|
<Compile Include="Properties\Settings.Designer.cs">
|
|
<AutoGen>True</AutoGen>
|
|
<DependentUpon>Settings.settings</DependentUpon>
|
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
|
</Compile>
|
|
<EmbeddedResource Include="Properties\Resources.resx">
|
|
<Generator>ResXFileCodeGenerator</Generator>
|
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
|
</EmbeddedResource>
|
|
<None Include="Properties\Settings.settings">
|
|
<Generator>SettingsSingleFileGenerator</Generator>
|
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
|
</None>
|
|
<AppDesigner Include="Properties\" />
|
|
</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.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.GL3">
|
|
<HintPath>..\..\bin\Debug\ANX.RenderSystem.GL3.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="ANX.SoundSystem.OpenAL">
|
|
<HintPath>..\..\bin\Debug\ANX.SoundSystem.OpenAL.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Resource Include="anx.ico" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\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> |