Comments (4)
Hi,
gulp-msbuild
also uses vswhere first and only falls back to the possibleFolders
if it doesn't find anything. (See here and here).
I've looked into grunt-msbuild and found that they are calling vswhere with some parameters.
Could you post the output of these two commands? Maybe it is resolved correctly with the parameters:
%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe
%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe -latest -products * -requires Microsoft.Component.MSBuild
from gulp-msbuild.
Hi,
output:
- %ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe
Visual Studio Locator version 2.0.2 [query version 1.11.2331.64267]
Copyright (C) Microsoft Corporation. All rights reserved.
- %ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe -latest -products * -requires Microsoft.Component.MSBuild
Visual Studio Locator version 2.0.2 [query version 1.11.2331.64267]
Copyright (C) Microsoft Corporation. All rights reserved.instanceId: 7d2c474b
installDate: 20.9.2017
installationName: VisualStudio/15.3.5+26730.16
installationPath: C:\Program Files (x86)\Microsoft Visual Studio\2017\SQL
installationVersion: 15.3.26730.16
isPrerelease: 0
displayName: Microsoft SQL Server Data Tools for Visual Studio 2017
description: Microsoft SQL Server Data Tools for Visual Studio 2017
enginePath: C:\Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\ServiceHub\Services\Microsoft.VisualStudio.Setup.Service
channelId: VisualStudio.15.Release
channelPath: C:\Users\svc_bts_build\AppData\Local\Microsoft\VisualStudio\Packages_Channels\4CB340F5\catalog.json
channelUri: https://aka.ms/vs/15/release/channel
releaseNotes: https://go.microsoft.com/fwlink/?LinkId=660469#15.3.26730.16
thirdPartyNotices: https://go.microsoft.com/fwlink/?LinkId=660485
from gulp-msbuild.
Huh, thanks!
I will add these parameters 👍
from gulp-msbuild.
Hi, i have published a new version with this fix.
from gulp-msbuild.
Related Issues (20)
- SolutionPlatform option not defined in constants. HOT 1
- Default path to msbuild no longer valid after VS2017 install HOT 5
- VS 2017 Developer Command Prompt finds msbuild 14.0 HOT 10
- msbuild fails on multi-cpu machine when maxcpucount = 0 or > 1 HOT 2
- `toolsVersion: 15.0` fails to find msbuild, after looking in amd64 folder HOT 4
- Error: no writecb in Transform class HOT 4
- Gulp stream does not return if there are no errors and emitPublishedFiles: false HOT 2
- Build fails on Mac when Visual Studio for Mac installed HOT 4
- msBuildFromWhere Returns Path to TestAgent if Visual Studio Test Agent product is installed HOT 1
- AMD64 MSBuild tools can cause build problems with UWP apps
- "end" event no longer emitted
- gulp msbuild isn't considering the preview release of visual studio
- emitPublishedFiles undefined in the documentation
- Please make "targets" optional
- gulp has blacklisted gulp-msbuild HOT 5
- dll cannot be copied because it is used by another process
- MS Build in VS2019 folder not supported HOT 1
- Better way to find msbuild
- Msbuild does not build after error
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 gulp-msbuild.