-
Notifications
You must be signed in to change notification settings - Fork 253
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 during restoring packages, only happens on some machines #403
Comments
I have a guess... Most likely it is because some packages cannot be downloaded (e.g. required nuget source/feed is not configured). Unfortunately, the CS-Script does not log detailed information about restore failures which makes it difficult to interpret the observed behaviour. It only says that the folder with the restored packages has not been found. I have fixed the logging and the improvement will be available in the very next release. But for you, to troubleshoot it right now, I have attached the temp project that cs-script creates at runtime for restoring the packages. You can just unzip it anywhere and execute |
Thank you very much for your great help, Oleg! We will try your suggestion and see whether we can figure something out. |
When doing this with version 4.8.25.0:
css -nuget:restore "C:\myproject\Deploy\Build\\do-build.cs"
I get this output on my own development Windows 11 PC:
I.e. everything compiles OK on my PC.
In contrast, one the developer PCs of my co-workers (Windows 11, too), they get something like this as the output:
I.e. they get this error:
We tried to delete all possible locations:
And then we ran the script again, only to see the same error occurring.
We also tried to omit the script call with
--nuget:restore
and directly rund the script:css /dbg "C:\myproject\Deploy\Build\\do-build.cs"
But this also lead to the same erroneous result.
My question
Do you have any idea/clue what might cause this error on the machines of most of my co-workers?
The text was updated successfully, but these errors were encountered: