Closed flanagak closed 7 years ago
Ok some more info....
If I use the ... next to the Assembly Info and navigate all the way to the file I get a path that looks like this.
$/xSolution Suite/Trunk-xSolution/Releases/_Call-Handling/C3.9.2.10/xT911/Source/Controls/My Project/AssemblyInfo.vb
With this configuration the file is updated.
Obviously I want to update all the AssemblyInfo files in my solution so I start replacing folders with wildcards. Changing the above path to the following causes a file not found `$/xSolution Suite/Trunk-xSolution/Releases/_Call-Handling/C3.9.2.10/xT911/Source/Controls/*/AssemblyInfo.
Removing the $ from the path so it is:
/xSolution Suite/Trunk-xSolution/Releases/_Call-Handling/C3.9.2.10/xT911/Source/Controls/**/AssemblyInfo.*
No longer gives the "cannot find path" error but I now get the "Version String too short or long"
I have also tried use the generic **/AssemblyInfo.*
so it would update all files in all folders and I still get the "Version String too short or long" error.
Any help would be appreciated.
Figured it out..... was our current checked-in AssemblyInfo files causing the issue. They have a version stamp of 3.9.2.10.17132.1.
Would be great if the extension recognized that you are replacing that value and did not fail because the current value is invalid.
Glad it you solved your problem.
I will consider your suggestion for a possible future enhancement.
When attempting to update just a single AssemblyInfo file I keep getting this error. I have tried setting the "Assembly Info" field with wildcards and with complete path to the file. I was able to update the AssemblyInfo file from another project within the same solution without error.
I have tried setting my new version with both static numbers and with variables, same result. I thought it may be the "Informational Version" I am using which is $(Date:yy)$(DayOfYear).$(Rev:rr) So I removed that completely and still get the same result.
Here is the output from
your
extension:Since it only happens on some AssemblyInfo files and not others. Here is the AssemblyInfo.vb contents. This is identical to one that works other than the text for Title and Description.