install DXTK
This commit is contained in:
parent
fefdf69b9a
commit
fa5ef40e63
3 changed files with 16 additions and 0 deletions
|
@ -308,9 +308,19 @@
|
|||
<None Include="Helpers.hlsli" />
|
||||
<None Include="Defines.hlsli" />
|
||||
<None Include="Lights.hlsli" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="ThirdPartyFunctions.hlsli" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
<Import Project="packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets" Condition="Exists('packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets')" />
|
||||
<Import Project="packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets" Condition="Exists('packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets')" />
|
||||
</ImportGroup>
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\Microsoft.XAudio2.Redist.1.2.8\build\native\Microsoft.XAudio2.Redist.targets'))" />
|
||||
<Error Condition="!Exists('packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets')" Text="$([System.String]::Format('$(ErrorText)', 'packages\directxtk_desktop_2017.2022.3.24.2\build\native\directxtk_desktop_2017.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
|
@ -140,5 +140,6 @@
|
|||
<None Include="Lights.hlsli">
|
||||
<Filter>Shaders</Filter>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
</Project>
|
5
packages.config
Normal file
5
packages.config
Normal file
|
@ -0,0 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="directxtk_desktop_2017" version="2022.3.24.2" targetFramework="native" />
|
||||
<package id="Microsoft.XAudio2.Redist" version="1.2.8" targetFramework="native" />
|
||||
</packages>
|
Reference in a new issue