BC30002 Visual studio 2015

Hi,

About a week ago, I had many crystal reports with their corresponding forms in my main solution window (the forms hold the crystal report viewer), in order to organize my project a little more I decided to place all the reports and their corresponding forms into a folder named ''Reports''. Everything worked great until today and now I have over 100 errors all related to these reports and their forms.

The error is : BC30002  VB.NET Type 'WindowsApplication1.recSum2Rpt' is not defined.

These errors are all in the fom.designer.vb window.

The code in the designer for each form is is as follows :

The errors come from the lines below  :
Me.recReportAging1 = New WindowsApplication1.recReportAging()
Friend WithEvents recReportAging1 As WindowsApplication1.recReportAging

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class recSumReport
    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.recSumRpt1 = New WindowsApplication1.recSumRpt()
        Me.CrystalReportViewer1 = New CrystalDecisions.Windows.Forms.CrystalReportViewer()
        Me.recSum2Rpt1 = New WindowsApplication1.recSum2Rpt()
        Me.SuspendLayout()
        '
        'CrystalReportViewer1
        '
        Me.CrystalReportViewer1.ActiveViewIndex = 0
        Me.CrystalReportViewer1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle
        Me.CrystalReportViewer1.Cursor = System.Windows.Forms.Cursors.Default
        Me.CrystalReportViewer1.Dock = System.Windows.Forms.DockStyle.Fill
        Me.CrystalReportViewer1.Location = New System.Drawing.Point(0, 0)
        Me.CrystalReportViewer1.Name = "CrystalReportViewer1"
        Me.CrystalReportViewer1.ReportSource = Me.recSum2Rpt1
        Me.CrystalReportViewer1.Size = New System.Drawing.Size(770, 597)
        Me.CrystalReportViewer1.TabIndex = 0
        '
        'recSum2Rpt1
        '
        '
        'recSumReport
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 13.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(770, 597)
        Me.Controls.Add(Me.CrystalReportViewer1)
        Me.Name = "recSumReport"
        Me.Text = "recSumReport"
        Me.ResumeLayout(False)

    End Sub
    Friend WithEvents CrystalReportViewer1 As CrystalDecisions.Windows.Forms.CrystalReportViewer
    Friend WithEvents recSumRpt1 As WindowsApplication1.recSumRpt
  Friend WithEvents recSum2Rpt1 As WindowsApplication1.recSum2Rpt
End Class

Open in new window


Is there something I can change to make this work?
FCapoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
have you changed your namespace from WindowsApplication1 to something else?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
FCapoAuthor Commented:
I actually just tried changing the namespace for the entire app to NCL and it seems to have fixed the issue
mlmccCommented:
I've requested that this question be deleted for the following reason:

The question has either no comments or not enough useful information to be called an "answer".
Éric MoreauSenior .Net ConsultantCommented:
the author said he changed the namespace and it fixed the issue. This is exactly what I told!
mlmccCommented:
agree.  I clicked the wrong link.  It should be answered as stated.

mlmcc
CV
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.