Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding new item brings in pages based on MM.2008
Message
De
07/09/2010 16:12:36
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01480442
Message ID:
01480464
Vues:
35
Hi Eric,

>For the first time in a long time, I added a new page from scratch today rather than just copying an existing one. Suddenly multiple errors appeared in my project (though not so sudden that I connected the dots immediately). The error stated
>
>The type "X" appears in both "Y" and "Z".
>
>Eventually I checked the web.config file and noticed that references to the old MM.2008 libraries had automatically been added alongside the existing references to the MM.2010 assemblies.
>
>So I guess my question is, shouldn't my template pages be pointing at the new assemblies? Did I somehow upgrade incorrectly?
>
>Thanks,
>
>E

Make sure you have deleted the MM2008 assemblies from your bin folder if they are copied there. Also just verify the assemblies are correct in your references and that all references in web.config are correct. One other thing to check is occasionally in the individual pages source, the tag regerences get added to the top of the pages. Just take those out as you should only need tag prefix in your web.config. After all that is correct, build your solution and see if that goes away.
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform