dotnet --interactive not working in 5.0.4xx
See original GitHub issueI’ve followed all instructions and installed the credential provider. When I run dotnet new --install <package> --nuget-source <source> --interactive
, nothing happens, the template is NOT installed and no errors are shown. However if I run dotnet restore <scratch\restore.csproj> --interactive
, it prompts for credentials as expected. How come the dotnet new --interactive
doesn’t prompt me??
Running dotnet --info
gives me the following:
.NET SDK (reflecting any global.json):
Version: 5.0.401
Commit: 4bef5f3dbf
Runtime Environment:
OS Name: Windows
OS Version: 10.0.19042
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\5.0.401\
Host (useful for support):
Version: 5.0.10
Commit: e1825b4928
.NET SDKs installed:
5.0.401 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.19 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 5.0.10 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.19 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 5.0.10 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.19 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.6 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 5.0.10 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Can't open or create .Net Interactive notebook #1872
Net Interactive notebooks, I can't create or open .Net Interactive ... NET 5 is not installed (otherwise same Windows version, same .
Read more >Microsoft.dotnet-interactive is not compatible with net5.0
Resolving error message Microsoft.dotnet-interactive is not compatible with net5.0 when updating dotnet-interactive for Jupyter Notebook.
Read more >"dotnet restore --interactive" doesn't work with Azure Artifacts
When I tried dotnet restore --configfile .\.nuget\NuGet.Config --interactive it did prompt me. I could login in and everything worked! I'm not ...
Read more >.NET Interactive is here! | .NET Notebooks Preview 2 ...
Today we are excited to announce Preview 2 of the .NET Notebook experience. Preview 2 includes C#, F#, and PowerShell support.
Read more >Exploring .NET interactive notebooks with VS Code
In this post I explore .NET Interaction Notebooks for VS Code, discuss the options, and show how to get started.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
.NET 5 has entered servicing mode, which means it either needs to be security issue or high impact or no workaround to be fixed. Since .NET 5 serving would go out around same time as .NET 6 stable release and since there is a workaround, we have decided to not fix this bug at this time.
Feel free to reply if you have further concerns.
Another temporary workaround is, to send link to download .nupkg via https, and than user can do ‘dotnet new -i path/to/downloaded.nupkg’