Problem Summary: When you upgrade a resource to a newer version, setting the type_version property and other properties in the same command will fail.
Workaround: Instead of changing type_version and other properties in the same clresource set command, change the type_version property first and then change other properties in a separate clresource set command.