microsoft / PowerPlatform-DataverseServiceClient

Code Replica for Microsoft.PowerPlatform.Dataverse.Client and supporting nuget packages.
MIT License
284 stars 52 forks source link

EntryPointNotFoundException when trying to connect using OAuth #421

Closed sesockchris closed 9 months ago

sesockchris commented 11 months ago

When trying to connect to our Dynamics 365 CRM using an OAuth connection string, I am receiving an exception stating that the "EntryPointNotFoundException: Entry point was not found". This is the same connection string used in other repositories and works, the only difference being that the working repo is a .Net Framework 4.8 repo, while mine is a .Net Core 6.0 project.

connection string values were removed for security reasons

image

image

MattB-msft commented 11 months ago

@sesockchris Not a lot to go on here... We actively use and deploy this on .net6 +

I, personally, have seen recompile errors if you switch from Framework to Core in the same project. But I do not get that you're doing that. You can usually clear those by deleting all OBJ and Bin directories.

Could you provide a bit more environmental data? Are you running the .net6 bits on Windows / Non-Windows?

MattB-msft commented 9 months ago

Going to close this post at this time as there is not enough info to work with,.