Skip to content

Commit 67f99d2

Browse files
authored
Merge pull request #100 from 9il/patch-7
fix DMDText
2 parents 942ffc6 + f066872 commit 67f99d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msbuild/dcompile_defaults.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<DMDInstallationFolder>$([MSBuild]::GetRegistryValueFromView('HKEY_LOCAL_MACHINE\Software\DMD', 'InstallationFolder', '', RegistryView.Registry32, RegistryView.Registry64))</DMDInstallationFolder>
1111
<DMDInstallDir Condition="$(DMDInstallDir) == '' and '$(DMDInstallationFolder)' != ''">$(DMDInstallationFolder)\dmd2\</DMDInstallDir>
1212
<DMDBinDir Condition="$(DMDInstallDir) != ''">$(DMDInstallDir)\windows\bin\</DMDBinDir>
13-
<DMDText Condition="Exists('$(DMDInstallDir)dmd.exe')">DMD - Reference compiler</DMDText>
13+
<DMDText Condition="Exists('$(DMDBinDir)\dmd.exe')">DMD - Reference compiler</DMDText>
1414
<DMDText Condition="'$(DMDText)' == ''">DMD - Reference compiler (not installed)</DMDText>
1515

1616
<LDCInstallDir Condition="$(LDCInstallDir) == ''">$([MSBuild]::GetRegistryValueFromView('HKEY_CURRENT_USER\SOFTWARE\Microsoft\VisualStudio\$(VisualStudioVersion)\ToolsOptionsPages\Projects\Visual D Settings', 'LDCInstallDir', '', RegistryView.Registry64, RegistryView.Registry32))</LDCInstallDir>

0 commit comments

Comments
 (0)