public static IAssemblyTarget FromDynamic(string fullName) { if (fullName == null) { throw new ArgumentNullException("fullName", "FullName cannot be null!"); } return new AssemblyTarget() { CodeBase = null, Location = null, FullName = fullName, IsDynamic = true }; }