Skip to content

Commit acac8cc

Browse files
committed
release 1.6
1 parent 044329f commit acac8cc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

mipsdk-protectionapi-cpp-sample-basic/mipsdk-protectionapi-cpp-sample-basic.vcxproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@
5555
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
5656
<ImportGroup Label="ExtensionSettings">
5757
</ImportGroup>
58-
<ImportGroup Label="Shared" />
58+
<ImportGroup Label="Shared">
59+
<Import Project="..\packages\Microsoft.InformationProtection.Protection.1.6.103\build\native\Microsoft.InformationProtection.Protection.targets" Condition="Exists('..\packages\Microsoft.InformationProtection.Protection.1.6.103\build\native\Microsoft.InformationProtection.Protection.targets')" />
60+
</ImportGroup>
5961
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
6062
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
6163
</ImportGroup>
@@ -172,6 +174,13 @@
172174
</ItemGroup>
173175
<ItemGroup>
174176
<None Include="auth.py" />
177+
<None Include="packages.config" />
175178
</ItemGroup>
176179
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
180+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
181+
<PropertyGroup>
182+
<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>
183+
</PropertyGroup>
184+
<Error Condition="!Exists('..\packages\Microsoft.InformationProtection.Protection.1.6.103\build\native\Microsoft.InformationProtection.Protection.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.InformationProtection.Protection.1.6.103\build\native\Microsoft.InformationProtection.Protection.targets'))" />
185+
</Target>
177186
</Project>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="Microsoft.InformationProtection.Protection" version="1.6.103" targetFramework="native" />
4+
</packages>

0 commit comments

Comments
 (0)