Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmFactory error
Message
De
25/05/2006 01:59:35
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01124705
Message ID:
01124786
Vues:
15
Hello, Linda

Somewhere you have references to both versions of MM. First, check your projects and be sure that (for each MM assembly) you're only pointing to the most recent version. If that doesn't work, I'd suggest using VS tools (see help on gacutil options to dump a list of GAC'd assemblies, or use the .NET Framework configuration tool) to see how many versions of the assemblies are in the GAC and remove the ones that aren't needed.

Hope that helps,
---J

>I created a new web project using VS 2005 and Mere Mortals 2.1, following the guidelines in the help file. I used business objects created under VS 2003 and then converted to VS 2005. When I try to build the solution, I get the same error for factory.cs and app.cs:
>
>Error 1 The type 'OakLeaf.MM.Main.Patterns.mmFactory' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Mere Mortals Framework 2005\2.0.0.0__511bd18e16c7f771\Mere Mortals Framework 2005.dll' and 'c:\WINDOWS\assembly\GAC\Mere Mortals Framework\1.1.1119.20257__511bd18e16c7f771\Mere Mortals Framework.dll' C:\deve\WNSCCArchive\Archive System Web CSharp\App_Code\Factory.cs 10 49 C:\...\Archive System Web CSharp\
>Error 2 The type 'OakLeaf.MM.Main.Patterns.mmFactory' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Mere Mortals Framework 2005\2.0.0.0__511bd18e16c7f771\Mere Mortals Framework 2005.dll' and 'c:\WINDOWS\assembly\GAC\Mere Mortals Framework\1.1.1119.20257__511bd18e16c7f771\Mere Mortals Framework.dll' C:\deve\WNSCCArchive\Archive System Web CSharp\App_Code\App.cs 29 21 C:\...\Archive System Web CSharp\
>
>How do I get around this?
>
>Thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform