Skip to content

Commit

Permalink
Removing DocumentationFile path from migration and one test asset.
Browse files Browse the repository at this point in the history
  • Loading branch information
livarcocc committed Nov 4, 2016
1 parent cb7c936 commit d68341b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TargetFramework>netstandard1.5</TargetFramework>
<NoWarn>$(NoWarn);CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Include="**\*.cs" Exclude="bin\**;obj\**;**\*.xproj;packages\**" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,7 @@ private AddPropertyTransform<CommonCompilerOptions>[] KeyFileTransforms
private AddPropertyTransform<CommonCompilerOptions> XmlDocTransform =>
new AddPropertyTransform<CommonCompilerOptions>("GenerateDocumentationFile",
compilerOptions => compilerOptions.GenerateXmlDocumentation.ToString().ToLower(),
compilerOptions => compilerOptions.GenerateXmlDocumentation != null && compilerOptions.GenerateXmlDocumentation.Value);

// TODO: https://github.com/dotnet/sdk/issues/67
private AddPropertyTransform<CommonCompilerOptions> XmlDocTransformFilePath =>
new AddPropertyTransform<CommonCompilerOptions>("DocumentationFile",
@"$(OutputPath)\$(TargetFramework)\$(AssemblyName).xml",
compilerOptions => compilerOptions.GenerateXmlDocumentation != null && compilerOptions.GenerateXmlDocumentation.Value);
compilerOptions => compilerOptions.GenerateXmlDocumentation != null && compilerOptions.GenerateXmlDocumentation.Value);

private AddPropertyTransform<CommonCompilerOptions> AssemblyNameTransform =>
new AddPropertyTransform<CommonCompilerOptions>("AssemblyName",
Expand Down Expand Up @@ -177,7 +171,6 @@ private void ConstructTransformLists()
PublicSignTransform,
DebugTypeTransform,
XmlDocTransform,
XmlDocTransformFilePath,
PreserveCompilationContextTransform,
AssemblyNameTransform
};
Expand Down

0 comments on commit d68341b

Please sign in to comment.