'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
Me.cmd_View_Old_Notes = New System.Windows.Forms.Button
Me.cmd_Save_Note = New System.Windows.Forms.Button
Me.rpt_Viewer = New CrystalDecisions.Windows.Forms.CrystalReportViewer
Visual Studio 2019 IDE 中的错误是
Severity Code Description Project File Line Suppression State
Error BC32035 Attribute specifier is not a complete statement. Use a line continuation to apply the attribute to the following statement. ProjectName PathToProjectfrm_Main.vb 20 Active
我正在将旧项目从Visual Studio 2005更新到VS2019。它使用 VB.Net
我无法在调试器StepThrough((之后添加_>因为VS2019会自动将其删除
▶ 删除属性和应用此属性的方法之间的空格/换行符。
从文档中:
Error BC32035 - Attribute specifier is not a complete statement
(...属性块单独显示在源代码行上。 必须在声明的开头应用属性 声明,并且它们必须是该声明的一部分。(...)
To correct this error
:
(...如果没有声明语句与属性关联 块,要么提供一个,要么移除属性块。(...)