Skip to content

Commit 01828d8

Browse files
feat: use loosely rule for guid parsing
1 parent daf1184 commit 01828d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

EProjectFile/EProjectFile.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<Authors>OpenEpl</Authors>
1919
<PackageProjectUrl>https://github.com/OpenEpl/EProjectFile</PackageProjectUrl>
2020
<RootNamespace>QIQI.EProjectFile</RootNamespace>
21-
<Version>1.9.1</Version>
21+
<Version>1.9.2</Version>
2222
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
2323
<PackageLicenseExpression>Unlicense</PackageLicenseExpression>
2424
<GenerateDocumentationFile>True</GenerateDocumentationFile>

EProjectFile/IDToNameMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public IdToNameMap(LibraryRefInfo[] lib)
6161
{
6262
try
6363
{
64-
Guid.TryParse(x.GuidString, out var guid);
64+
Guid.TryParseExact(x.GuidString.Replace("-", "").Replace("{", "").Replace("}", ""), "N", out var guid);
6565
return ELibInfoLoader.Default.Load(guid, x.FileName, x.Version);
6666
}
6767
catch (Exception)

0 commit comments

Comments
 (0)