Skip to content

Commit 4db3b43

Browse files
authored
Remove check
1 parent 4c6a3e0 commit 4db3b43

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

build.cmd

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,12 @@ if not exist %vswhere% (
2424

2525
set InstallDir=
2626
for /f "usebackq tokens=*" %%i in (`%vswhere% -version 17 -latest -prerelease -products * ^
27-
-requires Microsoft.Net.Component.4.5.TargetingPack ^
28-
-requires Microsoft.Net.Component.4.5.2.TargetingPack ^
29-
-requires Microsoft.Net.Component.4.6.2.TargetingPack ^
3027
-property installationPath`) do (
3128
set "InstallDir=%%i"
3229
)
3330

3431
if not DEFINED InstallDir (
35-
echo "Could not find a VS2022 installation with the necessary components (targeting packs for v4.5, v4.5.2, and v4.6.2)."
32+
echo "Could not find a VS2022 installation."
3633
echo Please install VS2022 or the missing components.
3734
goto BuildFail
3835
)

0 commit comments

Comments
 (0)