Skip to content

Commit 4012d2e

Browse files
authored
Update README.md
1 parent 9f72a0b commit 4012d2e

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ Run `netcode-patch --help` for usage information and available options.
5858

5959
### MSBuild
6060

61+
> [!IMPORTANT]
62+
> Due to issues with Visual Studio the MSBuild plugin is not currently working properly with it, using the CLI tool and post build event is recommended if you are using Visual Studio.
63+
> *Alternatively you can manually run `dotnet build` from commandline if you do want to use MSBuild.*
64+
6165
NetcodePatcher has an MSBuild plugin that can be applied with minimal configuration.
6266
Add the following snippet within the root `<Project>` tag of your `.csproj` project file
6367
to automatically netcode patch the project's output assemblies.
@@ -134,7 +138,8 @@ Patcher.Patch(string inputPath, string outputPath, string[] dependencyPaths);
134138
To ensure quotes are not escaped incorrectly, it is recommended you add this target by manually editing
135139
your `.csproj` project file as opposed to using Visual Studio UI to add a post-build command.
136140

137-
*note: if you installed the cli tool locally instead of globally, you need to add `dotnet` infront of the command, so `dotnet netcode-patch`*
141+
> [!IMPORTANT]
142+
> *if you installed the CLI tool locally instead of globally, you need to add `dotnet` infront of the command, so `dotnet netcode-patch`*
138143
139144
```xml
140145
<Target Name="NetcodePatch" AfterTargets="PostBuildEvent">

0 commit comments

Comments
 (0)