WebApi/Gs.Toolbox/ApiCore/Common/Mvc/CustomControllerFeatureProvider.cs
@@ -66,6 +66,8 @@ assembly.FullName.Contains("Swashbuckle")) return; //递归获取controller try { var assTemp = Assembly.Load(assembly); assTemp.GetTypes().ToList().ForEach(type => { @@ -75,6 +77,14 @@ }); var a = assTemp.GetReferencedAssemblies(); AddController(feature, a); } catch (Exception) { } }); }