VersionNumber.targets SkipVersioning

Is it possible to set SkipVersioning=true in a propertyGroup? I am trying to set this to true based on a condition to not have VersionNumber.targets touch the AssemblyInfo.cs
files.

When I do the following the VersionNumber.targets is still modifying the AssemblyInfo.cs file but with the default FileBuild and FileRevsion types. I have tried using a Condition and set the File types to be NoIncrement which does what I would like
to do but the VersionNumber.targets still touches the AssemblyInfo.cs file. Am I using the SkipVersioning correctly or is there another way to do this?