Skip to content

Commit c1ea283

Browse files
authored
fix 1775 (dotnet#1793)
1 parent 384451e commit c1ea283

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/FSharpSource.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@
446446
Name="CopyAndSubstituteTextFiles"
447447
Inputs="@(CopyAndSubstituteText)"
448448
Outputs="@(CopyAndSubstituteText->'$(OutDir)%(TargetFilename)')" >
449-
<Exec Command="$(FsiToolPath)\$(FsiToolExe) --exec $(MSBuildThisFileDirectory)scripts/subst.fsx --in:&quot;%(CopyAndSubstituteText.FullPath)&quot; --out:&quot;$(OutDir)%(CopyAndSubstituteText.TargetFilename)&quot; --pattern1:&quot;%(CopyAndSubstituteText.Pattern1)&quot; --replacement1:&quot;%(CopyAndSubstituteText.Replacement1)&quot; --pattern2:&quot;%(CopyAndSubstituteText.Pattern2)&quot; --replacement2:&quot;%(CopyAndSubstituteText.Replacement2)&quot; " />
449+
<Exec Command="$(FsiToolPath)\$(FsiToolExe) --exec &quot;$(MSBuildThisFileDirectory)scripts/subst.fsx&quot; --in:&quot;%(CopyAndSubstituteText.FullPath)&quot; --out:&quot;$(OutDir)%(CopyAndSubstituteText.TargetFilename)&quot; --pattern1:&quot;%(CopyAndSubstituteText.Pattern1)&quot; --replacement1:&quot;%(CopyAndSubstituteText.Replacement1)&quot; --pattern2:&quot;%(CopyAndSubstituteText.Pattern2)&quot; --replacement2:&quot;%(CopyAndSubstituteText.Replacement2)&quot; " />
450450
<!-- Make sure it will get cleaned -->
451451
<CreateItem Include="$(OutDir)%(CopyAndSubstituteText.TargetFilename)">
452452
<Output TaskParameter="Include" ItemName="FileWrites"/>

src/scripts/fssrgen.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Copyright (C) Microsoft Corporation. Apache 2.0 License.
2424
<!-- Create the output directory in case it doesn't exist yet -->
2525
<MakeDir Directories="$(IntermediateOutputPath)"/>
2626
<!-- Run the tool -->
27-
<Exec Command="$(FsiToolPath)\$(FsiToolExe) --exec $(MSBuildThisFileDirectory)fssrgen.fsx &quot;%(FsSrGen.FullPath)&quot; &quot;$(IntermediateOutputPath)%(FsSrGen.Filename).fs&quot; &quot;$(IntermediateOutputPath)%(FsSrGen.Filename).resx&quot; $(FsSrGenProjectName)" />
27+
<Exec Command="$(FsiToolPath)\$(FsiToolExe) --exec &quot;$(MSBuildThisFileDirectory)fssrgen.fsx&quot; &quot;%(FsSrGen.FullPath)&quot; &quot;$(IntermediateOutputPath)%(FsSrGen.Filename).fs&quot; &quot;$(IntermediateOutputPath)%(FsSrGen.Filename).resx&quot; $(FsSrGenProjectName)" />
2828
</Target>
2929

3030
<!-- Process FsSrGen rules. No 'Inputs' and 'Outputs' means this rule always runs if there is any @FsSrGen, even if up-to-date. -->

0 commit comments

Comments
 (0)