CEF in .NET5 in a DLL

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

Re: CEF in .NET5 in a DLL

Postby TedGCI » Tue Dec 07, 2021 9:16 pm

[quote]That shouldn't be required under normal circumstances, specify a RuntimeIdentifier if you haven't already to only provide the dlls/resources for the relevant platform/quote]


Also I tried the RuntimeIdentifier you suggested and I get:
Error NETSDK1032 The RuntimeIdentifier platform 'win-x64' and the PlatformTarget 'x86' must be compatible. C:\Program Files\dotnet\sdk\5.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets 168
Which is almost impossible to find where win-x64 is set. I have looked everywhere I can think of.
TedGCI
Techie
 
Posts: 14
Joined: Mon Nov 22, 2021 11:09 am

Re: CEF in .NET5 in a DLL

Postby amaitland » Tue Dec 07, 2021 10:09 pm

Set PlatformTarget to match your RuntimeIdentifier (x64 in this case).


https://github.com/dotnet/sdk/issues/1560
Maintainer of the CefSharp project.
amaitland
Virtuoso
 
Posts: 1290
Joined: Wed Jan 14, 2015 2:35 am

Previous

Return to CEF Discussion

Who is online

Users browsing this forum: No registered users and 16 guests