summaryrefslogtreecommitdiffstats
path: root/src/main.lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.lib')
-rw-r--r--src/main.lib/Services/PluginService.cs4
-rw-r--r--src/main.lib/wacs.lib.csproj20
2 files changed, 18 insertions, 6 deletions
diff --git a/src/main.lib/Services/PluginService.cs b/src/main.lib/Services/PluginService.cs
index 7b490c1..a0db0a3 100644
--- a/src/main.lib/Services/PluginService.cs
+++ b/src/main.lib/Services/PluginService.cs
@@ -161,7 +161,7 @@ namespace PKISharp.WACS.Services
types = rex.Types;
foreach (var lex in rex.LoaderExceptions)
{
- _log.Error(lex, "Error loading type from {assembly}", assembly.FullName);
+ _log.Error(lex, "Error loading type from {assembly}: {reason}", assembly.FullName, lex.Message);
}
}
catch (Exception ex)
@@ -194,7 +194,7 @@ namespace PKISharp.WACS.Services
types = rex.Types;
foreach (var lex in rex.LoaderExceptions)
{
- _log.Error(lex, "Error loading type from {assembly}", file);
+ _log.Error(lex, "Error loading type from {assembly}: {reason}", file, lex.Message);
}
}
catch (Exception ex)
diff --git a/src/main.lib/wacs.lib.csproj b/src/main.lib/wacs.lib.csproj
index 6bf880d..b57f08f 100644
--- a/src/main.lib/wacs.lib.csproj
+++ b/src/main.lib/wacs.lib.csproj
@@ -19,10 +19,7 @@
<PackageReference Include="Serilog.Sinks.EventLog" Version="3.1.0" />
<PackageReference Include="Serilog.Sinks.File" Version="4.0.0" />
<PackageReference Include="SSH.NET" Version="2016.1.0" />
- <PackageReference Include="System.Security.Cryptography.Algorithms" Version="4.3.1" />
- <PackageReference Include="System.Security.Cryptography.Cng" Version="4.5.0" />
- <PackageReference Include="System.Security.Cryptography.Encoding" Version="4.3.0" />
- <PackageReference Include="System.Security.Cryptography.Primitives" Version="4.3.0" />
+ <PackageReference Include="System.Configuration.ConfigurationManager" Version="4.5.0" />
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="4.5.0" />
<PackageReference Include="System.Security.Cryptography.X509Certificates" Version="4.3.2" />
<PackageReference Include="TaskScheduler" Version="2.8.15" />
@@ -33,4 +30,19 @@
<ProjectReference Include="..\fluent-command-line-parser\FluentCommandLineParser\FluentCommandLineParser.csproj" />
</ItemGroup>
+ <ItemGroup>
+ <Compile Update="Properties\Settings.Designer.cs">
+ <DesignTimeSharedInput>True</DesignTimeSharedInput>
+ <AutoGen>True</AutoGen>
+ <DependentUpon>Settings.settings</DependentUpon>
+ </Compile>
+ </ItemGroup>
+
+ <ItemGroup>
+ <None Update="Properties\Settings.settings">
+ <Generator>SettingsSingleFileGenerator</Generator>
+ <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+ </None>
+ </ItemGroup>
+
</Project>