Skip to content

Commit 9140d7f

Browse files
committed
try after publish so PublishRootDir is set to avoid error
/home/runner/work/Ellabit/Ellabit/Ellabit/Ellabit.csproj(110,3): error MSB3073: The command "bash -c "frameworkDir=/home/runner/work/Ellabit/Ellabit/public/wwwroot/_framework; echo [ > $frameworkDir/framework_manifest.json; first=true; for dll in $frameworkDir/*.dll; do if [ $first = true ]; then first=false; else echo , >> $frameworkDir/framework_manifest.json; fi; filename=${dll##*/}; name=${filename%%.*}; echo { \\"Name\\": \\"$name\\", \\"File\\": \\"$filename\\" } >> $frameworkDir/framework_manifest.json; done; echo ] >> $frameworkDir/framework_manifest.json"" exited with code 1.
1 parent 1efd072 commit 9140d7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Ellabit/Ellabit.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282

8383

8484

85-
<Target Name="CreateFrameworkDllManifest" AfterTargets="Build">
85+
<Target Name="CreateFrameworkDllManifest" AfterTargets="Publish">
8686
<PropertyGroup>
8787
<!-- Remove the last 'publish\' from PublishDir -->
8888
<PublishRootDir>$(PublishDir.Replace('publish\', ''))</PublishRootDir>

0 commit comments

Comments
 (0)