Error message - Could not load file or assembly 'PresentationFramework'
Mastok1979 opened this issue · 2 comments
Mastok1979 commented
Wenn trying to RetrieveMultiple
Could not load file or assembly 'PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
using ServiceClient svc = new(_connectionString);
if (svc.IsReady)
{
QueryExpression query = new()
{
EntityName = "new_statproduction",
ColumnSet = new ColumnSet(true),
Criteria = new FilterExpression(),
};
EntityCollection retrieved;
try
{
retrieved = await svc.RetrieveMultipleAsync(query);
}
catch (Exception ex)
{
throw ex;
}
}
I cannot understand why this happens :(
Loosing lot of time to solve this issue.
Can someone help me?
MattB-msft commented
There would need to be something else going on here, PresentationFramework is only used in the Login Controls and their supporting modules.
Its not used by the base connector.
could you provide more context as to what is going on if your still seeing the issue?
MattB-msft commented
Closing this post at this time as there is not enough to work with.