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
"Cycle detected" error restoring xunittest project on Windows 2016 Nano #6386
Comments
Also, got my NuGet.config from here: https://gist.github.com/mellinoe/7580563f9850466ac44352d2b1972c7c |
Did you have another folder in some directory named 'xunit'? |
It's possible that there was an "xunit" directory off of the root. So: c:\x2 <-- where the project was Why would that make a difference? |
Because Nuget tries to find local projects that might replace package references. See NuGet/Home#1428 |
Ok, that does seem to explain it. Closing this issue. |
I just hit this, just now. We need a better error message. There's literally no way for someone to figure this out except for Google. Is that OK? /cc @blackdwarf @davidfowl |
@shanselman this is something that we should file on NuGet/Home, since |
obviously is too late but maybe this will help someone, i was getting this error and was caused because Rider created a reference into the csproj file to itself, i expend some hours before realize this was the issue, of course it was a terrible face palm |
Any progress on this? |
you save me a lot of time. i try to install xunit to folder name c:\learn\xunit .... after rename the folder name the problem solved |
Steps to reproduce
Create a new xunittest project on Windows 2016 Nano, and restore it:
Expected behavior
dotnet restore
works.Actual behavior
dotnet restore
reports "cycle detected" error for xunit.Environment data
dotnet --info
output:The text was updated successfully, but these errors were encountered: