yehoshuadimarsky / python-ssas

A proof of concept to integrate Python and Microsoft Analysis Services
MIT License
77 stars 33 forks source link

Fix Load vs LoadFrom #10

Open samusaran opened 3 years ago

samusaran commented 3 years ago

Please verify if I'm doing it correctly, but pre-fix I couldn't manage to load the DLLs installed from nuget.

If I've undestood it correctly clr.AddReference uses Assembly.Load instead of Assembly.LoadFrom. The former expects an assembly definition, while the latter expects a path.

Please let me know if you find this correct.