Globally installed 7.0-alpha breaks restore for 6.0 projects
See original GitHub issueAfter global installation of 7.0.100-alpha.1.21568.2
SDK via dotnet-install.sh
, restore for projects targeting net6.0
git broken with this error:
Determining projects to restore...
/home/manicka/work/boo/boo.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Ref with version (= 6.0.0-rc.2.21452.2)
/home/manicka/work/boo/boo.csproj : error NU1102: - Found 35 version(s) in nuget.org [ Nearest version: 6.0.0-rc.2.21480.5 ]
/home/manicka/work/boo/boo.csproj : error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 6.0.0-rc.2.21452.2)
/home/manicka/work/boo/boo.csproj : error NU1102: - Found 68 version(s) in nuget.org [ Nearest version: 6.0.0-rc.2.21480.5 ]
/home/manicka/work/boo/boo.csproj : error NU1102: Unable to find package Microsoft.AspNetCore.App.Ref with version (= 6.0.0-rc.2.21452.1)
/home/manicka/work/boo/boo.csproj : error NU1102: - Found 39 version(s) in nuget.org [ Nearest version: 6.0.0-rc.2.21480.10 ]
Output of dotnet --info
:
.NET SDK (reflecting any global.json):
Version: 7.0.100-alpha.1.21568.2
Commit: 0be3213624
Runtime Environment:
OS Name: arch
OS Version:
OS Platform: Linux
RID: arch-x64
Base Path: /usr/share/dotnet/sdk/7.0.100-alpha.1.21568.2/
Host (useful for support):
Version: 7.0.0-alpha.1.21567.1
Commit: 10e107deba
.NET SDKs installed:
6.0.100 [/usr/share/dotnet/sdk]
7.0.100-alpha.1.21568.2 [/usr/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 7.0.0-alpha.1.21567.15 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.0-alpha.1.21567.1 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download
Tested on 3 Linux machines: 2x Arch linux, 1x Pop!_OS (21.04), all manifest the same error.
EDIT: After manual removal of 7.0, everything works as expected.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
@realm/common | Yarn - Package Manager
Breaking change. Removed deprecated positional arguments to Email/Password authentication functions. The following functions now only accept object ...
Read more >https://raw.githubusercontent.com/microsoft/tabste...
Changelog All notable changes to this project will be documented in this file. ... 6 July 2022 - fix: use predicate to assert...
Read more >Change Log · Game Creator - Instruction Manual - Pixel Vision 8
Trash is no longer automatically emptied when shutting down the Game Creator so you can restore backups of accidentally deleted projects at any...
Read more >node - Linux the great
In my setup I am taking three CentOS 7 servers with minimal installation. One server will acts master node and rest two servers...
Read more >Exploiting Samba Buffer Overflow Vulnerability via ...
In the end, the attacker was able to break into the Samba server with the buffer overflow exploit available from the MetaSploit framework....
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
For anyone else that found this issue and was confused by why explicitly adding the feed would be necessary for a released 6.0 build, the PR https://github.com/dotnet/installer/pull/12654 should fix this (issue in installer repo: https://github.com/dotnet/installer/issues/12968).
The odd issue is that really it should be using the latest stable .NET 6 apphost and runtimes when in the main branch.