Okay. Thank you. Issue successfully solved!
I am working on a VSTO c# project. I added the Turboactivate.dll files (both 32 and 64 bit files) to the project “release” and “debug” folders as explained in the tutorial. Everything work perfectly when testing the app in debug and release modes. But the library doesn't seem to work after publishing the app (using “clickOnce") as all functionalies involving Turboactivate appear to break the threads they are found in because all codes after those lines don't respond. I tried to add the dll files to the project reference but visual studio is saying it's not a valid .Net assembly file or COM dll.
Kindly suggest a way out please.
The TurboActivate.dll are not .NET assemblies and not COM dlls. They can't be dragged / dropped in VS.
They're native binaries and we describe how to use them in detail for every programming language. Here's the C# article.
It's likely ClickOnce excluding the files. Google for how to ensure ClickOnce doesn't exclude files that your app needs.
Okay. Thank you. Issue successfully solved!