Skip to content

Commit 8d36650

Browse files
Remove explicit build step for replace-text script
The build step is not needed. When using 'dotnet script.cs -- @response.rsp', dotnet automatically compiles and caches the script as needed. The explicit build step was redundant. Co-authored-by: DamianEdwards <[email protected]>
1 parent 3e135ea commit 8d36650

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Aspire.ProjectTemplates/Aspire.ProjectTemplates.csproj

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@
137137
Overwrite="true"
138138
WriteOnlyWhenDifferent="true" />
139139

140-
<!-- Build the script to ensure it's compiled (required for dotnet to run it with arguments) -->
141-
<Exec Command="dotnet build &quot;$(_ReplaceTextScriptPath)&quot; -o &quot;$(RepoRoot)artifacts/bin/replace-text/Debug&quot;"
142-
WorkingDirectory="$(MSBuildThisFileDirectory)"
143-
StandardOutputImportance="Low"
144-
StandardErrorImportance="Normal" />
145-
146140
<!-- Execute the script with the .rsp file, using double dash to pass arguments directly to the script -->
147141
<Exec Command="dotnet &quot;$(_ReplaceTextScriptPath)&quot; -- @&quot;$(_RspFilePath)&quot;"
148142
WorkingDirectory="$(MSBuildThisFileDirectory)"

0 commit comments

Comments
 (0)