lijunle / Vsxmd

VS XML documentation -> Markdown syntax.
MIT License
217 stars 52 forks source link

Configuring output file path #22

Closed tompazourek closed 9 years ago

tompazourek commented 9 years ago

Is it possible to configure the path of the Markdown destination file?

lijunle commented 9 years ago

Hi, @tompazourek How do you use the tool? As a MSBuild task, or a single command line?

tompazourek commented 9 years ago

Hi @lijunle, I used it exactly as described in the Usage section in the documentation.

lijunle commented 9 years ago

OK. You can define a project property in your .csproj file, named DocumentationMarkdown to specify the output path and name.

For example, the follow configuration will output the MyMarkdown.md file to the project root folder:

<?xml version="1.0" encoding="utf-8"?>
<Project>
  <PropertyGroup>
    <!-- other properties ... -->
    <DocumentationMarkdown>MyMarkdown.md<DocumentationMarkdown>
  </PropertyGroup>
</Project>
tompazourek commented 9 years ago

Thanks! :+1:

lijunle commented 9 years ago

You are welcome. :smile: