OSDN Git Service

#39490 環境によっては同じ名前のWASAPIデバイスが複数定義されている場合に対応。 実際に利用可能なWASAPIデバイスのみ利用する。
[dtxmania/dtxmania.git] / FDK / FDK.csproj
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <PropertyGroup>
4     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6     <ProductVersion>9.0.30729</ProductVersion>
7     <SchemaVersion>2.0</SchemaVersion>
8     <ProjectGuid>{BCD40908-F3E2-4707-BFAA-1DD99DF6357D}</ProjectGuid>
9     <OutputType>Library</OutputType>
10     <AppDesignerFolder>Properties</AppDesignerFolder>
11     <RootNamespace>FDK</RootNamespace>
12     <AssemblyName>FDK</AssemblyName>
13     <TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
14     <FileAlignment>512</FileAlignment>
15     <SignAssembly>true</SignAssembly>
16     <AssemblyOriginatorKeyFile>
17     </AssemblyOriginatorKeyFile>
18     <ApplicationIcon>
19     </ApplicationIcon>
20     <FileUpgradeFlags>
21     </FileUpgradeFlags>
22     <UpgradeBackupLocation>
23     </UpgradeBackupLocation>
24     <OldToolsVersion>3.5</OldToolsVersion>
25     <TargetFrameworkProfile />
26     <PublishUrl>publish\</PublishUrl>
27     <Install>true</Install>
28     <InstallFrom>Disk</InstallFrom>
29     <UpdateEnabled>false</UpdateEnabled>
30     <UpdateMode>Foreground</UpdateMode>
31     <UpdateInterval>7</UpdateInterval>
32     <UpdateIntervalUnits>Days</UpdateIntervalUnits>
33     <UpdatePeriodically>false</UpdatePeriodically>
34     <UpdateRequired>false</UpdateRequired>
35     <MapFileExtensions>true</MapFileExtensions>
36     <ApplicationRevision>0</ApplicationRevision>
37     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
38     <IsWebBootstrapper>false</IsWebBootstrapper>
39     <UseApplicationTrust>false</UseApplicationTrust>
40     <BootstrapperEnabled>true</BootstrapperEnabled>
41   </PropertyGroup>
42   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
43     <OutputPath>bin\Debug\</OutputPath>
44     <DefineConstants>TRACE;DEBUG;TEST_CancelEnterCodeInAltEnter2 TEST_Direct3D9Ex_ TEST_MultiThreadedMixer_</DefineConstants>
45     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
46     <NoWarn>0219</NoWarn>
47     <DebugType>full</DebugType>
48     <PlatformTarget>AnyCPU</PlatformTarget>
49     <UseVSHostingProcess>false</UseVSHostingProcess>
50     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
51   </PropertyGroup>
52   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
53     <DebugSymbols>true</DebugSymbols>
54     <OutputPath>bin\Release\</OutputPath>
55     <DefineConstants>TRACE;TEST_ENGLISH_ TEST_Direct3D9Ex_</DefineConstants>
56     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
57     <Optimize>true</Optimize>
58     <NoWarn>0219</NoWarn>
59     <DebugType>pdbonly</DebugType>
60     <PlatformTarget>AnyCPU</PlatformTarget>
61     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
62   </PropertyGroup>
63   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
64     <OutputPath>bin\x64\Debug\</OutputPath>
65     <DefineConstants>TRACE;DEBUG;TEST_CancelEnterCodeInAltEnter2 TEST_Direct3D9Ex_ TEST_MultiThreadedMixer_</DefineConstants>
66     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
67     <NoWarn>0219</NoWarn>
68     <DebugType>full</DebugType>
69     <PlatformTarget>x64</PlatformTarget>
70     <UseVSHostingProcess>false</UseVSHostingProcess>
71     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
72   </PropertyGroup>
73   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
74     <DebugSymbols>true</DebugSymbols>
75     <OutputPath>bin\x64\Release\</OutputPath>
76     <DefineConstants>TRACE;TEST_ENGLISH_ TEST_Direct3D9Ex_</DefineConstants>
77     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
78     <Optimize>true</Optimize>
79     <NoWarn>0219</NoWarn>
80     <DebugType>pdbonly</DebugType>
81     <PlatformTarget>x64</PlatformTarget>
82     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
83   </PropertyGroup>
84   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
85     <OutputPath>bin\x86\Debug\</OutputPath>
86     <DefineConstants>TRACE;DEBUG;TEST_CancelEnterCodeInAltEnter2 TEST_Direct3D9Ex_ TEST_MultiThreadedMixer_</DefineConstants>
87     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
88     <NoWarn>0219</NoWarn>
89     <DebugType>full</DebugType>
90     <PlatformTarget>x86</PlatformTarget>
91     <UseVSHostingProcess>false</UseVSHostingProcess>
92     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
93   </PropertyGroup>
94   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
95     <DebugSymbols>true</DebugSymbols>
96     <OutputPath>bin\x86\Release\</OutputPath>
97     <DefineConstants>TRACE;TEST_ENGLISH_ TEST_Direct3D9Ex_</DefineConstants>
98     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99     <Optimize>true</Optimize>
100     <NoWarn>0219</NoWarn>
101     <DebugType>pdbonly</DebugType>
102     <PlatformTarget>x86</PlatformTarget>
103     <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
104   </PropertyGroup>
105   <ItemGroup>
106     <Reference Include="Bass.Net, Version=2.4.12.7, Culture=neutral, PublicKeyToken=b7566c273e6ef480, processorArchitecture=MSIL">
107       <SpecificVersion>False</SpecificVersion>
108       <HintPath>..\RuntimeResources\dll\Bass.Net.dll</HintPath>
109     </Reference>
110     <Reference Include="DirectShowLib, Version=2.1.0.1599, Culture=neutral, processorArchitecture=MSIL">
111       <HintPath>..\packages\DirectShowLib.1.0.0\lib\DirectShowLib.dll</HintPath>
112     </Reference>
113     <Reference Include="SharpDX, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
114       <HintPath>..\packages\SharpDX.4.0.1\lib\net45\SharpDX.dll</HintPath>
115     </Reference>
116     <Reference Include="SharpDX.Direct3D9, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
117       <HintPath>..\packages\SharpDX.Direct3D9.4.0.1\lib\net45\SharpDX.Direct3D9.dll</HintPath>
118     </Reference>
119     <Reference Include="SharpDX.DirectInput, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
120       <HintPath>..\packages\SharpDX.DirectInput.4.0.1\lib\net45\SharpDX.DirectInput.dll</HintPath>
121     </Reference>
122     <Reference Include="SharpDX.DirectSound, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
123       <HintPath>..\packages\SharpDX.DirectSound.4.0.1\lib\net45\SharpDX.DirectSound.dll</HintPath>
124     </Reference>
125     <Reference Include="SharpDX.DXGI, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
126       <HintPath>..\packages\SharpDX.DXGI.4.0.1\lib\net45\SharpDX.DXGI.dll</HintPath>
127     </Reference>
128     <Reference Include="SharpDX.Mathematics, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b4dcf0f35e5521f1, processorArchitecture=MSIL">
129       <HintPath>..\packages\SharpDX.Mathematics.4.0.1\lib\net45\SharpDX.Mathematics.dll</HintPath>
130     </Reference>
131     <Reference Include="System" />
132     <Reference Include="System.Data" />
133     <Reference Include="System.Drawing" />
134     <Reference Include="System.Management" />
135     <Reference Include="System.Windows.Forms" />
136     <Reference Include="System.Xml" />
137   </ItemGroup>
138   <ItemGroup>
139     <Compile Include="コード\00.共通\COS.cs" />
140     <Compile Include="コード\00.共通\CPowerManagement.cs" />
141     <Compile Include="コード\00.共通\CPowerPlan.cs" />
142     <Compile Include="コード\00.共通\CSendMessage.cs" />
143     <Compile Include="コード\00.共通\CTimerBase.cs" />
144     <Compile Include="コード\00.共通\C一定間隔処理.cs" />
145     <Compile Include="コード\00.共通\C共通.cs" />
146     <Compile Include="コード\01.フレームワーク\Core\GameWindowSize.cs" />
147     <Compile Include="コード\01.フレームワーク\Core\Game.cs" />
148     <Compile Include="コード\01.フレームワーク\Core\GameClock.cs" />
149     <Compile Include="コード\01.フレームワーク\Core\GameTime.cs" />
150     <Compile Include="コード\01.フレームワーク\Core\GameWindow.cs">
151       <SubType>Form</SubType>
152     </Compile>
153     <Compile Include="コード\01.フレームワーク\DeviceSettings\ConversionMethods.cs" />
154     <Compile Include="コード\01.フレームワーク\DeviceSettings\DeviceSettings.cs" />
155     <Compile Include="コード\01.フレームワーク\DeviceSettings\Direct3D9Settings.cs" />
156     <Compile Include="コード\01.フレームワーク\Enumeration\Enumeration9.cs" />
157     <Compile Include="コード\01.フレームワーク\Properties\Resources.Designer.cs" />
158     <Compile Include="コード\01.フレームワーク\Rendering\DeviceCreationException.cs" />
159     <Compile Include="コード\01.フレームワーク\Rendering\Direct3D9Manager.cs" />
160     <Compile Include="コード\01.フレームワーク\Rendering\Enums.cs" />
161     <Compile Include="コード\01.フレームワーク\Rendering\GraphicsDeviceManager.cs" />
162     <Compile Include="コード\01.フレームワーク\Rendering\NoCompatibleDevicesException.cs" />
163     <Compile Include="コード\01.フレームワーク\Rendering\VertexElementAttribute.cs" />
164     <Compile Include="コード\01.フレームワーク\Utilities\Camera.cs" />
165     <Compile Include="コード\01.フレームワーク\Utilities\TransformedColoredTexturedVertex.cs" />
166     <Compile Include="コード\01.フレームワーク\Utilities\TransformedColoredVertex.cs" />
167     <Compile Include="コード\01.フレームワーク\Win32\NativeMethods.cs" />
168     <Compile Include="コード\01.フレームワーク\Win32\NativeStructures.cs" />
169     <Compile Include="コード\01.フレームワーク\Win32\WindowConstants.cs" />
170     <Compile Include="コード\02.入力\CInputJoystick.cs" />
171     <Compile Include="コード\02.入力\CInputKeyboard.cs" />
172     <Compile Include="コード\02.入力\CInputMIDI.cs" />
173     <Compile Include="コード\02.入力\CInputMouse.cs" />
174     <Compile Include="コード\02.入力\CInput管理.cs" />
175     <Compile Include="コード\02.入力\DeviceConstantConverter.cs" />
176     <Compile Include="コード\02.入力\E入力デバイス種別.cs" />
177     <Compile Include="コード\02.入力\IInputDevice.cs" />
178     <Compile Include="コード\02.入力\SlimDX.DirectInput.Key.cs" />
179     <Compile Include="コード\02.入力\STInputEvent.cs" />
180     <Compile Include="コード\03.サウンド\BASSThreadedMixerWrapper.cs" />
181     <Compile Include="コード\03.サウンド\Cogg.cs" />
182     <Compile Include="コード\03.サウンド\Cmp3.cs" />
183     <Compile Include="コード\03.サウンド\CSound.cs" />
184     <Compile Include="コード\03.サウンド\CSoundDeviceASIO.cs" />
185     <Compile Include="コード\03.サウンド\CSoundDeviceDirectSound.cs" />
186     <Compile Include="コード\03.サウンド\CSoundDeviceWASAPI.cs" />
187     <Compile Include="コード\03.サウンド\CSoundTimer.cs" />
188     <Compile Include="コード\03.サウンド\Cxa.cs" />
189     <Compile Include="コード\03.サウンド\ESoundDeviceType.cs" />
190     <Compile Include="コード\03.サウンド\SoundDecoder.cs" />
191     <Compile Include="コード\03.サウンド\ISoundDevice.cs" />
192     <Compile Include="コード\04.グラフィック\BitmapUtil.cs" />
193     <Compile Include="コード\04.グラフィック\CAero.cs" />
194     <Compile Include="コード\04.グラフィック\CAvi.cs" />
195     <Compile Include="コード\04.グラフィック\CAviDS.cs" />
196     <Compile Include="コード\04.グラフィック\CTaskBar.cs" />
197     <Compile Include="コード\04.グラフィック\CTextureAutofold.cs" />
198     <Compile Include="コード\04.グラフィック\頂点フォーマット%28Vertex%29\ColoredVertex.cs" />
199     <Compile Include="コード\04.グラフィック\CTexture.cs" />
200     <Compile Include="コード\04.グラフィック\CTextureCreateFailedException.cs" />
201     <Compile Include="コード\04.グラフィック\頂点フォーマット%28Vertex%29\PositionColoredTexturedVertex.cs" />
202     <Compile Include="コード\04.グラフィック\頂点フォーマット%28Vertex%29\TexturedVertex.cs" />
203     <Compile Include="コード\04.グラフィック\頂点フォーマット%28Vertex%29\TransformedColoredTexturedVertex.cs" />
204     <Compile Include="コード\04.グラフィック\頂点フォーマット%28Vertex%29\TransformedColoredVertex.cs" />
205     <Compile Include="Properties\AssemblyInfo.cs" />
206     <Compile Include="コード\00.共通\CActivity.cs" />
207     <Compile Include="コード\00.共通\CCounter.cs" />
208     <Compile Include="コード\00.共通\CFPS.cs" />
209     <Compile Include="コード\00.共通\CIniFile.cs" />
210     <Compile Include="コード\00.共通\CTimer.cs" />
211     <Compile Include="コード\00.共通\CTraceLogListener.cs" />
212     <Compile Include="コード\00.共通\CWin32.cs" />
213     <Compile Include="コード\00.共通\C変換.cs" />
214     <Compile Include="コード\05.DirectShow\CDirectShow.cs" />
215     <Compile Include="コード\05.DirectShow\CDStoWAVFileImage.cs" />
216     <Compile Include="コード\05.DirectShow\MemoryRenderer.cs" />
217     <Compile Include="コード\06.Tempo\CBeatDetect.cs" />
218   </ItemGroup>
219   <ItemGroup>
220     <EmbeddedResource Include="コード\01.フレームワーク\Properties\Resources.resx">
221       <SubType>Designer</SubType>
222     </EmbeddedResource>
223   </ItemGroup>
224   <ItemGroup>
225     <Content Include="コード\01.フレームワーク\Resources\sdx_icon_black.ico" />
226   </ItemGroup>
227   <ItemGroup>
228     <None Include="packages.config" />
229   </ItemGroup>
230   <ItemGroup>
231     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
232       <Visible>False</Visible>
233       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
234       <Install>false</Install>
235     </BootstrapperPackage>
236     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
237       <Visible>False</Visible>
238       <ProductName>.NET Framework 3.5 SP1</ProductName>
239       <Install>true</Install>
240     </BootstrapperPackage>
241   </ItemGroup>
242   <ItemGroup>
243     <ProjectReference Include="..\libbjxa\libbjxa.csproj">
244       <Project>{41e67409-f5ec-4216-a790-2519a7b22e51}</Project>
245       <Name>libbjxa</Name>
246     </ProjectReference>
247     <ProjectReference Include="..\NVorbis\NVorbis.csproj">
248       <Project>{88bf6538-b1da-41a5-adfc-7af6936e93be}</Project>
249       <Name>NVorbis</Name>
250     </ProjectReference>
251   </ItemGroup>
252   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
253   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
254        Other similar extension points exist, see Microsoft.Common.targets.
255   <Target Name="BeforeBuild">
256   </Target>
257   <Target Name="AfterBuild">
258   </Target>
259   -->
260   <PropertyGroup>
261     <PostBuildEvent>echo.
262 echo ビルド後イベントを開始します。
263
264 set RUNTIMEDIR="$(SolutionDir)RuntimeResources"
265
266 echo.
267 echo (1) 出力フォルダ から ソリューション出力フォルダ へコピーします。(日付の新しいファイルのみ)
268 set DESTDIR="$(SolutionDir)$(OutDir)dll"
269 if not exist %25DESTDIR%25 mkdir %25DESTDIR%25
270 xcopy "$(TargetDir)*.dll" %25DESTDIR%25 /Y /D /EXCLUDE:$(TargetFileName)
271
272 echo.
273 echo (2) 出力フォルダ から 実行時リソースフォルダ にコピーします。(日付の新しいファイルのみ)
274 set DESTDIR=%25RUNTIMEDIR%25\dll
275 if not exist %25DESTDIR%25 mkdir %25DESTDIR%25
276 xcopy "$(TargetDir)*.dll"  %25DESTDIR%25 /Y /D
277
278 echo.
279 echo (3) 実行時リソースフォルダ から ソリューション出力フォルダ にコピーします。(日付の新しいファイルのみ)
280 set DESTDIR="$(SolutionDir)$(OutDir)dll"
281 if not exist %25DESTDIR%25 mkdir %25DESTDIR%25
282 xcopy %25RUNTIMEDIR%25\dll %25DESTDIR%25 /Y /D
283
284 echo.
285 echo ビルド後イベントを終了しました。
286 </PostBuildEvent>
287   </PropertyGroup>
288 </Project>