XML comment Error

J

JoseLuis

I HAVE THIS Warning : What can I do to fix it ????


XML comment block must immediately precede the language element to witch its
applies

and next is the code qhen I doble click the Warning


------------------------------------------------------------------------------

' <autogenerated>

' This code was generated by a tool.

' Runtime Version:2.0.40607.42

'

' Changes to this file may cause incorrect behavior and will be lost if

' the code is regenerated.

' </autogenerated>

'------------------------------------------------------------------------------

Option Strict Off

Option Explicit On

Imports System

Imports System.IO

Imports System.Resources

Namespace My.Resources


'''<summary>
<<<<<<<<,-------------------------------------- ERROR HERE

''' A strongly-typed resource class, for looking up localized strings, etc.
<<<<<------ ERROR HERE

'''</summary>

'This class was auto-generated by the Strongly Typed Resource Builder
<<<<-- ERROR HERE

'class via a tool like ResGen or Visual Studio.NET.

'To add or remove a member, edit your .ResX file then rerun ResGen

'with the /str option, or rebuild your VS project.

<Microsoft.VisualBasic.HideModuleName()> _

Module MyResources


Private _resMgr As System.Resources.ResourceManager


Private _resCulture As System.Globalization.CultureInfo


'''<summary>

''' Returns the cached ResourceManager instance used by this class.

'''</summary>

<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
_

Public ReadOnly Property ResourceManager() As
System.Resources.ResourceManager

Get

If (_resMgr Is Nothing) Then

Dim temp As System.Resources.ResourceManager = New
System.Resources.ResourceManager("HI.MyResources",
GetType(MyResources).Assembly)

_resMgr = temp

End If

Return _resMgr

End Get

End Property


'''<summary>

''' Overrides the current thread's CurrentUICulture property for all

''' resource lookups using this strongly typed resource class.

'''</summary>

<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>
_

Public Property Culture() As System.Globalization.CultureInfo

Get

Return _resCulture

End Get

Set

_resCulture = value

End Set

End Property


Public ReadOnly Property cut_clipboard24() As System.Drawing.Bitmap

Get

Return CType(ResourceManager.GetObject("cut_clipboard24",
_resCulture),System.Drawing.Bitmap)

End Get

End Property


Public ReadOnly Property new_document24() As System.Drawing.Bitmap

Get

Return CType(ResourceManager.GetObject("new_document24",
_resCulture),System.Drawing.Bitmap)

End Get

End Property

End Module

End Namespace
 
J

Jon Skeet [C# MVP]

JoseLuis said:
I HAVE THIS Warning : What can I do to fix it ????


XML comment block must immediately precede the language element to witch its
applies

and next is the code qhen I doble click the Warning

Have you tried getting rid of the non-XML comment which occurs between
the XML comment and the module declaration?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top