diff --git a/nuget/Microsoft.Windows.CppWinRT.targets b/nuget/Microsoft.Windows.CppWinRT.targets index 368b59d71..22a7f24d6 100644 --- a/nuget/Microsoft.Windows.CppWinRT.targets +++ b/nuget/Microsoft.Windows.CppWinRT.targets @@ -45,6 +45,8 @@ Copyright (C) Microsoft Corporation. All rights reserved. $(GeneratedFilesDir) $(WindowsSDK_MetadataPathVersioned) + + $(GeneratedFilesDir);$(CAExcludePath) $(PrepareForBuildDependsOn); @@ -83,9 +85,6 @@ Copyright (C) Microsoft Corporation. All rights reserved. $(CleanDependsOn);CppWinRTClean - - $(CAExcludePath);$(GeneratedFilesDir); -