Hey! I've got a bit of a weird issue and I'm stumped as to how to fix it:
I'm using Unity 2018.4.3 and Rider 2019.1.3. In my project, I have Firebase integrated. Firebase uses https://github.com/parse-community/Parse-SDK-dotNET to add newer .NET functionality (like Tasks) to older .NET standards. Somehow, Firebase's SDK takes care of the naming clashes when using the .NET 4.x scripting runtime, as I am in Unity 2018.4.3.
In Unity the project compiles nicely, but in Rider I get an error when awaiting FirebaseApp.CheckAndFixDependenciesAsync (a method returning Task<Firebase.DependencyStatus> (extra sidenote: the Task class returned is from within Parse-SDK-dotNET, not the standard .NET runtime)):
'Type 'System.Threading.Tasks.Task<Firebase.DependencyStatus>' is not awaitable.'
The code functions as it's supposed to, so it seems like Rider doesn't understand what's going on between the different assemblies. If I try the stripped down code:
public Task<DependencyStatus> InitFirebaseAsync()
{
return FirebaseApp.CheckAndFixDependenciesAsync();
}
I get the error:
Cannot convert expression type 'System.Threading.Tasks.Task<Firebase.DependencyStatus> [Firebase.App, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]' to return type 'System.Threading.Tasks.Task<Firebase.DependencyStatus> [netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51]'
Which points to a clash between the two assemblies. How can I get Rider to figure out the difference?
Thanks in advance!
Hi,
thanks for this awesome extension!
I recently started to use Visual Studio 2019 instead of 2017.
However, I can't find this extension in the ReShaper extension manager.
My setup:
Visual Studio 2019 (16.5.2) + ReShaper 2019.3.4 (+ Unity 2019.3.7f1)
My previous setup:
Visual Studio 2017 (15.9.21) + ReSharper 2019.2.2
This extension was listed in the Extension Manager on my previous setup and worked great!
These are my registered extensionen sources on both setups:
https://resharper-plugins.jetbrains.com/api/v2/curated-feeds/Wave_v191.0/
https://resharper-plugins.jetbrains.com/api/v2/curated-feeds/Wave_v11.0/
Thanks in advance!