Giter Club home page Giter Club logo

hmsbuild's Introduction

Compiled text-based embeddable pure batch-scripts (no powershell or dotnet-cli) for searching of available MSBuild tools. VS2017+ (does not require local vswhere.exe [?]), VS2015, VS2013, VS2010, other versions from .NET Framework. Contains gnt.core for work with NuGet packages and more...

Build status release-src License GetNuTool core

Download: Latest stable batch-script [ hMSBuild ]

Why hMSBuild ?

because you need simple access to msbuild tools and more...

Based on GetNuTool core https://github.com/3F/GetNuTool

  • Initially, it was part of this tool like a small msbuild-helper. Then, it has been extracted into the new project after major changes from MS for their products. Now we have more support of all this.

Today's hMSBuild provides flexible way to access to msbuild tools for any type of your projects. Just specify what you need in different environments. Look at #Algorithm of searching below.

{Screencast - hMSBuild in action. Demo via RunIlAsm error}

Features

Just a single batch file and no more for your happy build.

Combine this with your other available scripts or just type hMSBuild {arguments to original msbuild} and have fun.

Start with hMSBuild -h

What supports ?

  • Versions from VS2017+

  • Versions from VS2015, VS2013

  • Versions from .NET Framework, including for VS2010

Algorithm of searching

v2.0+

  • Versions:

    • VS2017+ โžŸ VS2015, VS2013, ... โžŸ .netfx
  • Architectures (configure via -notamd64 key):

    • x64 โžŸ x32
  • Priorities (configure via -vsw-priority and -stable keys). Specific workload components in more priority than pre-release products. See Issue #8

    1. Stable releases with selected workload components (C++ etc) โžŸ Same via beta releases if allowed.
    2. Stable releases with any available components โžŸ Same via beta releases if allowed.

Usage

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 
Copyright (c) 2017-2018  Denis Kuzmin [ [email protected] ] :: github.com/3F

Distributed under the MIT license
https://github.com/3F/hMSBuild


Usage: hMSBuild [args to hMSBuild] [args to msbuild.exe or GetNuTool core]
------

Arguments:
----------
 -no-vs        - Disable searching from Visual Studio.
 -no-netfx     - Disable searching from .NET Framework.
 -no-vswhere   - Do not search via vswhere.

 -vsw-priority {IDs} - Non-strict components preference: C++ etc.
                       Separated by space: https://aka.ms/vs/workloads

 -vsw-version {arg}  - Specific version of vswhere. Where {arg}:
     * 1.0.50 ...
     * Keywords:
       `latest` - To get latest remote version;
       `local`  - To use only local versions;
                  (.bat;.exe /or from +15.2.26418.1 VS-build)

 -no-cache         - Do not cache vswhere for this request.
 -reset-cache      - To reset all cached vswhere versions before processing.
 -notamd64         - To use 32bit version of found msbuild.exe if it's possible.
 -stable           - It will ignore possible beta releases in last attempts.
 -eng              - Try to use english language for all build messages.
 -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.
 -debug            - To show additional information from hMSBuild.
 -version          - Display version of hMSBuild.
 -help             - Display this help. Aliases: -help -h


------
Flags:
------
 __p_call - Tries to eliminate the difference for the call-type invoking hMSBuild.bat

--------
Samples:
--------
hMSBuild -notamd64 -vsw-version 1.0.50 "Conari.sln" /t:Rebuild
hMSBuild -vsw-version latest "Conari.sln"

hMSBuild -no-vswhere -no-vs -notamd64 "Conari.sln"
hMSBuild -no-vs "DllExport.sln"
hMSBuild vsSolutionBuildEvent.sln

hMSBuild -GetNuTool -unpack
hMSBuild -GetNuTool /p:ngpackages="Conari;regXwild"

hMSBuild -no-vs "DllExport.sln" || goto bx

License

The MIT License (MIT)

Copyright (c) 2017-2018  Denis Kuzmin <[email protected]> :: github.com/3F

Donate โ˜•

hmsbuild's People

Contributors

3f avatar uli-weltersbach avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.