Giter Site home page Giter Site logo

Comments (12)

ShaharPrishMSFT avatar ShaharPrishMSFT commented on September 17, 2024 1

@bkromhout : I dont know of a workaround. I currently use the one I compiled for the PR when I need to run. Waiting for it to get merged :(

from dnt.

ShaharPrishMSFT avatar ShaharPrishMSFT commented on September 17, 2024

I have a PR that fixes this:

#122

from dnt.

bkromhout avatar bkromhout commented on September 17, 2024

Hi, is there any possible way to work around this issue while we're waiting for the PR to be merged to fix the issue? Or would it require downgrading Visual Studio? I'm not running a preview version, but I suspect that VS 2022 17.4.0, which I just updated to today, causes the same issue.

from dnt.

Leon99 avatar Leon99 commented on September 17, 2024

Same here, dnt throws on start after upgrading VS 2022 to 17.4.0.
@RicoSuter any chances you could approve the PR?

from dnt.

poxet avatar poxet commented on September 17, 2024

I pulled down #122 and built it locally. Now I'm running C:\dev\DNT\src\Dnt\bin\Debug\net7.0\dnt.exe switch-to-projects switcher.json. It works perfectly. Will be great when this is merged so we can use the real dotnet tool install.

from dnt.

RicoSuter avatar RicoSuter commented on September 17, 2024

Should be fixed in v1.8.1

from dnt.

RicoSuter avatar RicoSuter commented on September 17, 2024

DNT needs to be upgraded to explicitly support the new .NET runtime and that's why it also initially failed for 5->6.

from dnt.

bkromhout avatar bkromhout commented on September 17, 2024

@RicoSuter, any estimate on when 1.8.1 will be available on Nuget? Seems like the CI build is failing currently

from dnt.

RicoSuter avatar RicoSuter commented on September 17, 2024

Works for me now...

from dnt.

bkromhout avatar bkromhout commented on September 17, 2024

Oh, my apologies, upon closer inspection it looks like I was having an unrelated error due to one of our private nuget feeds. Thanks!

from dnt.

fabsulous avatar fabsulous commented on September 17, 2024

I am curious whether there is a way to prevent that this will be failing again when the next update is happening. Is it possible to only target something really low, maybe even .NET Standard, and let DOTNET_ROLL_FORWARD take care of the rest?

from dnt.

RicoSuter avatar RicoSuter commented on September 17, 2024

I think because it's a global tool it cannot be .net std.

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.