Skip to content

Commit 97475a4

Browse files
committed
Fix the building of static libraries outside of VS.
1 parent 44edf44 commit 97475a4

File tree

3 files changed

+99
-116
lines changed

3 files changed

+99
-116
lines changed

nuget/Microsoft.Windows.CppWinRT.props

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ Copyright (C) Microsoft Corporation. All rights reserved.
1717
<WinMDAssembly>true</WinMDAssembly>
1818
</PropertyGroup>
1919

20-
<!-- For a static library we don't want the winmd/lib/pdb to be packaged -->
21-
<PropertyGroup Condition="'$(ConfigurationType)' == 'StaticLibrary'">
22-
<IncludeCopyWinMDArtifactsOutputGroup>false</IncludeCopyWinMDArtifactsOutputGroup>
23-
<IncludeBuiltProjectOutputGroup>false</IncludeBuiltProjectOutputGroup>
24-
<IncludeDebugSymbolsProjectOutputGroup>false</IncludeDebugSymbolsProjectOutputGroup>
25-
</PropertyGroup>
26-
2720
<ItemDefinitionGroup>
2821
<ClCompile>
2922
<CompileAsWinRT Condition="'$(CppWinRTProjectLanguage)' != 'C++/CX' And '%(ClCompile.CompileAsWinRT)' == ''">false</CompileAsWinRT>

0 commit comments

Comments
 (0)