0
當我嘗試構建應用程序時,出現3個處理設置的錯誤。我已經完成了與往常一樣的設置,但是這次我收到錯誤並且不知道爲什麼。Visual Studio中的C#設置錯誤
這裏的設置文件代碼:
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="SAM.Properties" GeneratedClassName="Settings">
<Profiles />
<Settings>
<Setting Name="AllowGlass" Type="DevExpress.Utils.DefaultBoolean" Scope="User">
<Value Profile="(Default)">True</Value>
</Setting>
<Setting Name="ApplicationSkinName" Roaming="true" Type="System.String" Scope="Application">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>
這裏是錯誤,我得到:我
Error 1 Too many characters in character literal 1 15 SAM
Error 2 Too many characters in character literal 1 30 SAM
Error 3 A namespace cannot directly contain members such as fields or methods 1 1 SAM
同樣也絕對不知道爲什麼我得到這些錯誤。所以任何幫助,無論多小,都會受到我的讚賞。