Comments (2)
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.
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)
- Update logic for searching of vswhere locally and via NuGet
- MSBuild team is changing "{major}.0" to "Current" HOT 2
- Find MSBuild when only Build Tools are installed HOT 3
- Control of the priority for MSBuild versions HOT 2
- a7, a8, a9 - is not recognized as an internal or external command HOT 1
- Visual Studio 2017 Update 3 / MSBuild 15.3 HOT 3
- Non-zero exit code when compilation fails HOT 1
- Add filter or priorities for searching MSBuild together with specific workload components HOT 1
- 1.2.x Possible False activated `-vswhere-version` key. (400) Bad Request, etc HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hmsbuild.