question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

System.PlatformNotSupportedException

See original GitHub issue

hi 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:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
nirinchevcommented, Sep 10, 2018

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.

0reactions
realm-probot[bot]commented, Sep 16, 2018

Hey - looks like you forgot to add a T:* label - could you please add one?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found