OK. let's have a look at the individual customer stories in detail.
Getting 4.7.2 compiling on mono
The current stable release of mono is 2.10.x. The next stable version will be 2.12. The current SVN version is 2.11.2. All my builds are against 2.11.2.
Errors resolved:
umbraco/datalayer/SqlHelpers/MySql/SqlResources.resx - Position: Line 123, Column 5.
Inner exception: Could not find a part of the path ".../umbraco/datalayer/SqlHelpers/MySql/sql\total.sql".
Inner exception: Could not find a part of the path ".../umbraco/datalayer/SqlHelpers/MySql/sql\version4_upgrade.sql.sql".
Change all: sql\total.sql references to Sql\Total.sql, Sql\Version4_Upgrade.sql (mono can deal with the '\')
This also happens under the SqlHelpers/SqlServer folder.
umbraco/cms/businesslogic/Packager/FileResources/PackageFiles.resx: Error: Error: Invalid ResX input.
Position: Line 123, Column 5.
Inner exception: Could not find file ".../umbraco/cms/businesslogic/Packager/FileResources/packages.config".
Another casing issue - use Packages.config.
umbraco/presentation/umbraco/templateControls/Resources.resx: Error: Error: Invalid ResX input.
Position: Line 123, Column 5.
Inner exception: Could not find file ".../umbraco/templateControls/inlinexslt.xsltTemplate".
Another casing issue - use InlineXslt.xsltTemplate.
components/SQLCE4Umbraco/SqlCEResources.resx: Error: Error: Invalid ResX input.
Position: Line 123, Column 5.
Inner exception: Could not find a part of the path ".../components/SQLCE4Umbraco/sql\total.sql".
As above Sql\Total.sql
umbraco/presentation/umbraco/Search/ExamineEvents.cs(7,7): Error CS0246: The type or namespace name `Lucene' could not be found. Are you missing a using directive or an assembly reference? (CS0246)
Re-set reference from Shannon's c drive : ) to foreign dlls/Lucene.Net.dll
Edit: I forgot the following...
.../umbraco/actions/delete.aspx.designer.cs(21,21): Error CS0234: The type or namespace name `uicontrols' does not exist in the namespace `umbraco.presentation.umbraco'. Are you missing an assembly reference? (CS0234)
You will get about a 170!! of these - apparently there are some differences in how mono resolves references.
The error is easily fixed: Replace protected umbraco.uicontrols... with protected global::umbraco.uicontrols
Then you might need to do the same for: (about 8-9 occurences)
protected umbraco.controls... to protected global::umbraco.controls.
Compile now builds all projects (Tests ignored at the moment)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.