Choosing the Right CounterStrikeSharp.API Version for Your Plugin
Some plugins fix an exact CounterStrikeSharp.API version directly in their project file, rather than just declaring a .NET version. When that happens, our compiler shows a prompt with three buttons before compiling, Current, Newer, and Latest, each targeting a different version. Picking the wrong one is a common reason a plugin compiles fine but doesn't start, or behaves oddly once it does.
Why you're seeing this prompt
The plugin author locked their project to a specific CounterStrikeSharp.API version while writing it, most likely because that's the version they tested against. Our compiler detects this and asks you to confirm which version to actually use, instead of silently picking one for you.
Current: the version the plugin was built for
Current X.Y.Z (.NET 8.0)This compiles with the exact version the plugin's author pinned, on the exact .NET version that version requires. This is what we recommend, especially if you're not familiar with the plugin's code and can't easily tell whether it would break on a newer API. It's the version the plugin was actually tested against.
Newer: same .NET, newer CounterStrikeSharp.API
Newer X.Y.Z (.NET 8.0)This keeps the same .NET version the plugin targets, but compiles against the newest CounterStrikeSharp.API version available for that same .NET version. It can work fine, CounterStrikeSharp.API updates are often backward compatible, but not always.
Latest: the newest .NET and CounterStrikeSharp.API available
Latest X.Y.Z (.NET 10.0)This ignores what the plugin originally targeted entirely and compiles against the newest .NET version and the newest CounterStrikeSharp.API version we have, whatever that combination currently is. For an older plugin, this is usually a bigger jump than Newer, both the .NET version and the API itself may have changed.
Our recommendation
Pick Current unless you have a specific reason not to. It matches what the plugin was actually built and tested against, so it's the option least likely to compile cleanly and then fail in ways that are hard to diagnose. Only reach for Newer or Latest if you specifically need a feature from a newer CounterStrikeSharp.API version, and you're prepared to test the plugin thoroughly afterward, not just confirm that it compiled.
Was this tutorial useful?
Barlap for the community.