Skip to content

Commit 969ea26

Browse files
authored
Update .targets file to support local servers (#860) (#934)
1 parent 18670d2 commit 969ea26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nuget/Microsoft.Windows.CppWinRT.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ Copyright (C) Microsoft Corporation. All rights reserved.
250250
<WinMDFullPath Include="@(_CppWinRTProjectWinMDItems->FullPath()->Distinct()->ClearMetadata())" Condition="'$(CppWinRTGenerateWindowsMetadata)' == 'true'">
251251
<TargetPath>$([System.IO.Path]::GetFileName('$(CppWinRTProjectWinMD)'))</TargetPath>
252252
<Primary>true</Primary>
253-
<Implementation Condition="'$(TargetExt)' == '.dll'">$(WinMDImplementationPath)$(TargetName)$(TargetExt)</Implementation>
253+
<Implementation Condition="'$(TargetExt)' == '.dll' or '$(TargetExt)' == '.exe'">$(WinMDImplementationPath)$(TargetName)$(TargetExt)</Implementation>
254254
<FileType>winmd</FileType>
255255
<WinMDFile>true</WinMDFile>
256256
<ProjectName>$(MSBuildProjectName)</ProjectName>

0 commit comments

Comments
 (0)