System.PlatformNotSupportedException
See original GitHub issuehi i cant use realm, i create wpf new project then install
Install-Package Realm -Version 3.2.0
after initialize
var rel = Realm.GetInstance();
i get this error:
System.PlatformNotSupportedException: 'The PCL build of Realm is being linked which probably means you need to use NuGet or otherwise link a platform-specific Realm.dll to your main application
i tested it on netframwork 4.5 , 4.6, 4.6.2 but get error
Version of Realm and Tooling
Visual Studio 2017 Enterprise Windows 10 Pro RedStone 4 Realm 3.2.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
PlatformNotSupportedException Class (System)
The exception that is thrown when a feature does not run on a particular platform. public ref class PlatformNotSupportedException : NotSupportedException. C#
Read more >.net - How to resolve assemblies with ...
System.PlatformNotSupportedException: Current platform is not supported by the current compiler choice Auto. Try a different one.
Read more >PlatformNotSupportedException Constructor (System)
Initializes a new instance of the PlatformNotSupportedException class with a specified error message and a reference to the inner exception that is the...
Read more >System.PlatformNotSupportedException: Operation is not ...
Hello, I am getting into a real issue when I am trying to run my .dll console app with mono in Raspbian 10...
Read more >System.PlatformNotSupportedException
I guess that you are simply trying to use a function that is unavailable on the current platform, in this case Linux. .NET...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, you should be able to compile the .NET project from source targeting .NET 4.5.0 and include the already precompiled native binaries that are part of the public nuget. These aren’t tied to the .NET version. Keep in mind that regardless of the .NET version, we still have a hard requirement for Windows 8.1 or higher.
Hey - looks like you forgot to add a T:* label - could you please add one?