Show arguments passed to MSBuild in verbose log when generating deps.json for DotNetCliToolReference

This commit is contained in:
Daniel Plaisted 2018-03-30 12:11:17 -07:00
parent a9742686ed
commit 6e8355b30a
15 changed files with 71 additions and 0 deletions

View file

@ -399,6 +399,9 @@ namespace Microsoft.DotNet.Cli.Utils
Path.Combine(AppContext.BaseDirectory, "MSBuild.dll") :
msBuildExePath;
Reporter.Verbose.WriteLine(string.Format(LocalizableStrings.MSBuildArgs,
ArgumentEscaper.EscapeAndConcatenateArgArrayForProcessStart(args)));
var result = new MSBuildForwardingAppWithoutLogging(args, msBuildExePath)
.GetProcessStartInfo()
.ExecuteAndCaptureOutput(out string stdOut, out string stdErr);

View file

@ -262,4 +262,7 @@
<data name="UnableToInvokeMemberNameAfterCommand" xml:space="preserve">
<value>Unable to invoke {0} after the command has been run</value>
</data>
<data name="MSBuildArgs" xml:space="preserve">
<value>MSBuild arguments: {0}</value>
</data>
</root>

View file

@ -244,6 +244,11 @@
<target state="translated">Běhové prostředí:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Laufzeitumgebung:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Entorno de tiempo de ejecución:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Environnement d'exécution :</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Ambiente di runtime:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">ランタイム環境:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">런타임 환경:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Środowisko uruchomieniowe:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Ambiente de tempo de execução:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Среда выполнения:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">Çalışma Zamanı Ortamı:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">运行时环境:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>

View file

@ -244,6 +244,11 @@
<target state="translated">執行階段環境:</target>
<note />
</trans-unit>
<trans-unit id="MSBuildArgs">
<source>MSBuild arguments: {0}</source>
<target state="new">MSBuild arguments: {0}</target>
<note />
</trans-unit>
</body>
</file>
</xliff>