Fixed a couple of issues with api doc generation

Added xml file generation on projects.
Added the xml files to the shfb file, as these are needed (gee, who
knew!)
Commented out vsvars32.bat call in cmd file.
Fixed references to release builds
This commit is contained in:
Frans Bouma 2016-08-11 16:06:28 +02:00
Родитель aceb968db2
Коммит 7b9fdbaefa
5 изменённых файлов: 26 добавлений и 16 удалений

Просмотреть файл

@ -56,17 +56,23 @@
<component id="API Token Resolution">{@TokenFiles}
<replace elements="/*//token" item="string(.)" /></component>
</ComponentConfig>
<ComponentConfig id="Code Block Component" enabled="True" xmlns=""><component id="Code Block Component">
<basePath value="{@HtmlEncProjectFolder}" />
<outputPaths>{@HelpFormatOutputPaths}</outputPaths>
<allowMissingSource value="false" />
<removeRegionMarkers value="false" />
<colorizer syntaxFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xml" styleFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xsl" stylesheet="{@SHFBFolder}PresentationStyles\Colorizer\highlight.css" scriptFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.js" disabled="{@DisableCodeBlockComponent}" language="cs" tabSize="0" numberLines="false" outlining="false" keepSeeTags="false" defaultTitle="true" />
</component></ComponentConfig></ComponentConfigurations>
<ComponentConfig id="Code Block Component" enabled="True" xmlns="">
<component id="Code Block Component">
<basePath value="{@HtmlEncProjectFolder}" />
<outputPaths>{@HelpFormatOutputPaths}</outputPaths>
<allowMissingSource value="false" />
<removeRegionMarkers value="false" />
<colorizer syntaxFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xml" styleFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.xsl" stylesheet="{@SHFBFolder}PresentationStyles\Colorizer\highlight.css" scriptFile="{@SHFBFolder}PresentationStyles\Colorizer\highlight.js" disabled="{@DisableCodeBlockComponent}" language="cs" tabSize="0" numberLines="false" outlining="false" keepSeeTags="false" defaultTitle="true" />
</component>
</ComponentConfig>
</ComponentConfigurations>
<DocumentationSources>
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet\bin\Debug\net45\BenchmarkDotNet.Core.dll" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet\bin\Debug\net45\BenchmarkDotNet.dll" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet.Diagnostics.Windows\bin\Debug\net45\BenchmarkDotNet.Diagnostics.Windows.dll" /></DocumentationSources>
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet\bin\Release\net45\BenchmarkDotNet.Core.dll" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet\bin\Release\net45\BenchmarkDotNet.dll" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet.Diagnostics.Windows\bin\Release\net45\BenchmarkDotNet.Diagnostics.Windows.dll" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet\bin\Release\net45\BenchmarkDotNet.Core.xml" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet.Diagnostics.Windows\bin\Release\net45\BenchmarkDotNet.Diagnostics.Windows.xml" />
<DocumentationSource sourceFile="..\..\src\BenchmarkDotNet\bin\Release\net45\BenchmarkDotNet.xml" /></DocumentationSources>
</PropertyGroup>
<!-- There are no properties for these groups. AnyCPU needs to appear in order for Visual Studio to perform
the build. The others are optional common platform types that may appear. -->

Просмотреть файл

@ -1,3 +1,4 @@
@echo off
call vsvars32.bat
REM Uncomment next line if msbuild isn't in the path but vs.net's common7\tools folder is.
REM call vsvars32.bat
msbuild BenchmarkDotNet.shfbproj /v:m

Просмотреть файл

@ -1,4 +1,4 @@
{
{
"title": "BenchmarkDotNet.Core",
"version": "0.9.8-develop",
"authors": [ "Andrey Akinshin", "Jon Skeet", "Matt Warren" ],
@ -35,7 +35,8 @@
},
"buildOptions": {
"embed": [ "Templates/*" ],
"nowarn": [ "1591" ]
"nowarn": [ "1591" ],
"xmlDoc": true
},
"frameworks": {
"net45": {

Просмотреть файл

@ -41,6 +41,7 @@
"Microsoft.Diagnostics.Tracing.TraceEvent": "1.0.41.0"
},
"buildOptions": {
"nowarn": [ "1591" ]
"nowarn": [ "1591" ],
"xmlDoc": true
}
}

Просмотреть файл

@ -1,4 +1,4 @@
{
{
"title": "BenchmarkDotNet",
"version": "0.9.8-develop",
"authors": [ "Andrey Akinshin", "Jon Skeet", "Matt Warren" ],
@ -34,7 +34,8 @@
}
},
"buildOptions": {
"nowarn": [ "1591" ]
"nowarn": [ "1591" ],
"xmlDoc": true
},
"frameworks": {
"net45": {