Where can I find the documentation for the different msbuildargs options?
There is no such document to list all msbuildargs for MSBuild. MSBuild does not have a complete list of parameters you can chose from since you can send any parameter you like. It is a means of communication between the caller of MSBuild and the author of the MSBuild build script (a vs sln or csproj file for instance).
msbuildargs usually contains some common properties, but also contains some attributes specific to specific build action, for example, deploy: DeployOnBuild
MSBuild Properties. And it also contains the properties in the publish file or our custom .targets
files.
Therefore, in addition to some commonly used attributes, msbuildargs has more attributes related to the action of MSBuild and the type of project being built. Currently, there is no complete list for it.
Some commonly used MSBuild properties:
Common MSBuild project properties
MSBuild Properties
MSBuild command-line reference
Parameters for MSDeploy
And so on.