Hidden webapp project files with no index
Hi there,
Recently I switched from Windows to Linux. I loaded an existing solution (created in Visual Studio on Windows ,not created in Rider) and I got this on my Linux box :
If I create a new web project, all works fine.
Does anyone know how to fix this? I already tried the steps described in this post :
Please sign in to leave a comment.
May I know if you are sharing the project folders in Windows with Linux? Seems all project files cannot be indexed.
Please consider cloning the project from VCS in Linux Rider, stop using soft links/sharing folders to storage the project.
In Rider, File | Invalidate Caches will erase current IDE caches. Try this feature to see if there is any improvement.
Hi Tao,
No I am not sharing the project folders in Windows with linux like a shared folder or with soft links or something (on disk-level).
The solution is built on Windows (with Visual Studio 2022). I cloned the sourcecode from github an opened the solution + projects on Linux with Rider.
I did try to Invalidate Caches (as was mentioned above in the other support ticket) but it did not work.
Could you share the public repo URL that shows the problem? I will try to repro the issue on my side.
I am sorry this is not a public repo. Maybe I can create a reproduction scenario for you. Good idea!
When you are preparing for the sample project, you can reproduce the issue in Rider on Linux, in Help | Collect Logs and Diagnostic Data, export a full log bundle and upload it here. I will try to investigate to see if there is any clue.
This is weird, I just did a clean checkout of the repo and now the web project loads… Thank you for your help, Tao. You can close the ticket ;)
Maybe the
.sln
file was broken due to some reason. In case you need any help, please feel free to contact us, thank you!I think it is one of the suggested plugins that want to load. I restarted the solution and enabled some plugins that were suggested and then the problem returned I am now going to enable/disable each plugin until I find the faulty one.
Tao Sun it is not one of the plugins. I can reproduce when I add a new class to another project, that I use in the Webapplication. I disabled all plugins so I have to use Alt+ENTER to add a project reference and a using to the Program.cs in the Webapplication. After that, the webapplication project is like the screenshot. Before adding the reference all was well…
Tao Sun Found it! Building the web-project, Rider created a C:\log folder within the project folder. Windows can find a C:\logs folder but not Linux, so it created a C:\log folder.
Hopefully some other dev finds this post in the future.