2016-11-19 5 views
0

Мне очень нужна помощь. Я помню, как удалял ссылку, полностью не связанную с DevExpress, из моего проекта несколько дней назад, и я думаю, что это полностью сломало мой проект. У меня 92 ~ ошибки, связанные с элементами devexpress. Я не могу сказать, что вызвало этот беспорядок, но весь мой проект сломался. Ниже приведен снимок.Отсутствующие ссылки Devexpress VB.net

Error List

Но я, кажется, есть все ссылки мне нужно:

enter image description here

Все, что касается DevExpress подсвечивается как ошибки.

enter image description here

Я попытался повторно установить DevExpress и Visual Studio, я может создать новый проект и работать с DevExpress без каких-либо проблем, так что я чувствую, что я что-то в моем текущем проекте отсутствует ,

Код дизайнер:

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> 
Partial Class EngineerCallOut 
    Inherits System.Windows.Forms.Form 

    'Form overrides dispose to clean up the component list. 
    <System.Diagnostics.DebuggerNonUserCode()> 
    Protected Overrides Sub Dispose(ByVal disposing As Boolean) 
     Try 
      If disposing AndAlso components IsNot Nothing Then 
       components.Dispose() 
      End If 
     Finally 
      MyBase.Dispose(disposing) 
     End Try 
    End Sub 

    'Required by the Windows Form Designer 
    Private components As System.ComponentModel.IContainer 

    'NOTE: The following procedure is required by the Windows Form Designer 
    'It can be modified using the Windows Form Designer. 
    'Do not modify it using the code editor. 
    <System.Diagnostics.DebuggerStepThrough()> 
    Private Sub InitializeComponent() 
     Me.components = New System.ComponentModel.Container() 
     Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(EngineerCallOut)) 
     Me.Label1 = New System.Windows.Forms.Label() 
     Me.lblStoreType = New System.Windows.Forms.Label() 
     Me.comboStoreType = New DevExpress.XtraEditors.ComboBoxEdit() 
     Me.lblPriority = New System.Windows.Forms.Label() 
     Me.comboPriority = New DevExpress.XtraEditors.ComboBoxEdit() 
     Me.PopupMenu1 = New DevExpress.XtraBars.PopupMenu(Me.components) 
     Me.StatusStrip1 = New System.Windows.Forms.StatusStrip() 
     Me.lblStatus = New System.Windows.Forms.ToolStripStatusLabel() 
     Me.lblInitials = New System.Windows.Forms.Label() 
     Me.lblIncident = New System.Windows.Forms.Label() 
     Me.lblEquipment = New System.Windows.Forms.Label() 
     Me.lblDescription = New System.Windows.Forms.Label() 
     Me.lblDisclaimer = New System.Windows.Forms.Label() 
     Me.txtEquip = New System.Windows.Forms.TextBox() 
     Me.txtRef = New System.Windows.Forms.TextBox() 
     Me.txtInitials = New System.Windows.Forms.TextBox() 
     Me.txtDisclaimer = New System.Windows.Forms.TextBox() 
     Me.LogTime = New DevExpress.XtraEditors.DateEdit() 
     Me.lblLogDate = New System.Windows.Forms.Label() 
     Me.lblStore = New System.Windows.Forms.Label() 
     Me.lblOpenHours = New System.Windows.Forms.Label() 
     Me.Label13 = New System.Windows.Forms.Label() 
     Me.txtOpeningHours = New System.Windows.Forms.TextBox() 
     Me.txtStore = New System.Windows.Forms.TextBox() 
     Me.txtDesc = New System.Windows.Forms.TextBox() 
     Me.btnSettings = New DevExpress.XtraEditors.PictureEdit() 
     Me.PictureBox1 = New System.Windows.Forms.PictureBox() 
     Me.btnClear = New DevExpress.XtraEditors.PictureEdit() 
     Me.btnPreview = New DevExpress.XtraEditors.PictureEdit() 
     Me.btnExport = New DevExpress.XtraEditors.PictureEdit() 
     Me.lblHardwareETA = New System.Windows.Forms.Label() 
     Me.lblSoftware = New System.Windows.Forms.Label() 
     Me.Label16 = New System.Windows.Forms.Label() 
     Me.Panel1 = New System.Windows.Forms.Panel() 
     Me.TextBox1 = New System.Windows.Forms.TextBox() 
     Me.Label2 = New System.Windows.Forms.Label() 
     Me.Panel2 = New System.Windows.Forms.Panel() 
     Me.btnPreviewRetry = New DevExpress.XtraEditors.PictureEdit() 
     Me.btnPreviewConfirm = New DevExpress.XtraEditors.PictureEdit() 
     Me.txtPreview = New System.Windows.Forms.TextBox() 
     Me.comboTemplateType = New DevExpress.XtraEditors.ComboBoxEdit() 
     Me.Label3 = New System.Windows.Forms.Label() 
     CType(Me.comboStoreType.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.comboPriority.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.PopupMenu1, System.ComponentModel.ISupportInitialize).BeginInit() 
     Me.StatusStrip1.SuspendLayout() 
     CType(Me.LogTime.Properties.CalendarTimeProperties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.LogTime.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.btnSettings.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.btnClear.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.btnPreview.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.btnExport.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     Me.Panel1.SuspendLayout() 
     Me.Panel2.SuspendLayout() 
     CType(Me.btnPreviewRetry.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.btnPreviewConfirm.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     CType(Me.comboTemplateType.Properties, System.ComponentModel.ISupportInitialize).BeginInit() 
     Me.SuspendLayout() 
     ' 
     'Label1 
     ' 
     Me.Label1.AutoSize = True 
     Me.Label1.BackColor = System.Drawing.Color.Transparent 
     Me.Label1.Font = New System.Drawing.Font("Microsoft Sans Serif", 12.0!, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, CType(0, Byte)) 
     Me.Label1.Location = New System.Drawing.Point(111, 57) 
     Me.Label1.Name = "Label1" 
     Me.Label1.Size = New System.Drawing.Size(229, 20) 
     Me.Label1.TabIndex = 1 
     Me.Label1.Text = "Engineer Call Out Template" 



     .... 

ответ

0
  1. Удалить такое же имя в ссылке и добавьте его снова.

  2. Если у вас нет DevExpress.dll, вы можете выполнить поиск по Google и добавить его в ссылку и в папку bin.

  3. Проверьте свою структуру, если она за исключением этой ссылки.

0
  1. Открыть форму, где показывает ошибку.

  2. Just peek devexpresstools вид toolbox.like xtrabutton.

  3. Тогда, если вы не хотите этот инструмент, вы можете его удалить.

Смежные вопросы