.Net Core 1.1.0 NuGet packages fail to install in Visual Studio Mac -
i'm playing around aspnet.core 1.1.0 application in visual studio mac preview , have problems updating/installing nuget packages.
if try update eg. microsoft.aspnetcore.diagnostics 1.0.0 1.1.0 fails download , removed package completely. have download , install package 1.0.0 again. same goes microsoft.aspnetcore.server.kestrel.
microsoft.entityframeworkcore i'm not able install in version. heres exception output: https://gist.github.com/anonymous/52ceb28b8d9781835b226bcbe9d04d58
i know right out of oven, wondering if other people have experienced same issues , know of workaround/solution.
for else having similar problems, here's walk-through:
first install .net core 1.1.0: https://www.microsoft.com/net/core#macos
the official .net core 1.1.0 installer (as of when written) includes .net core sdk 1.0.0 preview 2.
you need .net core sdk 1.0.0 preview 3. download here: https://github.com/dotnet/core/blob/master/release-notes/preview3-download.md
create new project in visual studio mac
close project
open project/src/myapp/myapp.csproj , change "netcoreapp1.0" "netcoreapp1.1". save , close file.
<targetframework>netcoreapp1.1</targetframework>
- open solution in visual studio mac , compile it.
now able update nuget packages newest versions.
should run problems, "dotnet restore" when standing in /project/src/myapp/
Comments
Post a Comment