I need some help with a VB.net code. I am very new to VB.net. I am getting this error:
Error 'Could not load file or assembly 'LogicNP.ShellObjects, Version=22.214.171.124, Culture=neutral, PublicKeyToken=ff6f27194af4af75' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)'
This prevents me from building the code. It looks like I am missing some sort of file but I haven't heard of the
LogicNP.ShellObjects. Is there a location that I can find this file at?
Edit: For those wondering, I do have the .dll file in the project/solution. I added the dll file to the solution explorer and I can see it in there. I also added the dll file to the toolbox.
I am still receiving the same error
I think that I might have found the answer. I viewed this posting:
And the error did go away but now I have 4 errors. I will update this post if/when I get the project to build.
ShellObjects is a library of controls and components by LogicNP software, found here:
The library is provided in something called an
Assembly, which is .NET's packaging format:
The error message means that your code contains a reference to that assembly, but Visual Studio can't find it in the location specified.
Ok, so I have verified that the fix does work.
What was happening is that the computer was blocking the dll file from being loaded because it was downloaded from the internet. See this posting:
User contributions licensed under CC BY-SA 3.0