- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hy,
I'm developing a big plugin (C#) for internal use in my company that manages BCF Issues on the cloud and in Revit. To access data on the Azure cloud, I use the CSLA library and with the Revit 2022 version I've never had any problems. I'm trying to port to version 2023 but as I try to instantiate a class that derives from CSLA Business Obect I get this error:
"Csla.DataPortalException: 'DataPortal.Create failed (Could not find method 'Microsoft.Extensions.DependencyInjection.ServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'.)' "
I created two minimal solutions, one for Revit 2022 and one for Revit 2023 which I have attached to this post. The first works, the second doesn't, giving the above error.
Where am I wrong? thank you
Rolando Tonin
Solved! Go to Solution.