forked from bfgroup/b2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f628aa8
commit c03c11c
Showing
6 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Param( | ||
[Parameter(Position=1, Mandatory=$true)] | ||
[int]$version | ||
) | ||
Import-Module -Name .\VSSetup | ||
$vs = Get-VSSetupInstance -All | Select-VSSetupInstance -Require 'Microsoft.VisualStudio.Workload.NativeDesktop' -Version "[$version.0,$($version+1).0)" -Latest | ||
if (-Not $vs) { | ||
exit 1 | ||
} | ||
$vs.InstallationPath + "\VC\Auxiliary\Build\vcvarsall.bat" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (C) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT license. See LICENSE.txt in the project root for license information. | ||
@{ | ||
GUID = '440e8fb1-19c4-4d39-8f75-37424bc4265a' | ||
Author = 'Microsoft Corporation' | ||
CompanyName = 'Microsoft Corporation' | ||
Copyright = 'Copyright (C) Microsoft Corporation. All rights reserved.' | ||
Description = 'Visual Studio Setup PowerShell Module' | ||
ModuleVersion = '1.0.36.5345' | ||
PowerShellVersion = '3.0' | ||
CLRVersion = '4.0' | ||
RootModule = 'Microsoft.VisualStudio.Setup.PowerShell.dll' | ||
RequiredAssemblies = 'Microsoft.VisualStudio.Setup.PowerShell.dll' | ||
TypesToProcess = 'VSSetup.types.ps1xml' | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Types> | ||
<Type> | ||
<Name>Microsoft.VisualStudio.Setup.Instance</Name> | ||
<Members> | ||
<MemberSet> | ||
<Name>PSStandardMembers</Name> | ||
<Members> | ||
<NoteProperty> | ||
<Name>DefaultDisplayProperty</Name> | ||
<Value>InstanceId</Value> | ||
</NoteProperty> | ||
<PropertySet> | ||
<Name>DefaultKeyPropertySet</Name> | ||
<ReferencedProperties> | ||
<Name>InstanceId</Name> | ||
</ReferencedProperties> | ||
</PropertySet> | ||
<PropertySet> | ||
<Name>DefaultDisplayPropertySet</Name> | ||
<ReferencedProperties> | ||
<Name>InstanceId</Name> | ||
<Name>DisplayName</Name> | ||
<Name>InstallationVersion</Name> | ||
<Name>InstallationPath</Name> | ||
<Name>InstallDate</Name> | ||
</ReferencedProperties> | ||
</PropertySet> | ||
</Members> | ||
</MemberSet> | ||
</Members> | ||
<TypeAdapter> | ||
<TypeName>Microsoft.VisualStudio.Setup.PowerShell.InstanceAdapter</TypeName> | ||
</TypeAdapter> | ||
</Type> | ||
<Type> | ||
<Name>Microsoft.VisualStudio.Setup.PackageReference</Name> | ||
<Members> | ||
<MemberSet> | ||
<Name>PSStandardMembers</Name> | ||
<Members> | ||
<NoteProperty> | ||
<Name>DefaultDisplayProperty</Name> | ||
<Value>Id</Value> | ||
</NoteProperty> | ||
<PropertySet> | ||
<Name>DefaultKeyPropertySet</Name> | ||
<ReferencedProperties> | ||
<Name>UniqueId</Name> | ||
</ReferencedProperties> | ||
</PropertySet> | ||
<PropertySet> | ||
<Name>DefaultDisplayPropertySet</Name> | ||
<ReferencedProperties> | ||
<Name>Id</Name> | ||
<Name>Version</Name> | ||
<Name>Chip</Name> | ||
<Name>Language</Name> | ||
<Name>Branch</Name> | ||
</ReferencedProperties> | ||
</PropertySet> | ||
</Members> | ||
</MemberSet> | ||
</Members> | ||
</Type> | ||
</Types> |