We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modifying a project removes the BOM. It's not a huge deal, just causes churn. From what I can tell, Visual Studio always writes a BOM to csproj files.
I think the issue is in here: https://github.com/DarthFubuMVC/FubuCsProjFile/blob/master/src/FubuCsProjFile/MSBuild/MSBuildProject.cs#L535
It gets the encoding by name, but to explicitly write out the BOM I think the encoding needs to be constructed this way new UTF8Encoding(true)
new UTF8Encoding(true)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Modifying a project removes the BOM. It's not a huge deal, just causes churn. From what I can tell, Visual Studio always writes a BOM to csproj files.
I think the issue is in here: https://github.com/DarthFubuMVC/FubuCsProjFile/blob/master/src/FubuCsProjFile/MSBuild/MSBuildProject.cs#L535
It gets the encoding by name, but to explicitly write out the BOM I think the encoding needs to be constructed this way
new UTF8Encoding(true)
The text was updated successfully, but these errors were encountered: