Unity editor utility that automatically sets C# version to latest available
.NET 2.0 | .NET 4.6 | netstandard 2.0 | |
---|---|---|---|
Unity 2017.1+ | 6 | 6 | N/A |
Unity 2018.1+ | 7.2 | latest | latest |
Unity editor utility that automatically sets C# version to latest available
License: BSD 2-Clause "Simplified" License
Console window is spammed with these same messages
System.Xml.XmlException: There is no Unicode byte order mark. Cannot switch to Unicode. at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo (System.String res) [0x00017] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.CheckEncoding (System.String newEncodingName) [0x000ad] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.ParseXmlDeclaration (System.Boolean isTextDecl) [0x0065c] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.Read () [0x000c6] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader, System.Xml.Linq.LoadOptions options) [0x00016] in <428ab70c13974bd0bcd1eeafc00ea3e2>:0 at System.Xml.Linq.XDocument.Load (System.String uri, System.Xml.Linq.LoadOptions options) [0x0000f] in <428ab70c13974bd0bcd1eeafc00ea3e2>:0 at System.Xml.Linq.XDocument.Load (System.String uri) [0x00000] in <428ab70c13974bd0bcd1eeafc00ea3e2>:0 at CSharpLatest.CsProjectPostprocessor.UpdateProjectFile (System.String csproj, System.String csver) [0x00000] in <d168b503304540e1af1dd3fbda8143ac>:0 UnityEngine.Debug:LogError(Object) CSharpLatest.CsProjectPostprocessor:UpdateProjectFile(String, String) CSharpLatest.CsProjectPostprocessor:OnGeneratedCSProjectFiles() CSharpLatest.Bootstrap:Main() UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes()
And this
System.Xml.XmlException: There is no Unicode byte order mark. Cannot switch to Unicode. at System.Xml.XmlTextReaderImpl.Throw (System.Exception e) [0x00027] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo (System.String res) [0x00017] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.CheckEncoding (System.String newEncodingName) [0x000ad] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.ParseXmlDeclaration (System.Boolean isTextDecl) [0x0065c] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.XmlTextReaderImpl.Read () [0x000c6] in <7fd195060d8c41448694ab221d3b56ca>:0 at System.Xml.Linq.XDocument.Load (System.Xml.XmlReader reader, System.Xml.Linq.LoadOptions options) [0x00016] in <428ab70c13974bd0bcd1eeafc00ea3e2>:0 at System.Xml.Linq.XDocument.Load (System.String uri, System.Xml.Linq.LoadOptions options) [0x0000f] in <428ab70c13974bd0bcd1eeafc00ea3e2>:0 at System.Xml.Linq.XDocument.Load (System.String uri) [0x00000] in <428ab70c13974bd0bcd1eeafc00ea3e2>:0 at CSharpLatest.CsProjectPostprocessor.UpdateProjectFile (System.String csproj, System.String csver) [0x00000] in <d168b503304540e1af1dd3fbda8143ac>:0 UnityEngine.Debug:LogError(Object) CSharpLatest.CsProjectPostprocessor:UpdateProjectFile(String, String) CSharpLatest.CsProjectPostprocessor:OnGeneratedCSProjectFiles() UnityEditor.SyncVS:SyncVisualStudioProjectIfItAlreadyExists()
As a result LangVersion is still stucked on 7.
How to reproduce:
"com.unity.incrementalcompiler": "0.0.42-preview.24",
Maybe that can help
https://stackoverflow.com/questions/29915467/there-is-no-unicode-byte-order-mark-cannot-switch-to-unicode
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.