Skip to content

Commit

Permalink
Move the default XmlDoc2CmdletDocStrict definition to the targets file
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLambrou committed Feb 2, 2017
1 parent fdb17cc commit 5d9fb17
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 13 deletions.
1 change: 0 additions & 1 deletion XmlDoc2CmdletDoc/XmlDoc2CmdletDoc.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Version 0.2.1 - First public release.</releaseNotes>
<files>
<file src="bin\$configuration$\*.dll" target="tools" />
<file src="bin\$configuration$\*.exe" target="tools" />
<file src="XmlDoc2CmdletDoc.props" target="build" />
<file src="XmlDoc2CmdletDoc.targets" target="build" />
</files>
</package>
12 changes: 0 additions & 12 deletions XmlDoc2CmdletDoc/XmlDoc2CmdletDoc.props

This file was deleted.

10 changes: 10 additions & 0 deletions XmlDoc2CmdletDoc/XmlDoc2CmdletDoc.targets
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!--
Indicates that, by default, XmlDoc2CmdletDoc should not run in strict mode.
Projects that wish to use strict mode should add the following to their
project file within a <PropertyGroup/> element:
<XmlDoc2CmdletDocStrict>true</XmlDoc2CmdletDocStrict>
-->
<XmlDoc2CmdletDocStrict Condition="'$(XmlDoc2CmdletDocStrict)' == ''">false</XmlDoc2CmdletDocStrict>
</PropertyGroup>
<Target Name="XmlDoc2CmdletDoc"
BeforeTargets="PostBuildEvent"
Inputs="$(TargetPath)"
Expand Down

0 comments on commit 5d9fb17

Please sign in to comment.