XML comment Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • JoseLuis

    #1

    XML comment Error

    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


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

    ' <autogenerate d>

    ' This code was generated by a tool.

    ' Runtime Version:2.0.406 07.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.Resource s

    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.Visu alBasic.HideMod uleName()> _

    Module MyResources


    Private _resMgr As System.Resource s.ResourceManag er


    Private _resCulture As System.Globaliz ation.CultureIn fo


    '''<summary>

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

    '''</summary>

    <System.Compone ntModel.EditorB rowsableAttribu te(System.Compo nentModel.Edito rBrowsableState .Advanced)>
    _

    Public ReadOnly Property ResourceManager () As
    System.Resource s.ResourceManag er

    Get

    If (_resMgr Is Nothing) Then

    Dim temp As System.Resource s.ResourceManag er = New
    System.Resource s.ResourceManag er("HI.MyResour ces",
    GetType(MyResou rces).Assembly)

    _resMgr = temp

    End If

    Return _resMgr

    End Get

    End Property


    '''<summary>

    ''' Overrides the current thread's CurrentUICultur e property for all

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

    '''</summary>

    <System.Compone ntModel.EditorB rowsableAttribu te(System.Compo nentModel.Edito rBrowsableState .Advanced)>
    _

    Public Property Culture() As System.Globaliz ation.CultureIn fo

    Get

    Return _resCulture

    End Get

    Set

    _resCulture = value

    End Set

    End Property


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

    Get

    Return CType(ResourceM anager.GetObjec t("cut_clipboar d24",
    _resCulture),Sy stem.Drawing.Bi tmap)

    End Get

    End Property


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

    Get

    Return CType(ResourceM anager.GetObjec t("new_document 24",
    _resCulture),Sy stem.Drawing.Bi tmap)

    End Get

    End Property

    End Module

    End Namespace




  • Jon Skeet [C# MVP]

    #2
    Re: XML comment Error

    JoseLuis <jlanxxi@hotmai l.com> wrote:[color=blue]
    > 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[/color]

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

    --
    Jon Skeet - <skeet@pobox.co m>
    Pobox has been discontinued as a separate service, and all existing customers moved to the Fastmail platform.

    If replying to the group, please do not mail me too

    Comment

    Working...