NetOfficeFw / NetOffice

🌌 Create add-ins and automation code for Microsoft Office applications.
MIT License
697 stars 143 forks source link

Refactor usage of the `Assembly.CodeBase` property #422

Closed jozefizso closed 4 months ago

jozefizso commented 4 months ago

In .NET 6 the Assembly.CodeBase property is marked as obsolete. See #406 for more information.

Most of the code using it was refactored to use the Location property. The code was trying to get the equivalent of the Location value anyway.