Git Clone - Build Initialize fails
When cloning the repository, build initialize fails during package restore.
Unable to locate System.Reflection.Primitives >= 4.0.0
Same here
Works on my PC, what are your machine package sources? %APPDATA%\NuGet\NuGet.Config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<activePackageSource>
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
</activePackageSource>
<packageSources>
<add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
<add key="NuGet" value="https://www.nuget.org/api/v2/" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="xUnit nightly" value="https://www.myget.org/F/xunit/api/v2/" />
</packageSources>
</configuration>
@ErikEJ this is mine nuget.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="AspNet vNext" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
</packageSources>
<activePackageSource>
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
</activePackageSource>
</configuration>
You need to indent :smile:
Best I can do for now :) can you point me to indent docs?
Indent: Four Spaces in front of each line - your NuGet.config looks fine, maybe some intermittent errors on MyGet?
I've already tried multiple (4) times with no luck. Where System.Reflection.Primitives does come from? Looks like it isn't a corefx package
MyGet: https://www.myget.org/gallery/aspnetvnext .. strange....
This is my nuget.config
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
</packageRestore>
<packageSources>
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="vNext nightly builds" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
<add key="vNext milestone builds" value="https://www.myget.org/F/aspnetmaster/api/v2/" />
</packageSources>
<disabledPackageSources>
<add key="api.nuget.org" value="true" />
<add key="vNext milestone builds" value="true" />
</disabledPackageSources>
<activePackageSource>
<add key="vNext nightly builds" value="https://www.myget.org/F/aspnetvnext/api/v2/" />
</activePackageSource>
</configuration>
We had a few issues yesterday with the .NET Core packages. Try deleting %USERPROFILE%\.dnx\packages and %LOCALAPPDATA%\dnu then try again.
I just tried again after deleting those 2 folders, works great now, thanks!
Yup - worked for me too