.net6: add custom actions dll to msi vdproj file using vs2022

abdelfattah khatab 20 Reputation points
2023-11-03T09:24:21.4466667+00:00
Hello,  

I added a custom action DLL in an MSI developed in .NET 6. During installation, I encounter the following error message: 

"Error 1001: Unable to obtain installer types in the assembly C:\SOX.dll. --> Unable to load one or more of the required types. Please extract the LoaderExceptions property for more information." 

Do you have any suggestions for resolving this issue?  

Thank you in advance.
Developer technologies | Visual Studio | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.