diff options
author | Viktor Hofer <viktor.hofer@microsoft.com> | 2019-01-05 08:39:18 +0100 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2019-01-04 23:39:18 -0800 |
commit | b188e9d354e37e512c5b95bec38f0f06efb4161e (patch) | |
tree | 1f33b68989c803fbec4b51b38c1ba90add1be0cc /src/.nuget | |
parent | 83bd6ca494971c399b3fbebee4623d9bf294731d (diff) | |
download | coreclr-b188e9d354e37e512c5b95bec38f0f06efb4161e.tar.gz coreclr-b188e9d354e37e512c5b95bec38f0f06efb4161e.tar.bz2 coreclr-b188e9d354e37e512c5b95bec38f0f06efb4161e.zip |
Fix ilasm exec on paths with spaces (#21819)
Diffstat (limited to 'src/.nuget')
-rw-r--r-- | src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets b/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets index 49089166df..0c0487fffc 100644 --- a/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets +++ b/src/.nuget/Microsoft.NET.Sdk.IL/targets/Microsoft.NET.Sdk.IL.targets @@ -69,7 +69,7 @@ Copyright (c) .NET Foundation. All rights reserved. <_OutputTypeArgument Condition="'$(OutputType)' == 'Library'">-DLL</_OutputTypeArgument> <_OutputTypeArgument Condition="'$(OutputType)' == 'Exe'">-EXE</_OutputTypeArgument> - <_KeyFileArgument Condition="'$(KeyOriginatorFile)' != ''">-KEY=$(KeyOriginatorFile)</_KeyFileArgument> + <_KeyFileArgument Condition="'$(KeyOriginatorFile)' != ''">-KEY="$(KeyOriginatorFile)"</_KeyFileArgument> <_IlasmSwitches>-QUIET -NOLOGO</_IlasmSwitches> <_IlasmSwitches Condition="'$(FoldIdenticalMethods)' == 'True'">$(_IlasmSwitches) -FOLD</_IlasmSwitches> @@ -85,7 +85,7 @@ Copyright (c) .NET Foundation. All rights reserved. <MakeDir Directories="$(_IlasmDir)" /> <Copy DestinationFolder="$(_IlasmDir)" SourceFiles="@(_IlasmSourceFiles)" /> - <Exec Command="$(_IlasmDir)\ilasm $(_IlasmSwitches) $(_OutputTypeArgument) $(IlasmFlags) -OUTPUT=@(IntermediateAssembly) $(_KeyFileArgument) @(Compile, ' ')"> + <Exec Command=""$(_IlasmDir)\ilasm" $(_IlasmSwitches) $(_OutputTypeArgument) $(IlasmFlags) -OUTPUT="@(IntermediateAssembly)" $(_KeyFileArgument) @(Compile, ' ')"> <Output TaskParameter="ExitCode" PropertyName="_ILAsmExitCode" /> </Exec> |