C++ Project support

Answered

I hae only ever used VS for .Net development, typically in a Windows VM on my MBP. Frequently I include small C++ projects in my .Net solutions. I love the idea of .Net development in OSX with Rider and write the C++ components with CLion.

Other developers downstream will build on my code so VS needs to be able to build any solutions I create out of the box.

Rider doesn't need to do anything more than include/support a c++ project in the solution that wouldn't bork VS. I realise there are complications, not in the least debugging, so I'm just putting it out there as a dream of mine. 

6 comments
Comment actions Permalink

Could you please share some simple solution with us?
To have things more clear it will be nice to have a https://youtrack.jetbrains.com/issues report and it is easy to attach anything privately for the team only.
Are you on Windows? If you are on mac, maybe some MS Cpp targets just don't exist there, so it is hard to do anything.
Does opening Solution in Rider fails or Build Solution in Rider fails? Have you tried building with plain MSBuild?

Thanks!

0
Comment actions Permalink

I don't have any mixed solutions I can share but I'll whip one up over the weekend and post it to YouTrack. 

 

I did open up an existing solution in Rider and the .Net projects all loaded with no problem and the C++ remained greyed out with a 'load failed' tag. The log message is:

"'C++ project' load failed: The imported project "/Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  /Users/.../C++.vcxproj at (19:3)"

I was able to successfully build this solution after unloading some forms, setting 'Allow usafe code' in a number of projects, et cetera but it will never run. This solution probably isn't a useful example because It's too complex.

The mixed solution I whip up this weekend will be a good example.

 

I generally target Windows and have just started experimenting with OSX last week after I discovered the Rider EAP (I also use PyCharm and PHPStorm and would like to give CLion a go). I don't know yet what issues I'll run into but my hope is they lead to more platform agnostic programs rather than road blocks.

Thanks for the reply!

0
Comment actions Permalink

Please post here the link to YoutTrack issue, when you have it. Thank you!

0
Comment actions Permalink

I'm also having the same issue imported project "/Microsoft.Cpp.Default.props" was not found but on a C# project. I'm running Rider on macOS Sierra

0
Comment actions Permalink

Are there any updates on this topic? 

 

 

0
Comment actions Permalink

@Dmytro Baranovskyi Please try Rider for Unreal, if it doesn't work for your use-case, please file an issue to https://youtrack.jetbrains.com/issues

0

Please sign in to leave a comment.