Code Monkey home page Code Monkey logo

Comments (4)

hoffi avatar hoffi commented on May 17, 2024

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.

GabrielMancik avatar GabrielMancik commented on May 17, 2024

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.

hoffi avatar hoffi commented on May 17, 2024

Huh, thanks!
I will add these parameters 👍

from gulp-msbuild.

hoffi avatar hoffi commented on May 17, 2024

Hi, i have published a new version with this fix.

from gulp-msbuild.

Related Issues (20)

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.