-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Preview2 packages missing? #9162
Copy link
Copy link
Closed
Description
In Alpine 3.7, i tried 3.6 tarball:
docker run -it alpine:latest
apk update
apk add curl libstdc++ libunwind libintl icu openssl
curl -O https://dotnetcli.blob.core.windows.net/dotnet/Sdk/master/dotnet-sdk-latest-alpine.3.6-x64.tar.gz
mkdir -p /usr/bin/dotnet
tar -xzvf dotnet-sdk-latest-alpine.3.6-x64.tar.gz -C /usr/bin/dotnet
export PATH=$PATH:/usr/bin/dotnet
rm dotnet-sdk-latest-alpine.3.6-x64.tar.gzAfter that when i run dotnet new console -n testconsole, i get
Processing post-creation actions...
Running 'dotnet restore' on testconsole/testconsole.csproj...
Restoring packages for /testconsole/testconsole.csproj...
/testconsole/testconsole.csproj : error NU1102: Unable to find package Microsoft.NETCore.App with version (>= 2.1.0-preview2-26309-01)
/testconsole/testconsole.csproj : error NU1102: - Found 24 version(s) in nuget.org [ Nearest version: 2.1.0-preview1-26216-03 ]
Generating MSBuild file /testconsole/obj/testconsole.csproj.nuget.g.props.
Generating MSBuild file /testconsole/obj/testconsole.csproj.nuget.g.targets.
Restore failed in 206.09 ms for /testconsole/testconsole.csproj.
Restore failed.
Post action failed.
Description: Restore NuGet packages required by this project.
Manual instructions: Run 'dotnet restore'Unable to find package Microsoft.NETCore.App with version (>= 2.1.0-preview2-26309-01)
Nearest version: 2.1.0-preview1-26216-03
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels