dotnet/msbuild
Vedi su GitHubPreprocess flag allows some irrelevant logging to escape
Open
#1799 aperta il 6 mar 2017
Area: Debuggabilityhelp wantedtriaged
Metriche repository
- Star
- (5062 star)
- Metriche merge PR
- (Merge medio 11g 7h) (125 PR mergiate in 30 g)
Descrizione
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="Build" BeforeTargets="bt" AfterTargets="at"/>
</Project>
msbuild /pp:out.txt test.proj
results in
C:\git\corefx>msbuild /pp:out.txt test.proj
The target "bt" listed in a BeforeTargets attribute at "C:\git\corefx\test.proj (3,26)" does not exist in the project,
and will be ignored.
The target "at" listed in an AfterTargets attribute at "C:\git\corefx\test.proj (3,45)" does not exist in the project,
and will be ignored.
C:\git\corefx>
When using /preprocess, no logging is expected except for cases where /preprocess cannot do its job (for example syntax error or import of nonexistent file)