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
Nuget doesn't seem to download project dependencies in Linux #8144
Comments
dotnet.log |
Restore doesn’t run as part of msbuild unless you ask for it to be. Can you try: |
Hi @rrelyea thanks for the answer. I tried msbuild /restore and gives me the same behavior: restore task says ok, build fails on missing assembly for dependency |
Could this be something related to #7956, i.e incompatibility between mono & sdk? |
Team, |
A sample solution, that we can unzip and try for ourselves, would make it much easier for us to investigate. Customers using the .NET SDK on Linux is not uncommon, especially with the popularity of Docker, and most customers are not reporting problems, so some effort is needed to isolate the problem. Your comment about wapproj is helpful, though we'd still need to figure out how to create one of those project files, then test it works on Windows before we can test on Linux. If you could provide us with a zip, then that reduces the friction to investigate. |
@zivkan Thanks for the prompt reply. I think I misunderstood few things there. It's not the package restore fails in Linux build. In the |
NuGet product used NuGet.exe | dotnet.exe
NuGet version (x.x.x.xxx): 4.8.2.5835
dotnet.exe --version (if appropriate): 2.2.203
OS version (i.e. win10 v1607 (14393.321)): Ubuntu 18.04 LTS
Detailed repro steps so we can see the same problem
...
I have a project where I define a build task
as
and the following dependencies define in the .csproj
doing
dotnet resore
ornuget restore
says all ok but when I domsbuild
I getMono version:
The text was updated successfully, but these errors were encountered: