Giter Site home page Giter Site logo

XBuild error about gulp-msbuild HOT 8 CLOSED

hoffi avatar hoffi commented on July 23, 2024
XBuild error

from gulp-msbuild.

Comments (8)

hoffi avatar hoffi commented on July 23, 2024

Huh..
Could you run again with the option logCommand: true.
Looks like the command was generated wrong.

from gulp-msbuild.

gregbty avatar gregbty commented on July 23, 2024

Here is the command:

"xbuild" "/path-to-sln/name.sln" /target:Clean;Build /verbosity:normal /toolsversion:4.0 /nologo /maxcpucount /property:Configuration="Development"

from gulp-msbuild.

hoffi avatar hoffi commented on July 23, 2024

Hm looks like the semicolon of the targets is a problem.

Can you try these:

  • Use only one Target for example: targets: ["Rebuild"]
  • Execute the command manually but wrap the targets in double quotes:
    • xbuild "/path-to-sln/name.sln" /target:"Clean;Build" /verbosity:normal /toolsversion:4.0 /nologo /maxcpucount /property:Configuration="Development"

Work both?

from gulp-msbuild.

gregbty avatar gregbty commented on July 23, 2024

I think both of those "work", however not I am getting the "MSBUILD0004: Too many project files specified". Have you seen that error before?

from gulp-msbuild.

hoffi avatar hoffi commented on July 23, 2024

Okay thanks, i will fix this.
For the error: Never heard of such an error and im also not sure what this means... Looks like a problem in the .sln file.

from gulp-msbuild.

hoffi avatar hoffi commented on July 23, 2024

The quote problem is solved.

from gulp-msbuild.

gregbty avatar gregbty commented on July 23, 2024

Looks like it broke the Windows msbuild system.

The target "Clean;Build" does exist in project.

from gulp-msbuild.

hoffi avatar hoffi commented on July 23, 2024

Should work again with latest version

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.