Skip to content

Commit

Permalink
Update InternalFilesAssemblyResolver.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroDebevere committed Jan 23, 2024
1 parent b2bbcb1 commit 674ee4c
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions Common/InternalFilesAssemblyResolver.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,8 @@ public InternalFilesAssemblyResolver(string directory) : this(new[] { directory
/// Gets the installation path of the .NET Framework.
/// </summary>
/// <value>The installation path of the .NET Framework.</value>
public static string DotNetFrameworkAssemblyPath
{
get
{
return dotnetFrameworkVersion?.AssembliesPath;
}
}

public static string DotNetFrameworkAssemblyPath => dotnetFrameworkVersion?.AssembliesPath;

/// <inheritdoc/>
public string TryResolve(string assembly)
{
Expand Down Expand Up @@ -84,7 +78,7 @@ private FileInfo TryFindDllFile(string assembly)
}
}

if(DotNetFrameworkAssemblyPath != null)
if (DotNetFrameworkAssemblyPath != null)
{
filename = Path.Combine(DotNetFrameworkAssemblyPath, assembly);
if (TryGetFileInfo(filename, out info))
Expand Down

0 comments on commit 674ee4c

Please sign in to comment.