Skip to content

Commit 4887992

Browse files
authored
Merge pull request #288 from rainers/master
Visual D v1.4.0-rc4
2 parents f8cf40e + 7b67f0d commit 4887992

File tree

13 files changed

+145
-40
lines changed

13 files changed

+145
-40
lines changed

CHANGES

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1386,3 +1386,9 @@ Version history
13861386
* dmdserver: improve completion for member variables, code in switch statement
13871387
* dmdseerver: added option to display type size and alignment in tool tip
13881388
* added separate version of dbuild.dll linked against Microsoft.Build.CPPTasks.Common for VS 17.12
1389+
1390+
2024-12-07 version 1.4.0-rc4
1391+
* added separate version of dbuild.dll linked against Microsoft.Build.CPPTasks.Common for VS 17.13
1392+
* mago: fixed display of tuples (currently only with LDC)
1393+
* mago: do not hide __param_.. function arguments as compiler generated symbols
1394+
* fixed building with VS 2022

Makefile

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ dbuild17_11:
176176
dbuild17_12:
177177
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_12;Platform=AnyCPU /t:Rebuild
178178

179-
dbuild17_all: dbuild17_0 dbuild17_1 dbuild17_2 dbuild17_3 dbuild17_4 dbuild17_5 dbuild17_6 dbuild17_7 dbuild17_8 dbuild17_9 dbuild17_10 dbuild17_11 dbuild17_12
179+
dbuild17_13:
180+
cd msbuild\dbuild && $(MSBUILD) dbuild.csproj /p:Configuration=Release-v17_13;Platform=AnyCPU /t:Rebuild
181+
182+
dbuild17_all: dbuild17_0 dbuild17_1 dbuild17_2 dbuild17_3 dbuild17_4 dbuild17_5 dbuild17_6 dbuild17_7 dbuild17_8 dbuild17_9 dbuild17_10 dbuild17_11 dbuild17_12 dbuild17_13
180183

181184
mago:
182185
cd ..\..\mago && devenv /Build "Release|Win32" /Project "MagoNatDE" magodbg_2010.sln
@@ -193,8 +196,13 @@ mago_vs16:
193196
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=x64;PlatformToolset=v142 /target:DebugEngine\MagoRemote MagoDbg_2010.sln
194197
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=Win32;PlatformToolset=v142" /target:Expression\MagoNatCC MagoDbg_2010.sln
195198

199+
mago_vs17:
200+
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v143 /target:DebugEngine\MagoNatDE MagoDbg_2010.sln
201+
cd ..\..\mago && msbuild /p:Configuration=Release;Platform=x64;PlatformToolset=v143 /target:DebugEngine\MagoRemote MagoDbg_2010.sln
202+
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=Win32;PlatformToolset=v143" /target:Expression\MagoNatCC MagoDbg_2010.sln
203+
196204
magocc_x64:
197-
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=x64;PlatformToolset=v142" /target:Expression\MagoNatCC MagoDbg_2010.sln
205+
cd ..\..\mago && msbuild "/p:Configuration=Release StaticDE;Platform=x64;PlatformToolset=v143" /target:Expression\MagoNatCC MagoDbg_2010.sln
198206

199207
magogc:
200208
cd ..\..\mago && devenv /Build "Release|Win32" /Project "MagoGC" magodbg_2010.sln
@@ -215,6 +223,11 @@ cv2pdb_vs16:
215223
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v142 src\dviewhelper\dviewhelper.vcxproj
216224
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v142 src\dumplines.vcxproj
217225

226+
cv2pdb_vs17:
227+
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v143 src\cv2pdb.vcxproj
228+
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v143 src\dviewhelper\dviewhelper.vcxproj
229+
cd ..\..\cv2pdb\trunk && msbuild /p:Configuration=Release;Platform=Win32;PlatformToolset=v143 src\dumplines.vcxproj
230+
218231
dcxxfilt: $(DCXXFILT_EXE)
219232
$(DCXXFILT_EXE): tools\dcxxfilt.d
220233
# no space after Release, it will be part of environment variable
@@ -223,7 +236,7 @@ $(DCXXFILT_EXE): tools\dcxxfilt.d
223236
##################################
224237
# create installer
225238

