-
Notifications
You must be signed in to change notification settings - Fork 537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[One .NET] remove Microsoft.NETCore.App.Host.linux-* #7043
Merged
jonpryor
merged 2 commits into
dotnet:main
from
jonathanpeppers:Microsoft.NETCore.App.Host.linux
May 27, 2022
Merged
[One .NET] remove Microsoft.NETCore.App.Host.linux-* #7043
jonpryor
merged 2 commits into
dotnet:main
from
jonathanpeppers:Microsoft.NETCore.App.Host.linux
May 27, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Context: 3f052b5 Context: dotnet/sdk#25679 If you use our .NET 7 workload, and do: dotnet new android dotnet restore It fails with: C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-arm with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-arm64 with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] You have to add a `nuget.config` to solve the issue: <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" /> </packageSources> </configuration> In 3f052b5, we had a workaround for early .NET 6 previews to prevent this issue. At some point the problem *seemed* fixed because the dotnet/runtime we were using was always on NuGet.org. I tested a .NET 6 Android app with the 6.0.300 SDK, and it always downloads these packages. For now, let's put 3f052b5 back in. This should also allow us to remove the `dotnet7` feed in our MSBuild tests.
simonrozsival
pushed a commit
to simonrozsival/xamarin-android
that referenced
this pull request
May 31, 2022
Context: 3f052b5 Context: dotnet/sdk#25679 If you use our .NET 7 workload, and do: dotnet new android dotnet restore It fails with: C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-arm with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-arm64 with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] You have to add a `nuget.config` to solve the issue: <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" /> </packageSources> </configuration> In 3f052b5, we had a workaround for early .NET 6 previews to prevent this issue. At some point the problem *seemed* fixed because the dotnet/runtime we were using was always on NuGet.org. I tested a .NET 6 Android app with the 6.0.300 SDK, and it always downloads these packages. For now, let's put 3f052b5 back in. This should also allow us to remove the `dotnet7` feed in our MSBuild tests.
jonathanpeppers
added a commit
to jonathanpeppers/xamarin-android
that referenced
this pull request
Aug 5, 2022
Context: 3f052b5 Context: dotnet/sdk#25679 If you use our .NET 7 workload, and do: dotnet new android dotnet restore It fails with: C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-arm with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-arm64 with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] C:\src\foo\foo.csproj error NU1102: Unable to find package Microsoft.NETCore.App.Host.linux-x64 with version (= 7.0.0-preview.5.22271.4) - Found 88 version(s) in nuget.org [ Nearest version: 7.0.0-preview.4.22229.4 ] - Found 0 version(s) in Microsoft Visual Studio Offline Packages [C:\src\foo\foo.csproj] You have to add a `nuget.config` to solve the issue: <?xml version="1.0" encoding="utf-8"?> <configuration> <packageSources> <add key="dotnet7" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet7/nuget/v3/index.json" /> </packageSources> </configuration> In 3f052b5, we had a workaround for early .NET 6 previews to prevent this issue. At some point the problem *seemed* fixed because the dotnet/runtime we were using was always on NuGet.org. I tested a .NET 6 Android app with the 6.0.300 SDK, and it always downloads these packages. For now, let's put 3f052b5 back in. This should also allow us to remove the `dotnet7` feed in our MSBuild tests.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Context: 3f052b5
Context: dotnet/sdk#25679
If you use our .NET 7 workload, and do:
It fails with:
You have to add a
nuget.config
to solve the issue:In 3f052b5, we had a workaround for early .NET 6 previews to prevent
this issue. At some point the problem seemed fixed because the
dotnet/runtime we were using was always on NuGet.org. I tested a .NET
6 Android app with the 6.0.300 SDK, and it always downloads these
packages.
For now, let's put 3f052b5 back in. This should also allow us to
remove the
dotnet7
feed in our MSBuild tests.