Skip to content

Commit

Permalink
Fix relative path in exec dotnet publish
Browse files Browse the repository at this point in the history
  • Loading branch information
jasongin committed Sep 17, 2023
1 parent b9d39fc commit e403e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NodeApi.DotNetHost/NodeApi.DotNetHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
It's necessary to use <Exec/> here rather than a recursive <MSBuild/> task because
PublishAot modifies properties/targets which would not be re-computed by the task.
-->
<Exec Command="dotnet publish ..\NodeApi\NodeApi.csproj -c $(Configuration) -f net8.0 -p:PublishAot=true" />
<Exec Command="dotnet publish $(MSBuildThisFileDirectory)..\NodeApi\NodeApi.csproj -c $(Configuration) -f net8.0 -p:PublishAot=true" />
</Target>

<Target Name="NpmPack"
Expand Down

0 comments on commit e403e14

Please sign in to comment.