PDA

View Full Version : [CLOSED] Error Then Build V2.1 / 4259



Aurelio
Aug 10, 2012, 8:27 PM
Hi, i update the SV at versione 4259 but then build in Vs 2010, it's fail report an error:

Error 1 The type 'Ext.Net.BaseControl' already contains a definition for 'IsMVC' D:\Ext.Net\Premium\branches\2.1\Ext.Net\MVC\Ext\Ba seControl.cs



[Browsable(false)]
[DefaultValue(false)]
[DesignerSerializationVisibility(DesignerSerializat ionVisibility.Hidden)]
[Description("")]
public virtual bool IsMVC
{
get
{
return Ext.Net.MVC.MvcResourceManager.IsMVC || this.Page is System.Web.Mvc.ViewPage;
}
}


Thanks
Aurelio

Vladimir
Aug 10, 2012, 9:04 PM
The error should not occur if MVC constant is defined in Ext.Net.csproj file. Can you check it? (you can find it in Project settings (right click on Ext.Net project node in Solution explorer, Properties -> Build -> Conditional compilation symbols))
Or do you use own custom csproj file?

Aurelio
Aug 11, 2012, 7:55 AM
Hi...Vladimir...

I check the option: conditional compilation symbols and is written ISPRO, i changed whit MVC and now work OK...

Thanks
Aurelio