Skip to content

Commit

Permalink
LoadFrom
Browse files Browse the repository at this point in the history
  • Loading branch information
zijianhuang committed Jun 18, 2024
1 parent c305dd8 commit 463f6ef
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion DemoCoreWebControllers/DemoCoreWebControllers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<AnalysisLevel>latest-minimum</AnalysisLevel>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Fonlow.Poco2TsCore/Fonlow.Poco2TsCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net7.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Version>3.8.1</Version>
<Version>3.8.2</Version>
<Authors>Zijian Huang</Authors>
<Company />
<Copyright>Copyright © Zijian Huang 2015-$([System.DateTime]::Now.Year)</Copyright>
Expand Down
2 changes: 1 addition & 1 deletion Fonlow.Poco2TsCore/PocoAssemblyFileWalker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static Assembly LoadAssemblyFile(string assemblyFilePath)
{
try
{
return Assembly.LoadFile(assemblyFilePath);
return Assembly.LoadFrom(assemblyFilePath);
}
catch (Exception ex) when (ex is System.IO.FileLoadException || ex is BadImageFormatException || ex is System.IO.FileNotFoundException || ex is ArgumentException )
{
Expand Down

0 comments on commit 463f6ef

Please sign in to comment.