Hi all, i am getting an issue when I distribute our plugin to our users
i built the plugin with the "Generate Serialization Assemby" turned off for OpenDentBusiness Project as I was unable to build the Plugin in Release mode
After distributing my Plugin to our customers, some customers are getting the following error
"An attempt was made to load an assembly from a network location which would have caused assembly to be sanboxed in previous version of the .NET framework"
and pointing to the link below
http://go.microsoft.com/fwlink/?LinkId=155569
image here
If the image above dont show:
https://imgur.com/a/1eMmNcz
I am using Visual Studio 2019 Community, I cannot downgrade to lower version of Visual Studio as I have more than a dozen project that uses VS2019.
It does seem like everytime the plugin is use it connects to the internet to download the assembly? most of our clients dont have a net connection in their clinic.
How to resolved this issue?
Plugin distribution issue - .NET assembly problem
- jordansparks
- Site Admin
- Posts: 5746
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Re: Plugin distribution issue - .NET assembly problem
I think that message, in general, has to do with a flag that MS adds to files. This includes pdf, doc, txt, exe, jpg, dll -- whatever. The flag gets added whenever you download any file from the internet, but it's only a problem when the files can have scripting, like doc, exe, and dll. To remove the flag after download, right click on the file, properties, and check the box at the bottom for "Unblock". I do this all the time, or programs like VS and Word will complain that they are dangerous files. Also, when I download zipped files, I always have to check this box or all the unzipped files will also end up with the flag set. I'm not sure why we don't deal with this issue when we distribute. I would have to think about that.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
Re: Plugin distribution issue - .NET assembly problem
ill be damned, that exactly fixed my issue, Thank you!