GithubHelp home page GithubHelp logo

Comments (2)

3F avatar 3F commented on June 16, 2024

Checked and fixed problems for ' &!~`@#$^(+)_=%-;

Example of bug for v1.2.2:

D:\prg\projects\hMSBuild\public\v1.2.2\Release\raw>hmsbuild -novswhere /p:testkey="crazy' dir&name!~`@$#^(+);_=-[.]%{,}" test.targets
'name~`@$#(+)' is not recognized as an internal or external command,
operable program or batch file.
hMSBuild: "C:\Program Files (x86)\MSBuild\14.0\bin\amd64\\MSBuild.exe"
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

New logic after cab1c8b:

D:\prg\projects\hMSBuild\hMSBuild\bin\Release>hmsbuild -no-vswhere /p:testkey="crazy' dir&name!~`@$#^(+);_=-[.]%{,}" test.targets
hMSBuild: "C:\Program Files (x86)\MSBuild\14.0\bin\amd64\\MSBuild.exe"
Microsoft (R) Build Engine version 14.0.23107.0
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 12/15/2018 2:00:44 AM.
Project "D:\prg\projects\hMSBuild\hMSBuild\bin\Release\test.targets" on node 1 (default targets).
header:
  res: crazy' dir&name!~`@$#^(+);_=-[.]%{,}
Done Building Project "D:\prg\projects\hMSBuild\hMSBuild\bin\Release\test.targets" (default targets).


Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.04

cab1c8b also disables the light version. Means new compiling will not generate this.
I have no plan to support this today. Create new issue to discuss this if you need.

The new release will be after GetNuTool

from hmsbuild.

3F avatar 3F commented on June 16, 2024

To avoid problems in 1.2.2 or less, try for example:

for /F "tokens=*" %%a in ('hMSBuild.bat -only-path') do (
    "%%~a" /p:testkey="crazy' dir&name!~`@$#^(+);_=-[.]%%{,}" test.targets
)

:: etc

Anybody, please also check this changes as possible before release. Lot of trivial fixes for !@#$%^ .... you know.

Use latest binaries.

from hmsbuild.

Related Issues (10)

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.