|
1
|
1 |
/***************************/
|
|
|
2 |
/* */
|
|
|
3 |
/* Prerequisites */
|
|
|
4 |
/* */
|
|
|
5 |
/***************************/
|
|
|
6 |
|
|
|
7 |
Required Software to build :
|
|
|
8 |
|
|
|
9 |
o- Visual Studio (2008 or +)
|
|
|
10 |
o- SDK Silverlight 3 (http://www.microsoft.com/downloads/details.aspx?displaylang=fr&FamilyID=1ea49236-0de7-41b1-81c8-a126ff39975b)
|
|
|
11 |
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)
|
|
5
|
12 |
|
|
|
13 |
|
|
|
14 |
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
|
|
|
15 |
|
|
|
16 |
Error On build :
|
|
|
17 |
|
|
|
18 |
*******************
|
|
|
19 |
Error Message:
|
|
|
20 |
AG_E_PARSER_UNKNOWN_TYPE
|
|
|
21 |
|
|
|
22 |
Fix:
|
|
|
23 |
Could be due to Lang Ressource File.
|
|
|
24 |
|
|
|
25 |
The auto-generate resouces (LangResource.Designer.resx) class have a internal constructor,
|
|
|
26 |
so you should change it into public manually,
|
|
|
27 |
that’s another improvement of next Silverlight tools.
|
|
|
28 |
|
|
|
29 |
In LangResource.Designer.resx Change:
|
|
|
30 |
|
|
|
31 |
internal LangResource() {
|
|
|
32 |
}
|
|
|
33 |
To:
|
|
|
34 |
public LangResource() {
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
********************
|
|
|
39 |
********************
|
|
|
40 |
Error Message:
|
|
|
41 |
Partial declarations of 'Class' must not specify different base classes.
|
|
|
42 |
|
|
|
43 |
Fix:
|
|
|
44 |
|
|
|
45 |
This error is due to a difference between class declaration
|
|
|
46 |
in code-behind view (in MyView.xaml.cs) and Partial declaration (obj/MyView.g.cs)
|
|
|
47 |
|
|
|
48 |
--
|
|
|
49 |
Partial declarations of 'Iri.Modernisation.Controls.View.AnnotationViewer'.....
|
|
|
50 |
|
|
|
51 |
Open Iri.Modernisation.Controls\obj\Debug\View\ConsultationBookView\AnnotationViewer.g.cs
|
|
|
52 |
|
|
|
53 |
Change :
|
|
|
54 |
public partial class AnnotationViewer : System.Windows.Controls.UserControl {
|
|
|
55 |
|
|
|
56 |
To:
|
|
|
57 |
public partial class AnnotationViewer : MenuableUserControl {
|
|
|
58 |
--
|
|
|
59 |
Partial declarations of 'Iri.Modernisation.Controls.View.PolemicElementControl'.....
|
|
|
60 |
|
|
|
61 |
Open Iri.Modernisation.Controls\obj\Debug\View\ConsultationBookView\PolemicElement.g.cs
|
|
|
62 |
|
|
|
63 |
Change :
|
|
|
64 |
public partial class PolemicElementControl : System.Windows.Controls.UserControl {
|
|
|
65 |
|
|
|
66 |
To:
|
|
|
67 |
public partial class PolemicElementControl : MenuableUserControl {
|
|
|
68 |
--
|
|
|
69 |
|
|
|
70 |
You need to do the change one time.
|
|
|
71 |
|
|
|
72 |
If you rebuild or clean the solution, you must refix the error.
|
|
|
73 |
********************* |