Skip to content

Commit a07f6b3

Browse files
authored
Installscriptupdates (#2765)
* Remove comment ifdefs * automate adding required Visual Studio components * moved to scripts * More build fixes * Delete replaced line * Updates
1 parent 0a3dbf9 commit a07f6b3

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

scripts/Add-VisualStudioComponents.ps1

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ $vs = Get-VSSetupInstance
1818
# Microsoft.VisualStudio.Component.VC.Tools.x86.x64: VC++ 2017 v141 toolset (x86,x64)
1919
# Microsoft.VisualStudio.Component.Windows10SDK.14393: Windows 10 SDK (10.0.14393.0)
2020
# Microsoft.VisualStudio.Component.Windows81SDK: Windows 8.1 SDK
21+
# Microsoft.VisualStudio.Component.PortableLibrary: .NET Framework PortableLibrary targeting pack
22+
# Microsoft.Net.Component.4.TargetingPack: .NET Framework 4 targeting pack
23+
# Microsoft.Net.Component.4.5.TargetingPack: .NET Framework 4.5 targeting pack
24+
# Microsoft.Net.Component.4.5.1.TargetingPack: .NET Framework 4.5.1 targeting pack
2125
# Microsoft.Net.Component.4.6.TargetingPack: .NET Framework 4.6 targeting pack
2226
# Microsoft.Net.Component.4.5.1.TargetingPack: .NET Framework 4.5.1 targeting pack
2327
# Microsoft.Net.Component.4.6.2.TargetingPack: .NET Framework 4.6.2 targeting pack
@@ -35,6 +39,10 @@ $vs = Get-VSSetupInstance
3539
--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 `
3640
--add Microsoft.VisualStudio.Component.Windows10SDK.14393 `
3741
--add Microsoft.VisualStudio.Component.Windows81SDK `
38-
--add Microsoft.Net.Component.4.6.TargetingPack `
42+
--add Microsoft.VisualStudio.Component.PortableLibrary `
43+
--add Microsoft.Net.Component.4.TargetingPack `
44+
--add Microsoft.Net.Component.4.5.TargetingPack `
3945
--add Microsoft.Net.Component.4.5.1.TargetingPack `
40-
--add Microsoft.Net.Component.4.6.2.TargetingPack
46+
--add Microsoft.Net.Component.4.6.TargetingPack `
47+
--add Microsoft.Net.Component.4.6.1.TargetingPack `
48+
--add Microsoft.Net.Component.4.6.2.TargetingPack `

0 commit comments

Comments
 (0)