-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Error when working directory is drive root #38050
Comments
Thanks for the report @richlander. From what you've seen, is this "common" (fix soon; serious customer pain) or "uncommon" (try to get around to it, but it isn't a top priority)? |
I imagine the priority is a bit higher than it otherwise would be since containers are a growing area, but I haven't seen any of the user data myself. |
It is common enough. I've done this multiple times. It is very easy to do with Dockerfiles. This isn't a rush. It would be great to get the fix into 8.0.400 (and 9.0), for example. |
Sounds good! |
If you want to try this yourself, make a Dockerfile and |
Thanks! I look forward to trying this. I should be able to work this into a container related blog post. |
We have seen multiple cases where
dotnet restore
times out with an unrecoverable error when the user places an app at OS root. This is easy to do in containers/Dockerfile and is hard to diagnose. It's also not a useful pattern.dotnet build
and friends (restore
,publish
,test
, ...) should fail when run at drive root. We can offer a--force
command to override this case, however, that may not be necessary.Context: NuGet/Home#13131
The text was updated successfully, but these errors were encountered: