[Mono-aspnet-list] compile Masterpage's masterpage

barrct chris at nabor.com
Wed Mar 26 16:37:00 UTC 2014


And to define the exact error that's thrown....

Server Error in '/' Application

Compilation Error

Description: Error compiling a resource required to service this request.
Review your source file and modify it to fix this error.

Compiler Error Message: CS0246: The type or namespace name `uiMaster' could
not be found. Are you missing a using directive or an assembly reference?

Source Error:

Line 108:         set
Line 109:         {
Line 110:             ((uiMaster)Master).session = value;
Line 111:             session = value;
Line 112:         }

Source File: <site path>/masters/cmsMaster.master.cs  Line: 110


Show Detailed Compiler Output:

gmcs /target:library /lib:"<site path>/Bin" /debug+ /optimize- /warn:4
/out:"/tmp/www-data-temp-aspnet-0/16aeb545/App_Web_cmsMaster.master.fbcfebdd.56d3bce3.dll"
/r:"/usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll"
/r:"/usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll"
/r:"/usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll"
/r:"/usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll"
/r:"/usr/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll"
/r:"/usr/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll"
/r:"/usr/lib/mono/gac/System.Runtime.Serialization/3.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll"
/r:"/usr/lib/mono/gac/System.IdentityModel/3.0.0.0__b77a5c561934e089/System.IdentityModel.dll"
/r:"/usr/lib/mono/gac/System.ServiceModel/3.0.0.0__b77a5c561934e089/System.ServiceModel.dll"
/r:"/usr/lib/mono/gac/System.ServiceModel.Web/3.5.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll"
/r:"/usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll"
/r:"/var/www/nabor_site/Bin/mysql.web.dll"
/r:"/var/www/nabor_site/Bin/mysql.data.dll"
/r:"/var/www/nabor_site/Bin/mysql.data.entity.dll"
/r:"/usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll"
/r:"/usr/lib/mono/gac/System.Web.Extensions/3.5.0.0__31bf3856ad364e35/System.Web.Extensions.dll"
/r:"/usr/lib/mono/gac/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll"
/r:"/usr/lib/mono/gac/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll"
/r:"/tmp/www-data-temp-aspnet-0/16aeb545/App_Code.2dea60b1.dll"
/r:"/var/www/nabor_site/Bin/AWSSDK.dll"
/r:"/var/www/nabor_site/Bin/mysql.visualstudio.dll"
/r:"/var/www/nabor_site/Bin/pdfcrowd.dll"
/r:"/tmp/www-data-temp-aspnet-0/16aeb545/App_global.asax_61f60619.dll" 
/nowarn:0169 /d:DEBUG  --
"/tmp/www-data-temp-aspnet-0/16aeb545/App_Web_cmsMaster.master.fbcfebdd.56d3bce3_0.cs"
"/tmp/www-data-temp-aspnet-0/16aeb545/App_Web_cmsMaster.master.fbcfebdd.56d3bce3_1.cs" 

<site path>/masters/cmsMaster.master.cs(110,15): error CS0246: The type or
namespace name `masters_uiMaster' could not be found. Are you missing a
using directive or an assembly reference?

Show Complete Compilation Source:

Line 1: using System;
Line 2: using System.Collections.Generic;
Line 3: using System.Linq;
Line 4: using System.Web;
Line 5: using System.Web.UI;
Line 6: using System.Web.UI.WebControls;
Line 7: using <company NS>;
Line 8: 
Line 9: public partial class masters_cmsMaster : System.Web.UI.MasterPage
Line 10: {
Line 11:     //var
Line 12:     sessionManagement session = null;
Line 13:     managedContent content = null;
Line 14:     documentManager documents = null;
Line 15:     //var
Line 16: 
Line 17:     protected void Page_Load(object sender, EventArgs e)
Line 18:     {
<Lines Removed>
Line 69:     }
Line 70: 
<Lines Removed>
Line 105: 
Line 106:     public sessionManagement managedSession
Line 107:     {
Line 108:         set
Line 109:         {
Line 110:             ((masters_uiMaster)Master).session = value;
Line 111:             session = value;
Line 112:         }
Line 113:     }
<Lines Removed>
Line 122: }
Version information: Mono Runtime Version: 2.10.8.1 (Debian
2.10.8.1-1ubuntu2.2); ASP.NET Version: 2.0.50727.1433



--
View this message in context: http://mono.1490590.n4.nabble.com/compile-Masterpage-s-masterpage-tp4662329p4662370.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list