226-
install_release_modules: install_modules dparser dparser_test cv2pdb_vs16 mago_vs16 magocc_x64 magogc dbuild12 dbuild14 dbuild15
239+
install_release_modules: install_modules fake_dparser cv2pdb_vs17 mago_vs17 magocc_x64 magogc dbuild12 dbuild14 dbuild15
227240

228241
install_vs: install_release_modules install_only
229242

@@ -235,6 +248,8 @@ install_modules: d_modules vdextension vdext15 visualdwizard dcxxfilt
235248

236249
d_modules: prerequisites visuald_vs visuald_vs_x64 vdserver dmdserver
237250

251+
appveyor: d_modules cv2pdb_vs16 mago_vs16 magogc
252+
238253
install_only:
239254
if not exist ..\downloads\nul md ..\downloads
240255
cd nsis && "$(NSIS)\makensis" /V1 "/DCONFIG=$(CONFIG)" "/DCONFIG_DMDSERVER=$(CONFIG_DMDSERVER)" $(NSIS_ARGS) visuald.nsi

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#define VERSION_MINOR 4
33
#define VERSION_REVISION 0
44
#define VERSION_BETA -rc
5-
#define VERSION_BUILD 3
5+
#define VERSION_BUILD 4

appveyor.yml

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ skip_tags: true
1515

1616
environment:
1717
matrix:
18-
- os: Visual Studio 2017
19-
VS: 15
20-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
18+
- os: Visual Studio 2019
19+
VS: 16
20+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
21+
# - os: Visual Studio 2017
22+
# VS: 15
23+
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2124
# - os: Visual Studio 2015
2225
# VS: 14
2326
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
@@ -27,7 +30,7 @@ environment:
2730

