you can just delete the command
<arg value="/t:ResolveReferences" />
<arg value="/t:_CopyWebApplication" />
This will stop him from calling. The .SLN file already has all the links, it builds the order information needed to create the file with the correct dependencies.