Skip to content

Commit b8b65c3

Browse files
authored
Remove newline from the CAExcludePath. (#493)
1 parent f17f955 commit b8b65c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

nuget/Microsoft.Windows.CppWinRT.targets

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ Copyright (C) Microsoft Corporation. All rights reserved.
4545
<CppWinRT_IncludePath>$(GeneratedFilesDir)</CppWinRT_IncludePath>
4646
<!--TEMP: Override NuGet SDK's erroneous setting in uap.props -->
4747
<WindowsSDK_MetadataFoundationPath Condition="('$(WindowsSDK_MetadataFoundationPath)'!='') And !Exists($(WindowsSDK_MetadataFoundationPath))">$(WindowsSDK_MetadataPathVersioned)</WindowsSDK_MetadataFoundationPath>
48+
<!-- CAExcludePath is used to set an environment variable, so make sure this is defined on a single line. -->
49+
<CAExcludePath>$(GeneratedFilesDir);$(CAExcludePath)</CAExcludePath>
4850

4951
<PrepareForBuildDependsOn>
5052
$(PrepareForBuildDependsOn);
@@ -83,9 +85,6 @@ Copyright (C) Microsoft Corporation. All rights reserved.
8385
<CleanDependsOn>
8486
$(CleanDependsOn);CppWinRTClean
8587
</CleanDependsOn>
86-
<CAExcludePath>
87-
$(CAExcludePath);$(GeneratedFilesDir);
88-
</CAExcludePath>
8988

9089
</PropertyGroup>
9190

0 commit comments

Comments
 (0)