Let’s debug that file as error says in tag Settings
, line 6.
<?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 />
rather than </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.
Welcome to Sopt, Brayan. I made an issue of your question in order to make it clearer and within the community standards. I suggest you read the [Ask] and the [tour]. Another thing: - It is always preferable that you put the related code fragment in the question, such as the error returned. Images with codes and errors do not help much (especially if using the mobile phone) :D
– emanuelsn