Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27531

VS 2005 What in the world is going on?

$
0
0
:wave:

So I've been coding away today - not compiling or running the application any - and suddenly I look down and there's this long list of errors in my error list. All of them seem to be in VS generated code, so I'm not sure what I've done.

Code:

Error        15        The item "obj\Debug\Wizards.NewLayerWiz.InfoPanels.IntroGISLayerInfoPanel.resources" was specified more than once in the "Resources" parameter.  Duplicate items are not supported by the "Resources" parameter.        Wizards
Error        20        'Protected Overrides Sub Dispose(disposing As Boolean)' has multiple definitions with identical signatures.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\IntroGISLayerInfoPanel.Designer.vb        13        37        Wizards
Error        21        'Private Sub InitializeComponent()' has multiple definitions with identical signatures.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\IntroGISLayerInfoPanel.Designer.vb        27        25        Wizards
Error        23        Attribute 'DesignerGeneratedAttribute' cannot be applied multiple times.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        7        10        Wizards
Error        24        'components' is already declared as 'Private Dim components As System.ComponentModel.IContainer' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        21        21        Wizards
Error        25        'Panel1' is already declared as 'Friend Dim WithEvents Panel1 As System.Windows.Forms.Panel' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        212        31        Wizards
Error        26        'Label2' is already declared as 'Friend Dim WithEvents Label2 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        213        31        Wizards
Error        27        'Label1' is already declared as 'Friend Dim WithEvents Label1 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        214        31        Wizards
Error        28        'LinesLink' is already declared as 'Friend Dim WithEvents LinesLink As System.Windows.Forms.LinkLabel' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        215        31        Wizards
Error        29        'Label3' is already declared as 'Friend Dim WithEvents Label3 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        216        31        Wizards
Error        30        'Label6' is already declared as 'Friend Dim WithEvents Label6 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        217        31        Wizards
Error        31        'Label5' is already declared as 'Friend Dim WithEvents Label5 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        218        31        Wizards
Error        32        'SDSLink' is already declared as 'Friend Dim WithEvents SDSLink As System.Windows.Forms.LinkLabel' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        219        31        Wizards
Error        33        'PolygonLink' is already declared as 'Friend Dim WithEvents PolygonLink As System.Windows.Forms.LinkLabel' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        220        31        Wizards
Error        34        'Label4' is already declared as 'Friend Dim WithEvents Label4 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        221        31        Wizards
Error        35        'Label8' is already declared as 'Friend Dim WithEvents Label8 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        222        31        Wizards
Error        36        'Label7' is already declared as 'Friend Dim WithEvents Label7 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        223        31        Wizards
Error        37        'Panel2' is already declared as 'Friend Dim WithEvents Panel2 As System.Windows.Forms.Panel' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        224        31        Wizards
Error        38        'Panel3' is already declared as 'Friend Dim WithEvents Panel3 As System.Windows.Forms.Panel' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        225        31        Wizards
Error        39        'Label9' is already declared as 'Friend Dim WithEvents Label9 As System.Windows.Forms.Label' in this class.        C:\_work\ASP-Trunk\source\Wizards\wizard implementations\new layer wizard\info panels\intro\IntroGISLayerInfoPanel.Designer.vb        226        31        Wizards

(Sorry about the bad formatting :blush:)

Anyway, does anybody have an idea of what may have gone wrong? The first error I can fix by manually editing the .vbproj file for this project, but the rest I'm not too sure about. I can't help but think that there's a single thing that I did wrong that has suddenly generated all these errors.

Viewing all articles
Browse latest Browse all 27531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>