Avoid exceptions when manifest has more properties than current model
parent
508150abdc
commit
1e9d2e52c9
|
@ -182,6 +182,7 @@ namespace LANCommander.PlaynitePlugin
|
|||
{
|
||||
var manifestContents = File.ReadAllText(manifestPath);
|
||||
var deserializer = new DeserializerBuilder()
|
||||
.IgnoreUnmatchedProperties()
|
||||
.WithNamingConvention(PascalCaseNamingConvention.Instance)
|
||||
.Build();
|
||||
|
||||
|
|
|
@ -149,6 +149,7 @@ namespace LANCommander.Controllers
|
|||
}
|
||||
|
||||
var deserializer = new DeserializerBuilder()
|
||||
.IgnoreUnmatchedProperties()
|
||||
.WithNamingConvention(PascalCaseNamingConvention.Instance)
|
||||
.Build();
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ namespace LANCommander.Services
|
|||
}
|
||||
|
||||
var deserializer = new DeserializerBuilder()
|
||||
.IgnoreUnmatchedProperties()
|
||||
.WithNamingConvention(PascalCaseNamingConvention.Instance)
|
||||
.Build();
|
||||
|
||||
|
|
Loading…
Reference in New Issue