Open qamaruddin opened 4 years ago
Hi, @qamaruddin
I don't use VB.Net. What are the differences between VB and C# from project level? It will be great if you can contribute to the project. Thanks!
Not much different project wise. Once I added the package it did modify the vbproj file to add additional xml setting. But the file did not get generated at all. Not sure what would be the issue. Happy to add the support if you can show me how this package works. I dont have lots of experience in MSBUILD tasks
@lijunle After adding a post build event to call the vsxmd exe manually, I see that its looking for a generated xml file that dont exist. 1> ConsoleApp4 -> C:\Users\qamar\source\repos\ConsoleApp4\ConsoleApp4\bin\Debug\ConsoleApp4.exe 1> Could not find file 'C:\Users\qamar\source\repos\ConsoleApp4\ConsoleApp4\ConsoleApp4.xml'. Unlike C# in Vb you cant define whether xml gets generated. Could this be the issue?
Have you enable the XML documentation generations?
Switch to Build tab, in Output section, check XML documentation file checkbox.
Yes, I have xml generation turned on.
The genearted xml does exist's in the debug folder. but as stated earlier here, when i ran the vsxmd as part of post build event it was looking for xml in wrong folder.
Does it mean, vsxmd.exe looks for a wrong folder for VB.Net?
Could you please paste the .vbproj
file? Does the property DocumentationFile
defined in it?
`<?xml version="1.0" encoding="utf-8"?>
I saw it there:
<DocumentationFile>ConsoleApp4.xml</DocumentationFile>
Is the ConsoleApp4.xml
file generated somewhere under your project?
Yes. It’s get generated in bin/debug
I am thinking about if it is caused by the <OutputPath>
tag. Could you please remove the <OutputPath>bin\Debug\</OutputPath>
from the .vbproj
file and check if Vsxmd is working? I will update to support <OutputPath>
if confirmed.
without output tag the build won't work for Vb projects.
I have tried the product in a VB.net project. Did not seem to generate the files. Is there any plan to support vb.net? Or something that I can contribute to?