Rider 2022.3.2 yellow warning triangle in dependencies --> packages
Hi
For some reason I more or less aslways get yellow warning triangle in Project --> Dependencies for for the nuget packages in a solution. Can't understand why. If I open the solution in VS 2022 there are no warnings in dependencies.
Have tried to completely remove Rider several times. But i still get these warnings. ( have followed : Uninstall JetBrains Rider | JetBrains Rider Documentation). And after this also removed all data under c:\program files before I try to reinstall.
My solutions do build successfully but this issues will not let med browse the nuget packages under dependencies.
Anyone have any idea what it could be ? Would really appreciate it since I want to use Rider.
//Niklas
Rider dependencies
VS Dependencies for same solution / project
Please sign in to leave a comment.
I'm getting the same thing - warning triangles, can't see any warnings / messages anywhere about why:
Hi Steven Leigh
Same for me. When I hover over the yellow triangle it shows no more information.
Another strange thing is that sometimes when I create a new project it does show correctly with no warnings. Though it seems to be more random.
Hi Steven Leigh Niklas Brattemark,
This issue should be fixed in the upcoming Rider 2023.1 EAP 7 (likely to be released next week). If you encounter this issue after EAP 7 is released, please let us know.
Thanks @Kirill Filin.
I guess also the next release of Rider (2023.1 ?) will address this ?
Yes, EAP is a preview version of the upcoming Rider 2023.1 that will be released around April.
@Kirill Filin, I can test 2023.1 EAP 7 when it is released to verify
Kirill Filin,
I have tested EAP7 and it seems to be fixed. Thanks for the help
Kirill Filin, my Rider is in 2022.3.3, Build #RD-223.8836.53, built on March 20, 2023
Runtime version: 17.0.6+1-b653.34 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
but didn't fix my issue.
Rider dependencies
vs dependencies
Same here. Using 2022.3.3 on Mac OS Monterey and all dependencies are yellow. No warnings, no errors on build/debug/run
Another thing I noticed is that the "Projects" reference folder inside Dependencies is gone. Now, to know which projects are referenced, I need to manually click on "references" to open the "Add Reference" window
Hi, have now tested 2023.1 (released 5:th of March)
Have just added one nuget package (Microsoft.Extensions.Hosting)
That nuget package has a lot of derrived dependencies which I cant see in Rider but they are visible in Visual Studio.
Also the last attached picture is from a fiend that also did open the project in same version of Rider (2023.1) and can see the derrived dependencies.
Is this a setting in Rider somewhere how to see the dependencies ? Kirill Filin
Looks in Rider:
In Visual Studio
From a collegue tthat open the project in same version of Rider:
Apologies for keeping you so long without a response.
It seems like you encountered a known issue that is already fixed: https://youtrack.jetbrains.com/issue/RIDER-90650
Please try updating Rider to the actual version (2023.1.2) https://www.jetbrains.com/rider/download/.
If you do not wish to update Rider, you may try the following options:
1) To downgrade .NET SDK 7.0.103;
2) To add the following to your .csproj files
True
If that doesn't help, please let me know.
Have a nice day!
Hi Dmitry Kazantsev
I still have the same problem with 2023.1.2
Though if I add this to the .csproj file it seems to work (but according to this post it should work without, https://youtrack.jetbrains.com/issue/RIDER-90650):
<PropertyGroup><EmitLegacyAssetsFileItems>True</EmitLegacyAssetsFileItems> </PropertyGroup>
Visual Studio 2022 (same project)
Please tell me what you and your colleague have set in File | Settings | Build, Execution, Deployment | Toolset and Build | MSBuild version.
Have a nice day!
Hello Dmitry Kazantsev
We have different. I have version 7.0.302 (latest net 7 sdk)
Colleague have 7.0.100
I have tested with 6.0.311, and then it works better.
I have this :
My colleague have this:
Thank you for the details shared.
I was able to reproduce the issue. This is a bug and it is already registered on our tracker: https://youtrack.jetbrains.com/issue/RIDER-92796
As a workaround, you can try adding the following item to your csproj files or install .NET SDK 7.0.100 and select MSBuild from that installation: {dotnet}/sdk/7.0.100/MSBuild.dll in Rider settings.
True
Please let me know if that doesn't help.
Have a nice day!
Hi Dmitry Kazantsev,
Thanks for the help. Yes and I can use the workaround for the time being.
//Regards Niklas
I am glad to know that we came up with a solution.
Please follow the issue page for further updates.
Should you have any other questions or difficuties, do not hesitate to contact support.
Have a nice day!