2831
# cache relative to C:\projects\visuald
2932
cache:
30-
- C:\projects\cache\dmd2105_2.7z
33+
- C:\projects\cache\dmd2109_1.7z
3134
- C:\projects\cache\cd851.zip
3235
- C:\projects\cache\VisualD-v0.50.1.exe
3336
- C:\projects\cache\binutils-2.25.tar.gz
@@ -52,10 +55,10 @@ install:
5255
# Download & extract D compiler
5356
- ps: |
5457
If ($Env:D_COMPILER -eq 'dmd') {
55-
If (-not (Test-Path 'cache\dmd2105_2.7z')) {
56-
Start-FileDownload 'http://downloads.dlang.org/releases/2.x/2.105.2/dmd.2.105.2.windows.7z' -FileName 'cache\dmd2105_2.7z'
58+
If (-not (Test-Path 'cache\dmd2109_1.7z')) {
59+
Start-FileDownload 'http://downloads.dlang.org/releases/2.x/2.109.1/dmd.2.109.1.windows.7z' -FileName 'cache\dmd2109_1.7z'
5760
}
58-
7z x cache\dmd2105_2.7z > $null
61+
7z x cache\dmd2109_1.7z > $null
5962
Set-Item -path env:DMD -value c:\projects\dmd2\windows\bin\dmd.exe
6063
} ElseIf ($Env:D_COMPILER -eq 'dmd-nightly') {
6164
Start-FileDownload 'http://nightlies.dlang.org/dmd-nightly/dmd.master.windows.7z' -FileName 'dmd2.7z'
@@ -76,18 +79,20 @@ install:
7679
copy c:\projects\dm\bin\coffimplib.exe c:\projects\dmd2\windows\bin
7780
# Download & install Visual D
7881
- ps: |
79-
If (-not (Test-Path 'cache\VisualD-v0.50.1.exe')) {
80-
Start-FileDownload 'https://github.com/dlang/visuald/releases/download/v0.50.1/VisualD-v0.50.1.exe' -FileName 'cache\VisualD-v0.50.1.exe'
82+
If (-not (Test-Path 'cache\VisualD-v1.3.1.exe')) {
83+
Start-FileDownload 'https://github.com/dlang/visuald/releases/download/v1.3.1/VisualD-v1.3.1.exe' -FileName 'cache\VisualD-v1.3.1.exe'
8184
}
82-
- cache\VisualD-v0.50.1.exe /S
85+
- cache\VisualD-v1.3.1.exe /S
8386
# configure DMD path
8487
- reg add "HKLM\SOFTWARE\DMD" /v InstallationFolder /t REG_SZ /d c:\projects /reg:32 /f
8588
# disable link dependencies monitoring, fails on AppVeyor server
8689
- reg add "HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\ToolsOptionsPages\Projects\Visual D Settings" /v optlinkDeps /t REG_DWORD /d 0 /reg:32 /f
8790
# Set environment variables
8891
- set PATH=c:\projects\dm\bin;%PATH%
89-
- if not "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
90-
- if "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
92+
- if "%VS%" == "12" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
93+
- if "%VS%" == "14" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
94+
- if "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
95+
- if "%VS%" == "16" call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
9196
# Print environment info
9297
- set
9398
- msbuild /version
@@ -138,17 +143,17 @@ build_script:
138143
# can build dbuild15 and dparser only with VS2017
139144
- if "%VS%"=="15" nuget restore vdc\abothe\VDServer.sln
140145
- if "%VS%"=="15" nmake "CONFIG=%CONFIG%" "CONFIG_DMDSERVER=%CONFIG_DMDSERVER%" install_vs_only_vs2017
141-
- if not "%VS%"=="15" nmake "CONFIG=%CONFIG%" "CONFIG_DMDSERVER=%CONFIG_DMDSERVER%" install_vs_no_vs2017
146+
- if not "%VS%"=="15" nmake "CONFIG=%CONFIG%" "CONFIG_DMDSERVER=%CONFIG_DMDSERVER%" appveyor
142147

143148
after_build:
144149
# publish as artifact
145150
- cd c:\projects
146151
- 7z a logs_and_symbols.7z -r visuald\bin\*.pdb visuald\bin\*.html
147-
- for %%I in (downloads\*.exe) do (set BUILD_EXE=%%I && set ARTIFACT=%%~dpnI-%APPVEYOR_BUILD_NUMBER%-vs%VS%.exe)
148-
- copy %BUILD_EXE% %ARTIFACT%
152+
# - for %%I in (downloads\*.exe) do (set BUILD_EXE=%%I && set ARTIFACT=%%~dpnI-%APPVEYOR_BUILD_NUMBER%-vs%VS%.exe)
153+
# - copy %BUILD_EXE% %ARTIFACT%
154+
# Push-AppveyorArtifact $Env:ARTIFACT
149155
- ps: |
150156
echo 'Creating artifacts...'
151-
Push-AppveyorArtifact $Env:ARTIFACT
152157
Push-AppveyorArtifact ..\cv2pdb\trunk\bin\Release\cv2pdb.exe
153158
Push-AppveyorArtifact logs_and_symbols.7z
154159

build/build.visualdproj

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1620,11 +1620,31 @@ call $(InputPath) "$(OutDir)\vsi2d.exe" "$(IntDir)\sdk_libs.succe
16201620
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
16211621
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
16221622
if errorlevel 1 goto reportError
1623+
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Debug|x64" />
1624+
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
1625+
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
1626+
if errorlevel 1 goto reportError
1627+
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Debug COFF32|x64" />
1628+
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
1629+
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
1630+
if errorlevel 1 goto reportError
16231631
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Debug COFF32|Win32" />
16241632
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
16251633
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
16261634
if errorlevel 1 goto reportError
1635+
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Release COFF32|x64" />
1636+
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
1637+
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
1638+
if errorlevel 1 goto reportError
16271639
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Release COFF32|Win32" />
1640+
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
1641+
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
1642+
if errorlevel 1 goto reportError
1643+
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Release LDC|Win32" />
1644+
<Config tool="None" customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
1645+
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )
1646+
if errorlevel 1 goto reportError
1647+
call $(InputPath) &quot;$(OutDir)\vsi2d.exe&quot; &quot;$(IntDir)\sdk_libs.success&quot;" outfile="$(IntDir)\sdk_libs.success" name="Release LDC|x64" />
16281648
</File>
16291649
<File customcmd="if exist &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot; call &quot;$(VSINSTALLDIR)\Common7\Tools\vsvars32.bat&quot;
16301650
if exist &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; ( pushd . &amp;&amp; call &quot;$(VCINSTALLDIR)\Auxiliary\Build\vcvars32.bat&quot; &amp;&amp; popd )

msbuild/dbuild/dbuild.csproj

Lines changed: 31 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,28 @@
401401
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
402402
<TargetVer>17.12</TargetVer>
403403
</PropertyGroup>
404+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release-v17_13|AnyCPU'">
405+
<OutputPath>bin\Release-v17_13\</OutputPath>
406+
<DefineConstants>TRACE;TOOLS_V17</DefineConstants>
407+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
408+
<Optimize>true</Optimize>
409+
<DebugType>pdbonly</DebugType>
410+
<PlatformTarget>AnyCPU</PlatformTarget>
411+
<ErrorReport>prompt</ErrorReport>
412+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
413+
<TargetVer>17.13</TargetVer>
414+
</PropertyGroup>
415+
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug-v17_13|AnyCPU'">
416+
<OutputPath>bin\Debug-v17_13\</OutputPath>
417+
<DefineConstants>TRACE;DEBUG;TOOLS_V17</DefineConstants>
418+
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
419+
<Optimize>false</Optimize>
420+
<DebugType>pdbonly</DebugType>
421+
<PlatformTarget>AnyCPU</PlatformTarget>
422+
<ErrorReport>prompt</ErrorReport>
423+
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
424+
<TargetVer>17.13</TargetVer>
425+
</PropertyGroup>
404426
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
405427
<DebugSymbols>true</DebugSymbols>
406428
<DebugType>full</DebugType>
@@ -446,7 +468,7 @@
446468
<TargetFrameworkVersion Condition=" '$(TargetVer)' == '16.0' or '$(TargetVer)' == '16.1' ">v4.7.2</TargetFrameworkVersion>
447469
<TargetFrameworkVersion Condition=" '$(TargetVer)' == '17' or '$(TargetVer)' == '17.0' or '$(TargetVer)' == '17.1' or '$(TargetVer)' == '17.2' or '$(TargetVer)' == '17.3'
448470
or '$(TargetVer)' == '17.4' or '$(TargetVer)' == '17.5' or '$(TargetVer)' == '17.6' or '$(TargetVer)' == '17.7' or '$(TargetVer)' == '17.8' or '$(TargetVer)' == '17.9'
449-
or '$(TargetVer)' == '17.10' or '$(TargetVer)' == '17.11' or '$(TargetVer)' == '17.12'">v4.7.2</TargetFrameworkVersion>
471+
or '$(TargetVer)' == '17.10' or '$(TargetVer)' == '17.11' or '$(TargetVer)' == '17.12' or '$(TargetVer)' == '17.13'">v4.7.2</TargetFrameworkVersion>
450472
<GeneratePkgDefFile>false</GeneratePkgDefFile>
451473
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
452474
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
@@ -462,10 +484,10 @@
462484
<Compile Include="VCProjectInterop.cs" />
463485
</ItemGroup>
464486
<ItemGroup>
465-
<Reference Include="Microsoft.VisualStudio.Shell.Interop, Version=7.1.40304.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
487+
<Reference Include="Microsoft.VisualStudio.Shell.Interop">
466488
<SpecificVersion>False</SpecificVersion>
467-
<HintPath>c:\Windows\assembly\GAC\Microsoft.VisualStudio.Shell.Interop\7.1.40304.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Shell.Interop.dll</HintPath>
468489
<Private>False</Private>
490+
<HintPath>assemblies\Microsoft.VisualStudio.Shell.Interop.dll</HintPath>
469491
</Reference>
470492
<Reference Include="PresentationFramework" />
471493
<Reference Include="System" />
@@ -679,7 +701,7 @@
679701
<!-- VS2022 -->
680702
<ItemGroup Condition="'$(TargetVer)' == '17' or '$(TargetVer)' == '17.0' or '$(TargetVer)' == '17.1' or '$(TargetVer)' == '17.2' or '$(TargetVer)' == '17.3'
681703
or '$(TargetVer)' == '17.4' or '$(TargetVer)' == '17.5' or '$(TargetVer)' == '17.6' or '$(TargetVer)' == '17.7' or '$(TargetVer)' == '17.8'
682-
or '$(TargetVer)' == '17.9' or '$(TargetVer)' == '17.10' or '$(TargetVer)' == '17.11' or '$(TargetVer)' == '17.12'">
704+
or '$(TargetVer)' == '17.9' or '$(TargetVer)' == '17.10' or '$(TargetVer)' == '17.11' or '$(TargetVer)' == '17.12' or '$(TargetVer)' == '17.13'">
683705
<Reference Include="Microsoft.Build">
684706
<HintPath>assemblies\v17\Microsoft.Build.dll</HintPath>
685707
</Reference>
@@ -772,6 +794,11 @@
772794
<HintPath>assemblies\v17_12\Microsoft.Build.CPPTasks.Common.dll</HintPath>
773795
</Reference>
774796
</ItemGroup>
797+
<ItemGroup Condition="'$(TargetVer)' == '17.13'">
798+
<Reference Include="Microsoft.Build.CPPTasks.Common">
799+
<HintPath>assemblies\v17_13\Microsoft.Build.CPPTasks.Common.dll</HintPath>
800+
</Reference>
801+
</ItemGroup>
775802
<ItemGroup>
776803
<EmbeddedResource Include="Strings.resx">
777804
<SubType>Designer</SubType>

msbuild/dcompile_defaults.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
<DBuildVersion Condition="$(MSBuildVersion_Major) != 16 and $(MSBuildVersion_Major) != 17">$(MSBuildVersion_Major).0</DBuildVersion>
4848
<DBuildVersion Condition="$(MSBuildVersion_Major) == 16 and $(MSBuildVersion_Minor) == 0">16.0</DBuildVersion>
4949
<DBuildVersion Condition="$(MSBuildVersion_Major) == 16 and $(MSBuildVersion_Minor) != 0">16.1</DBuildVersion>
50-
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &lt; 11">17.$(MSBuildVersion_Minor)</DBuildVersion>
51-
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &gt;= 12">17.12</DBuildVersion>
50+
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &lt; 12">17.$(MSBuildVersion_Minor)</DBuildVersion>
51+
<DBuildVersion Condition="$(MSBuildVersion_Major) == 17 and $(MSBuildVersion_Minor) &gt;= 13">17.13</DBuildVersion>
5252
</PropertyGroup>
5353

5454
<PropertyGroup Condition="'$(DBuildVersion)' == ''">

nsis/visuald.nsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,7 @@ Section "Visual Studio package" SecPackage
347347
${File} ..\msbuild\dbuild\obj\release-v17_10\ dbuild.17.10.dll
348348
${File} ..\msbuild\dbuild\obj\release-v17_11\ dbuild.17.11.dll
349349
${File} ..\msbuild\dbuild\obj\release-v17_12\ dbuild.17.12.dll
350+
${File} ..\msbuild\dbuild\obj\release-v17_13\ dbuild.17.13.dll
350351
!endif
351352
WriteRegStr HKLM "Software\${APPNAME}" "msbuild" $INSTDIR\msbuild
352353
!endif

0 commit comments

Comments
 (0)