Skip to content

Commit 41da0a0

Browse files
author
REDMOND\jingf
committed
removed CPPWinRT related imports from .vcxproj file to fix broken build
1 parent 9646724 commit 41da0a0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Samples/SampleSharedLib/SampleSharedLib/SampleSharedLib.vcxproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.props')" />
43
<ItemGroup Label="ProjectConfigurations">
54
<ProjectConfiguration Include="Debug_NuGet|Win32">
65
<Configuration>Debug_NuGet</Configuration>
@@ -250,14 +249,9 @@
250249
<None Include="packages.config" />
251250
</ItemGroup>
252251
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
253-
<ImportGroup Label="ExtensionTargets">
254-
<Import Project="..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.targets')" />
255-
</ImportGroup>
256252
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
257253
<PropertyGroup>
258254
<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>
259255
</PropertyGroup>
260-
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.props'))" />
261-
<Error Condition="!Exists('..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Windows.CppWinRT.2.0.220131.2\build\native\Microsoft.Windows.CppWinRT.targets'))" />
262256
</Target>
263257
</Project>

0 commit comments

Comments
 (0)