BoolBySigma / UpdateAssemblyInfo

SORRY THIS IS NO LONGER MAINTAINED
10 stars 9 forks source link

String Verbatim Literals Cause Parsing Errors #13

Closed KSib closed 7 years ago

KSib commented 7 years ago

If in your AssemblyVersion (for example), you have the following

[assembly: AssemblyFileVersion(@"4.01.1.1000")]

You may have an error logged such as

[error]Input string was not in a correct format.

ghost commented 7 years ago

Yes, only simple strings supported for now.

Do you have a specific need that requires you to use verbatim?

KSib commented 7 years ago

I don't at all, but at the time it was part of the ReSharper code cleanup options. I'm not sure if that's still the case. I just wanted to note it in case someone else ran into it. I can hardly imagine anyone would do this, but if I can save someone some time figuring out this error then I think it's a good thing to either support, explain what needs to be fixed in the error, or put it in the documentation.

ghost commented 7 years ago

Your input is very much appreciated. I will put it in the documentation.