Skip to content

Commit 2b0e728

Browse files
authored
Update README.md
1 parent 2fc5e1c commit 2b0e728

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,11 @@ Patcher.Patch(string inputPath, string outputPath, string[] dependencyPaths);
127127
To ensure quotes are not escaped incorrectly, it is recommended you add this target by manually editing
128128
your `.csproj` project file as opposed to using Visual Studio UI to add a post-build command.
129129

130+
*note: if you installed the cli tool locally instead of globally, you need to add `dotnet` infront of the command, so `dotnet netcode-patch`*
131+
130132
```xml
131133
<Target Name="NetcodePatch" AfterTargets="PostBuildEvent">
132-
<Exec Command="dotnet netcode-patch &quot;$(TargetPath)&quot; @(ReferencePathWithRefAssemblies->'&quot;%(Identity)&quot;', ' ')"/>
134+
<Exec Command="netcode-patch &quot;$(TargetPath)&quot; @(ReferencePathWithRefAssemblies->'&quot;%(Identity)&quot;', ' ')"/>
133135
</Target>
134136
```
135137

0 commit comments

Comments
 (0)