Keep BOM after assembly info patching

lijunle's Avatar

lijunle

19 Aug, 2015 07:08 PM

The patching logic remove the BOM from AssemblyInfo after patching. That cause `SA1412: Store files as UTF-8 with byte order mark` warning.

Please resolve this.

  1. Support Staff 1 Posted by Feodor Fitsner on 20 Aug, 2015 04:11 AM

    Feodor Fitsner's Avatar

    I've added an issue: https://github.com/appveyor/ci/issues/370

    You are right, File.WriteAllText without encoding specified removes BOM (see "Remarks" section): https://msdn.microsoft.com/en-us/library/ms143375(v=vs.110).aspx

  2. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac