简体   繁体   中英

.NET Code setup in Visual studio 2010

I am new to .NET development and I am setting up a project in Visual studio 2010 with DevExpress 12.2.6 version.

When I build the project, I get this error:

Error 25 'DevExpress.XtraRichEdit.FieldOptions' does not contain a definition for 'UseCurrentCultureDateTimeFormat' and no extension method 'UseCurrentCultureDateTimeFormat' accepting a first argument of type 'DevExpress.XtraRichEdit.FieldOptions' could be found (are you missing a using directive or an assembly reference?) C:\\Users\\Development\\Support\\SecurityMasterMonitor\\SuppWikiSearchProcessInfoForm.Designer.cs 145 50 SecurityMasterMonitor

I have added DevExpress.XtraRichEdit.dll in my project refernece as well. I am not sure what is missing here.. Can you please help me?

From DevExpress support forum concerning version 2012 vol 2.7 (ie 12.2.7)

The DevExpress.XtraRichEdit.FieldOptions.UseCurrentCultureDateTimeFormat property is implemented. It is accessible using RichEditControl.Options.Fields.UseCurrentCultureDateTimeFormat notation.

So, as you can see - you need either upgrade to 12.2.7 or don't use UseCurrentCultureDateTimeFormat in your code since it was implemented in version 12.2.7.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM