cross_platform_csproj 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/cross_platform_csproj.rb +3 -0
- metadata +1 -1
@@ -55,6 +55,9 @@ class CrossPlatformCSProj
|
|
55
55
|
|
56
56
|
# Visual Studio will remove any newline characters on the final line
|
57
57
|
documentContents = documentContents.gsub(/\n$/, '')
|
58
|
+
|
59
|
+
# Visual Studio will add a strange character at the start of every project
|
60
|
+
documentContents = "\u{FEFF}" + documentContents
|
58
61
|
|
59
62
|
fileHandle = File.open(projectFile)
|
60
63
|
documentContentsOld = fileHandle.read
|