【发布时间】:2019-03-24 01:38:19
【问题描述】:
我在项目编译过程中遇到以下警告:
6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50):警告 PS0114: “BusinessLayer.BOMnt.GetAllTimerServices(System.Nullable, System.Nullable, System.Boolean, System.Boolean, System.String, System.Nullable)”的冲突方面: 转换“Model.Helper.MiniProfilerStepAttribute: Wrapped by advice(s) OnEntry, OnExit”和“Model.Helper.MiniProfilerStepAttribute: Wrapped by advice(s) OnEntry, OnExit”不是可交换的,但它们不是强排序的。他们的执行顺序是不确定的。 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: 先前警告的依赖关系详情: 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Model.Helper.MiniProfilerStepAttribute: Marker BEFORE (0): 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50):消息PS0124:(无依赖关系) 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Model.Helper.MiniProfilerStepAttribute: Marker BEFORE (1): 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50):消息PS0124:(无依赖关系) 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Model.Helper.MiniProfilerStepAttribute: 由通知包裹 OnEntry, OnExit: 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Action=Order, Position=After, Condition={equals "Model.Helper.MiniProfilerStepAttribute: Marker BEFORE (1)"} 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Action=Order, Position=Before, Condition={equals "Model.Helper.MiniProfilerStepAttribute: Marker AFTER (1)"} 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Model.Helper.MiniProfilerStepAttribute: 由通知包裹 OnEntry, OnExit: 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Action=Order, Position=After, Condition={equals "Model.Helper.MiniProfilerStepAttribute: Marker BEFORE (0)"} 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Action=Order, Position=Before, Condition={equals "Model.Helper.MiniProfilerStepAttribute: Marker AFTER (0)"} 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Model.Helper.MiniProfilerStepAttribute: Marker AFTER (0): 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50):消息PS0124:(无依赖关系) 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: Model.Helper.MiniProfilerStepAttribute: Marker AFTER (1): 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50):消息PS0124:(无依赖关系) 6>C:\prj\InternalWSvc\development\BusinessLayer\BOMnt.cs(39,31,39,50): 消息 PS0124: .
这是什么意思,以后如何避免它的出现?
【问题讨论】:
-
我们没有您的代码。您还在寻求哪些其他帮助(您可以合理地期望从互联网上的陌生人那里得到)消息尚未提供给您的其他帮助?