Skip to content

Commit c6635df

Browse files
committed
Updating:
- Microsoft.EntityFrameworkCore.SqlServer to 2.2.1 - Microsoft.EntityFrameworkCore.Design to 2.2.1 - Microting.eForm to 3.0.128 - Microting.eFormApi.BasePn to 1.1.86 Cleaning up some code for better console printing.
1 parent f7cfb4f commit c6635df

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

eFormAPI/eFormAPI.Web.Integration.Tests/eFormAPI.Web.Integration.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<ItemGroup>
99
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
10-
<PackageReference Include="Microting.eForm" Version="3.0.125" />
10+
<PackageReference Include="Microting.eForm" Version="3.0.128" />
1111
<PackageReference Include="NUnit" Version="3.11.0" />
1212
<PackageReference Include="NUnit3TestAdapter" Version="3.12.0" />
1313
</ItemGroup>

eFormAPI/eFormAPI.Web.Tests/eFormAPI.Web.Tests.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77

88
<ItemGroup>
99
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
10-
<PackageReference Include="Microting.eForm" Version="3.0.125" />
10+
<PackageReference Include="Microting.eForm" Version="3.0.128" />
1111
<PackageReference Include="NUnit" Version="3.11.0" />
1212
<PackageReference Include="NUnit3TestAdapter" Version="3.12.0" />
13-
<PackageReference Include="Microting.eFormApi.BasePn" Version="1.1.85" />
13+
<PackageReference Include="Microting.eFormApi.BasePn" Version="1.1.86" />
1414
</ItemGroup>
1515

1616
<ItemGroup>

eFormAPI/eFormAPI.Web/Hosting/Helpers/PluginHelper.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ public static List<IEformPlugin> GetAllPlugins()
9292

9393
// var assemblies = new List<Assembly>();
9494
var directories = Directory.EnumerateDirectories(pluginsDir);
95+
Console.ForegroundColor = ConsoleColor.Red;
96+
Console.WriteLine("RUNNING IN DEBUG MODE!");
9597
foreach (var directory in directories)
9698
{
9799
List<string> pluginList;
98100

99101
//#if DEBUG
100-
Console.ForegroundColor = ConsoleColor.Red;
101-
Console.WriteLine("RUNNING IN DEBUG MODE!");
102102
pluginList = Directory.GetFiles(Path.Combine(directory, "netcoreapp2.2"))
103103
.Where(x => x.EndsWith("Pn.dll") && Path.GetFileName(x) != "eFormApi.BasePn.dll")
104104
.ToList();
@@ -109,8 +109,6 @@ public static List<IEformPlugin> GetAllPlugins()
109109
//
110110
//#endif
111111

112-
Console.ForegroundColor = ConsoleColor.Green;
113-
Console.WriteLine($"{pluginList.Count} number of plugins found");
114112

115113
foreach (var pluginFile in pluginList)
116114
{
@@ -130,13 +128,16 @@ public static List<IEformPlugin> GetAllPlugins()
130128
.GetTypes()
131129
.Where(t => typeof(IEformPlugin).IsAssignableFrom(t) && !t.IsAbstract))
132130
{
131+
Console.ForegroundColor = ConsoleColor.Green;
133132
Console.WriteLine("Found plugin : " + type.Name);
134133
var plugin = (IEformPlugin) Activator.CreateInstance(type);
135134
plugins.Add(plugin);
136135

137136
}
138137
}
139138
}
139+
Console.ForegroundColor = ConsoleColor.Green;
140+
Console.WriteLine($"{plugins.Count} number of plugins found");
140141

141142
Console.ForegroundColor = ConsoleColor.Gray;
142143
return plugins;

eFormAPI/eFormAPI.Web/eFormAPI.Web.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
<PackageReference Include="McMaster.NETCore.Plugins" Version="0.2.1" />
3333
<PackageReference Include="OtpSharp.Core" Version="1.0.0" />
3434
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="2.2.0" />
35-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.0" />
35+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="2.2.1" />
3636
<PackageReference Include="Microsoft.AspNetCore.All" />
37-
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.0" />
37+
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="2.2.1" />
3838
</ItemGroup>
3939

4040
<ItemGroup>

0 commit comments

Comments
 (0)