Giter Site home page Giter Site logo

Comments (2)

ssteiner avatar ssteiner commented on August 14, 2024

I don't think you can fix that.. the exception comes from the Microsoft.Build namespace (which are dependencies of dnt) - if at all you'd have to talk to the guys in charge of the MSBuild tools. The alternative would be to write your own sln parser and replace the usage of the MSBuild sln parser. You'd start with using (var projectInformation = ProjectExtensions.LoadProject(solutionProject.AbsolutePath, globalProperties)) in SwitchPackagesToProjectsCommand . But you'd probably spend quite a bit of time ripping everything out.

Though, how do you get your dev environment to even load an .sln that MS considers invalid? I guess I'm not getting how your projects look. Switching the solution SA would work, right?
When you switch SB, your switcher file would say to replace package SA.PA with project PA. If PA is already in the SB.SLN, it shouldn't be re-added - so after the switch SB.SLN should contain PA and PB, no?

from dnt.

tripleacoder avatar tripleacoder commented on August 14, 2024

I have this problem too, where an app called "DefectEditor" references a Nuget project named "DefectEditor".

switch-to-prjects does not work in this case.

from dnt.

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.