GithubHelp home page GithubHelp logo

Support package managers about msbuild HOT 4 CLOSED

dotnet avatar dotnet commented on July 17, 2024
Support package managers

from msbuild.

Comments (4)

AndyGerlicher avatar AndyGerlicher commented on July 17, 2024

Package support is on our long term roadmap. This is not something we want to address at this time.

from msbuild.

lilith avatar lilith commented on July 17, 2024

Keep in mind, that with this you're killing F# (for which NuGet is unusable) and cross-platform C#+p/invoke (where NuGet is unusable).

After so many promises to play fair, this is pretty much the ultimate F*** you to the OSS community.

Is permitting re-load after pre-build so hard?

from msbuild.

dsplaisted avatar dsplaisted commented on July 17, 2024

Is permitting re-load after pre-build so hard?

@nathanaeljones Basically, yes. The newly imported targets could impact everything that's already been evaluated and executed, so MSBuild would have to throw out everything and start over.

Generally what we do for package restore for CI / command line builds is to have an outer project which runs package restore and then calls MSBuild on the project files that actually build the source code. These projects aren't evaluated until after packages are restored, so it works correctly. Here's an example of this.

This doesn't help in Visual Studio because VS wouldn't build the outer project which does package restore. However, what you can do is to have the project do the package restore and then call MSBuild on itself. I've created a proof of concept of doing this in the paket.targets file here.

from msbuild.

dhusemann avatar dhusemann commented on July 17, 2024

Shouldn't this stay open?? although it isn't in the current plans it is still something to be addressed.

from 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.