Last post Jan 29, 2018 11:47 AM by Eric Du
Jan 27, 2018 02:55 PM|vinodkpasi|LINK
How to use codebase setting for private assembly? I ama getting following error.
Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'ClassLibrary10' or one of its dependencies. The system cannot find the file specified.
App.config<?xml version="1.0" encoding="utf-8" ?>
static void Main(string args)
Assembly assembly = Assembly.Load("ClassLibrary10");
Jan 29, 2018 11:47 AM|Eric Du|LINK
According to your description and error message, as far as i know, this issue meaning is can not found ClassLibrary10 dll, also checked your code, your href isn't the relative path inside codeBase tag, you need add the corresponding character according
to the following tutorial:
\ represent in the root directory.
.\ represent in the current directory.
..\ represent the upper level directory.
Also here is a complete tutorial about implement this, please check:
Assemblies: locating, binding and deploying