Groups | Blog | Home
all groups > vb.net upgrade > september 2004 >

vb.net upgrade : XML comment


JoseLuis
9/21/2004 8:16:41 AM
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

JohnHart NO[at]SPAM Online.Microsoft.com.
9/22/2004 7:17:12 PM
It looks to me like you have coments in your code that are prefix with
three single quotes ('''<summary> ). Which just happens to be the way to
insert a new XML comment block. Try replacing your three single quote marks
with one or even two and that should solve the problem.


--
John Hart, Microsoft VB Team
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
----------------------------------------------------------------------------
--
[quoted text, click to view]
'---------------------------------------------------------------------------
---
[quoted text, click to view]
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.Editor
BrowsableState.Advanced)>
[quoted text, click to view]
<System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.Editor
BrowsableState.Advanced)>
[quoted text, click to view]
AddThis Social Bookmark Button