Is there any way to specify a command line argument for msbuild that will apply only to one project (i.e. project-level not solution-level), when building a multi-project so
You can edit your project in question (its .csproj file) to obtain assembly name from a special property if it is specified, i.e.:
UsualAssemblyName
$(ThisProjectNameOverrideAssemblyName)
So when you build your project in question, you pass your ThisProjectNameOverrideAssemblyName
to override AssemblyName
for this project only:
msbuild /p:ThisProjectNameOverrideAssemblyName=NewAssemblyName