Intellisense info
-
Hi, As my current company fails in re-using existing code, I've started my own library. Now it's only some basic stuff, but the idea is the expand it in time. Above some functions a set
/** <summary>comment here</summary> */
because I want that comment to appear in intellisense when using the object. This works inside the solution, but I'm importing this solution as dll inside other projects. I would like to have the intellisense info there too. How can you do that? (It doesn't appear right now) I have compiles it as doc and the .xml file is generated. Can you do it with C++ also? tnx! "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix -
Hi, As my current company fails in re-using existing code, I've started my own library. Now it's only some basic stuff, but the idea is the expand it in time. Above some functions a set
/** <summary>comment here</summary> */
because I want that comment to appear in intellisense when using the object. This works inside the solution, but I'm importing this solution as dll inside other projects. I would like to have the intellisense info there too. How can you do that? (It doesn't appear right now) I have compiles it as doc and the .xml file is generated. Can you do it with C++ also? tnx! "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi HendrixName the XML-file like your library e.g. MyLibrary.dll --> MyLibrary.xml, and copy the XML-file along with your library.
-
Name the XML-file like your library e.g. MyLibrary.dll --> MyLibrary.xml, and copy the XML-file along with your library.
-
I had to restart VS, but it worked tnx! Can't you do it automatically when adding a reference? "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
-
I had to restart VS, but it worked tnx! Can't you do it automatically when adding a reference? "If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
The answer is yes. But you have to restart VS in order for the reference to the .xml file to be properly loaded. If your MyIntellisenseProj.xml is built and located with you MyIntellisenseProj.dll, then adding the reference will pull over the .dll and xml files. The only thing is that you either have close and reopen the solution or close and reopen VS. Seems stupid but that is the only workaround that I have found so far. Hopefully they fix that in VS2005.