2
Vote

Copyright symbol replaced in Visual Studio 2010

description

When running the UpdateVersion from the ExternalTools I get an error message stating "Some bytes have been replaced with the Unicode substitution character while loading AssemblyInfo.cs" (or something like that). Then the little copyright symbol in my file is replaced.
Changing line 178 in the Program.cs file to:
using(var writer = new StreamWriter(options.OutputFilename, false, Encoding.UTF8)) // <-- Works
rather than:
using(var writer = new StreamWriter(options.OutputFilename, false, Encoding.Default)) // <-- Does NOT Work
seems to fix that.

comments