缺少参考文献Devexpress VB.net

时间:2016-11-19 16:20:06

标签: vb.net visual-studio devexpress

我真的需要帮助。我记得几天前从我的项目中删除了与DevExpress完全无关的引用,我认为这完全打破了我的项目。我有92~与devexpress项目有关的错误。我无法确切地说出造成这种混乱的原因,但我的整个项目已经破裂。这是下面的快照。

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"



        ....

3 个答案:

答案 0 :(得分:0)

  1. 删除引用中的相同名称并重新添加。

  2. 如果您没有DevExpress.dll,可以通过Google进行搜索并将其添加到引用和bin文件夹中。

  3. 检查您的框架是否包含此引用。

答案 1 :(得分:0)

  1. 打开显示错误的表单。

  2. 只需查看devexpresstools表单toolbox.like xtrabutton。

  3. 然后,如果你不想要这个工具,那么你可以删除它。

答案 2 :(得分:0)

您的简单方法是,只需卸载DevExpress,然后按照以下建议删除未注册的dll。

  1. 打开Powershall / CMD 并把 ToolboxCreator.exe /INI:toolboxcreator.ini /LOG:CreatorLog.log / PATH“%PROGRAMFILES%/ DevExpress 2010.2 / Components / Sources / DevExpress.DLL /

然后点击

2。如果不起作用,请从中删除建议的注册表 HKEY_LOCAL_MACHINE \ SOFTWARE \ Wow6432Node \ Microsoft \ VisualStudio \ 10.0 \ Packages {2c298b35-07da-45f1-96a3-be55d91c8d7a} \ Toolbox

相关问题