Re: Building Mojoportal source using Mono
I just built mojoPortal on suse 10 using MonoDevelop per Dean's instructions.
At first I had one problem with building the business layer:
Compilation failed: 2 error(s), 0 warnings
/webshare/mojosrc/trunk/Business/SiteSettings.cs(100,11): error CS0246: The type or namespace name `LdapSettings' could not be found. Are you missing a using directive or an assembly reference?
/webshare/mojosrc/trunk/Business/SiteSettings.cs(236,10): error CS0246: The type or namespace name `LdapSettings' could not be found. Are you missing a using directive or an assembly reference?
Build complete -- 0 errors, 0 warnings
---------------------- Done ----------------------
Strange that compilation failed yet it said 0 errors!
To fix it I just added the LdapSettings.cs, LdapUser.cs, and LdapHelper.cs files which already exist in the file system but MonoDevelop doesn't know about them. I also added a reference to Novell.Directory.Ldap which is in the GAC
Hit F5 again and it built succesfully. I copied the deployment files to a folder I already had configured for mod_mono/apache and voila! it worked.
Great work Dean! If I was more sure of myself on the svn command line stuff I would commit my changes so that MonoDevelop knows about the new Ldap files. Its probably easy but I don't want to mess anything up.