# HG changeset patch # User Matthieu Totet # Date 1258646865 -3600 # Node ID ee4ddd15fb5d88151656f674cc5f475303a8a4b6 # Parent cf756528609ee3c5469baa551546187884a0c52d Add informations about some build bug fixes diff -r cf756528609e -r ee4ddd15fb5d client/ReadMe.txt --- a/client/ReadMe.txt Thu Nov 19 12:12:55 2009 +0100 +++ b/client/ReadMe.txt Thu Nov 19 17:07:45 2009 +0100 @@ -9,3 +9,65 @@ o- Visual Studio (2008 or +) o- SDK Silverlight 3 (http://www.microsoft.com/downloads/details.aspx?displaylang=fr&FamilyID=1ea49236-0de7-41b1-81c8-a126ff39975b) o- Microsoft Silverlight 3 Tools for Visual Studio 2008 SP1 (http://www.microsoft.com/downloads/details.aspx?familyid=9442b0f2-7465-417a-88f3-5e7b5409e9dd&displaylang=fr) + + +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= + +Error On build : + +******************* +Error Message: +AG_E_PARSER_UNKNOWN_TYPE + +Fix: +Could be due to Lang Ressource File. + +The auto-generate resouces (LangResource.Designer.resx) class have a internal constructor, +so you should change it into public manually, +that’s another improvement of next Silverlight tools. + +In LangResource.Designer.resx Change: + + internal LangResource() { + } +To: + public LangResource() { + } + + +******************** +******************** +Error Message: +Partial declarations of 'Class' must not specify different base classes. + +Fix: + +This error is due to a difference between class declaration +in code-behind view (in MyView.xaml.cs) and Partial declaration (obj/MyView.g.cs) + +-- +Partial declarations of 'Iri.Modernisation.Controls.View.AnnotationViewer'..... + +Open Iri.Modernisation.Controls\obj\Debug\View\ConsultationBookView\AnnotationViewer.g.cs + +Change : +public partial class AnnotationViewer : System.Windows.Controls.UserControl { + +To: +public partial class AnnotationViewer : MenuableUserControl { +-- +Partial declarations of 'Iri.Modernisation.Controls.View.PolemicElementControl'..... + +Open Iri.Modernisation.Controls\obj\Debug\View\ConsultationBookView\PolemicElement.g.cs + +Change : +public partial class PolemicElementControl : System.Windows.Controls.UserControl { + +To: +public partial class PolemicElementControl : MenuableUserControl { +-- + +You need to do the change one time. + +If you rebuild or clean the solution, you must refix the error. +********************* \ No newline at end of file