Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / September 2007

Tip: Looking for answers? Try searching our database.

Comments on Methods/Properties for C++/CLI are not visible in the Assembly's Metadata

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Subodh - 31 Aug 2007 19:51 GMT
Hi All,

I am creating a C++/CLI project which will be consumber by C#
application.
I have added comments for my properties/Methods in my C++/CLI project
using .net XML tags, but when i reference this project in my C#
application, i dont seee these comments in the intelisense as well as
the Assembly's (C++/CLI project) Metadata
Do i need to do any project settings while building my C++/CLI project
for the comments to be visible to external world, I have used a
Default CLR Console Application template for my C++/CLI project

eg.
    /// <summary>
   /// Protocol used to establish connection
   /// </summary>
    property String^ Protocol
    {
        String^ get()
        {
            return _protocol;
        }

    private: void set(String^ value)
        {
            _protocol = value;
        }
    }

the comment "Protocol used to establish connection" is not visible in
my C# app, in metatadata of this (C++/CLI) assembly as well as
intellisense for this property

Any help will be appreciated

Thanks and Regards,
Subodh
Ben Voigt [C++ MVP] - 05 Sep 2007 01:31 GMT
> Hi All,
>
[quoted text clipped - 7 lines]
> for the comments to be visible to external world, I have used a
> Default CLR Console Application template for my C++/CLI project

Maybe

Configuration Properties > C/C++ > Output Files > Generate XML Documentation
Files

> eg.
>     /// <summary>
[quoted text clipped - 21 lines]
> Thanks and Regards,
> Subodh

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.