You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a mixed codebase containing C# and Rust and would like to work on it with Rider (with the Rust plugin installed).
So my codebase root folder contains a
a C# solution (like MyCode.sln) that contains a couple of C# projects of my codebase
a Cargo Workspaces (like Cargo.toml) that contains a couple of Cargo/Rust packages/crates of my codebase
I could not find a way to open/create this mixed codebase in Rider to work on C# and Rust.
I can open the C# solution file (MyCode.sln)) with Rider and get a C# environment, but then the Rust parts do not work. Like, I did not find a way to open the Cargo tool window. I also tried to Attaching Cargo projects via the Cargo.toml but it seems not to do anything like it's not working.
I can also open the Cargo Workspaces (Cargo.toml) with Rider and get a Rust environment, but then the C# parts are not working correctly like no content assist in C# files and when I try to build ist fails with:
No loaded projects
CONSOLE: Use build tool: C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\MSBuild.exe
MSBuild version 17.5.1+f6fdcf537 for .NET Framework
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
So is it possible to work on a C# and Rust mixed codebase with Rider?
How would I open/create such an mixed codebase in Rider?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I have a mixed codebase containing C# and Rust and would like to work on it with Rider (with the Rust plugin installed).
So my codebase root folder contains a
MyCode.sln
) that contains a couple of C# projects of my codebaseCargo.toml
) that contains a couple of Cargo/Rust packages/crates of my codebaseI could not find a way to open/create this mixed codebase in Rider to work on C# and Rust.
I can open the C# solution file (
MyCode.sln
)) with Rider and get a C# environment, but then the Rust parts do not work. Like, I did not find a way to open the Cargo tool window. I also tried to Attaching Cargo projects via theCargo.toml
but it seems not to do anything like it's not working.I can also open the Cargo Workspaces (
Cargo.toml
) with Rider and get a Rust environment, but then the C# parts are not working correctly like no content assist in C# files and when I try to build ist fails with:So is it possible to work on a C# and Rust mixed codebase with Rider?
How would I open/create such an mixed codebase in Rider?
Thanks for any advice and insights.
Beta Was this translation helpful? Give feedback.
All reactions