Skip to content

Commit

Permalink
Public release of the hMSBuild 2.3
Browse files Browse the repository at this point in the history
* NEW: Implemented `-vsw-as "args..."`
       Reassigns default commands to vswhere if used.

       For example:
       ```
       hMSBuild -only-path -vsw-as "-products Microsoft.VisualStudio.Product.BuildTools"
       ```
       Related Issues: #12, #14, #8,

* CHANGED: VS2017+. Using the most modern instance by default.
           You can also specify `-vsw-priority` and `-force` keys to use only what is needed.
           Related Issues: #14, #8.

* CHANGED: Updated wswhere to 2.8.4 by default.

* CHANGED: Updated GetNuTool 1.8
           https://github.com/3F/GetNuTool/releases/tag/1.8

           Most important fix for hMSBuild:
           "The remote server returned an error: (407) Proxy Authentication Required."
           Related issue: 3F/DllExport#133

* NOTE: An compiled.full version now will be distributed together with official hMSBuild releases.
           https://twitter.com/GitHub3F/status/1218224792970715136
           (zip packages) https://github.com/3F/hMSBuild/releases
  • Loading branch information
3F committed Jan 29, 2020
1 parent 6ee2cbc commit cf86a84
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.0
2.3.0
14 changes: 8 additions & 6 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@ Start with `hMSBuild -h`
Usage is same as it would be same for msbuild. But you also have an additional keys to configure hMSBuild and to access to GetNuTool.

```
hMSBuild - 2.0.0.61507 [ a40c6ac ]
Copyright (c) 2017-2018 Denis Kuzmin [ [email protected] ] :: github.com/3F
hMSBuild 2.3.0
Copyright (c) 2017-2020 Denis Kuzmin [ [email protected] ] GitHub/3F
Copyright (c) hMSBuild contributors
Distributed under the MIT license
Licensed under the MIT License
https://github.com/3F/hMSBuild
Expand All @@ -91,7 +92,7 @@ Arguments:
Separated by space: https://aka.ms/vs/workloads
-vsw-version {arg} - Specific version of vswhere. Where {arg}:
* 1.0.50 ...
* 2.6.7 ...
* Keywords:
`latest` - To get latest remote version;
`local` - To use only local versions;
Expand All @@ -105,6 +106,7 @@ Arguments:
-GetNuTool {args} - Access to GetNuTool core. https://github.com/3F/GetNuTool
-only-path - Only display fullpath to found MSBuild.
-force - Aggressive behavior for -vsw-priority, -notamd64, etc.
-vsw-as "args..." - Reassign default commands to vswhere if used.
-debug - To show additional information from hMSBuild.
-version - Display version of hMSBuild.
-help - Display this help. Aliases: -help -h
Expand All @@ -118,7 +120,7 @@ Flags:
--------
Samples:
--------
hMSBuild -notamd64 -vsw-version 1.0.50 "Conari.sln" /t:Rebuild
hMSBuild -notamd64 -vsw-version 2.6.7 "Conari.sln" /t:Rebuild
hMSBuild -vsw-version latest "Conari.sln"
hMSBuild -no-vswhere -no-vs -notamd64 "Conari.sln"
Expand All @@ -128,7 +130,7 @@ hMSBuild vsSolutionBuildEvent.sln
hMSBuild -GetNuTool -unpack
hMSBuild -GetNuTool /p:ngpackages="Conari;regXwild"
hMSBuild -no-vs "DllExport.sln" || goto bx
hMSBuild -no-vs "DllExport.sln" || goto by
```

## Integration with other scripts
Expand Down
34 changes: 32 additions & 2 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
hMSBuild :: https://github.com/3F/hMSBuild
- - - - -
- - - - - - - - - - - - - - - - - - - - -
hMSBuild - https://github.com/3F/hMSBuild
- - - - - - - - - - - - - - - - - - - - -

[v2.3] 2020.01.29

* NEW: Implemented `-vsw-as "args..."`
Reassigns default commands to vswhere if used.

For example:
```
hMSBuild -only-path -vsw-as "-products Microsoft.VisualStudio.Product.BuildTools"
```
Related Issues: #12, #14, #8,

* CHANGED: VS2017+. Using the most modern instance by default.
You can also specify `-vsw-priority` and `-force` keys to use only what is needed.
Related Issues: #14, #8.

* CHANGED: Updated wswhere to 2.8.4 by default.

* CHANGED: Updated GetNuTool 1.8
https://github.com/3F/GetNuTool/releases/tag/1.8

Most important fix for hMSBuild:
"The remote server returned an error: (407) Proxy Authentication Required."
Related issue: https://github.com/3F/DllExport/issues/133

* NOTE: An compiled.full version now will be distributed together with official hMSBuild releases.
https://twitter.com/GitHub3F/status/1218224792970715136
(zip packages) https://github.com/3F/hMSBuild/releases


[v2.2] 2019.07.20

Expand Down

0 comments on commit cf86a84

Please sign in to comment.