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.
Files changed (2) hide show
  1. data/lib/cross_platform_csproj.rb +3 -0
  2. 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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cross_platform_csproj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: