-
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
github action with .NET SDK 5.0.202 fails to compile my solution #16774
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
It's a known issue with setup-dotnet on github actions, I get that on the .NET 6 SDK sometimes with how sometimes it somehow screws up on setting up the global nuget feeds on the CI containers, and then other times if you was to manually do the Also looking at that code, you do not need to add msbuild to path and can successfully build with Anyways a proper .NET Core build setup is at https://github.com/Elskom/Sdk/ if you are interested in viewing how I setup my workflows, and yes I use a manual nuget.config file which is used instead of the default nuget.config and includes the default feeds (as well as the azure feeds to the .NET 5 and 6 nuget packages that are also part of the .NET 5 / 6 frameworks while my code targets .NET Standard. cc: @lsoft |
@AraHaan I'm using I will take a look to |
I had troubles with the .NET 5 SDK too with nuget restore inside of Visual Studio and building, which was why I moved it to the .NET 6 SDK, Also I would try to upgrade all the old style csproj's with the vs2019 migration tool that can be installed with Edit: With this pr made back in 2020 it should show you how to get VSIX's while using the .NET SDK only. |
@aortiz-msft @JonDouglas similar to the other issue I pinged you on. This appears to be a missing default feed. |
We found a root cause in actions and are working to get a resolution shortly. EDIT: This issue occurs because NuGet added the following change NuGet/NuGet.Client#3907 to respect empty |
thanks for help guys! due to my problem is unrelated with sdk itself, I close this. |
That explains why my windows CI's would fail for even the .NET 6 preview SDK's randomly, but work on mac / linux CI's on github actions. |
I have a repo
https://github.com/lsoft/DpdtInject
, and today I experienced a trouble to compile mysln
in github actions.The only difference between red and green actions is SDK version: works fine with 5.0..201, fails with 5.0.202. So I guess the root of the problem is in SDK 5.0.202, but I may miss something.
Please compare the following github action logs. I post here only the failed step.
Please let me know if any additional information is required.
Failed action with 5.0.202 ( https://github.com/lsoft/DpdtInject/actions/runs/726094647 ):
And the normal action after I switched back to 5.0.201 ( https://github.com/lsoft/DpdtInject/actions/runs/726100065 ):
The text was updated successfully, but these errors were encountered: