Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
An assembly that is not referenced
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00882265
Message ID:
00882575
Vues:
19
Chris,

>I started up an old project that used to work and it recompiled w/ no errors. Now I'm getting the following error at runtime:
>
>Compiler Error Message: CS0011: Referenced class 'OakLeaf.MM.Main.Web.UI.WebControls.mmButton' has base class or interface 'OakLeaf.MM.Main.Security.ImmSecurityBase' defined in an assembly that is not referenced. You must add a reference to assembly 'Mere Mortals Framework Interfaces'.

In the version 1.1 What's New Guide there were instructions for upgrading projects to MM .NET 1.1:
Open your Web Form application’s web.config file and change the <compilation> element from:

<compilation defaultLanguage="c#" debug="true" />

To the following:

<compilation defaultLanguage="c#" debug="true" >
	<assemblies>
		<add assembly="Mere Mortals Framework Interfaces, Version=1.1.1118.20862, Culture=neutral, PublicKeyToken=2312fefb461dbb0e" />
		<add assembly="Mere Mortals Framework Web Forms, Version=1.1.1158.18447, Culture=neutral, PublicKeyToken=a16649d902b008d4" />
	</assemblies>
</compilation>
I think applying this change will fix the problem.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform