Let's debug this file, as the error says, in the Settings
, line 6 tag.
<?xml version="1.0" encoding="utf-8"?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings> <!-- linha 6 é essa -->
<Setting Name="HWID" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
<Settings /> <!-- Erro aqui, tag não finalizada (wtf é isso?) -->
</SettingsFile> <!-- linha 11 é essa -->
The error is on line 10, where you put <Settings />
instead of </Settings>
.
Consider this the corrected version:
<?xml version="1.0" encoding="utf-8"?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" GeneratedClassNamespace="My" GeneratedClassName="MySettings" UseMySettingsClassName="true">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings>
<Setting Name="HWID" Type="System.String" Scope="User">
<Value Profile="(Default)" />
</Setting>
</Settings>
</SettingsFile>
Always when closing a tag, use </
at the beginning of it, not at the end of it.