❔ Compatibility Issues between Rider and Visual Studio?

Do anyone know about possible compatibility issues when creating a project in rider? And then opening it in Visual Studio? A little background. We have a new project that was created in Rider, however people using visual studio receives error upon trying to compile it. Mostly "Namespace or types cannot be found" type of stuff. I have no idea what information to provide, since I am confused about the problem myself, is it a possible mismatch between visual studio .csproj files and riders? And hint or help would be welcome!
9 Replies
anita
anita2y ago
I think rider uses the normal „dotnet new“ templates from microsoft. So there shouldn’t be any problem
Steven.Basker
Steven.BaskerOP2y ago
There is quite a lot of errors, but most of them I believe are related to a nuget package Xrm.SDK. I cannot see the reference when I right click on a project see the references from the GUI, but I can see it in the .csproj file
<Reference Include="Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\path\to\dll\Microsoft.CrmSdk.CoreAssemblies.9.0.2.49\lib\net462\Microsoft.Xrm.Sdk.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\path\to\dll\Microsoft.CrmSdk.CoreAssemblies.9.0.2.49\lib\net462\Microsoft.Xrm.Sdk.dll</HintPath>
</Reference>
Pobiega
Pobiega2y ago
That's a .net framework csproj
Steven.Basker
Steven.BaskerOP2y ago
At closer inspection it seems that visual studio is referencing a path that is non existing, however rider isn't throwing up because of it, but only throwing warnings I know, but it seems like rider somehow just throws an error if it is referencing a wrong path?
Pobiega
Pobiega2y ago
Any particular reason you're using the really old .net framework for a new project?
Steven.Basker
Steven.BaskerOP2y ago
Yeah, it's an old version we're working on, and newer stuff isn't supported by the server
Pobiega
Pobiega2y ago
ouch
Steven.Basker
Steven.BaskerOP2y ago
Yeah, it's a bummer, but what can you do? 🥲 Anyway thanks for the help guys.
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server