我在编译项目时遇到以下警告:
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:由OnEntry通知包装”和“ Model.Helper.MiniProfilerStepAttribute:由OnEntry通知包装”不是可交换的,但它们的顺序不严格。他们的执行顺序不确定。 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:标记在(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:标记在(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 = {等于“ Model.Helper.MiniProfilerStepAttribute:标记之前(1)“} 6> C:\ prj \ InternalWSvc \ development \ BusinessLayer \ BOMnt.cs(39,31,39,50):消息PS0124:Action = Order,Position = Before,Condition = {等于“ Model.Helper.MiniProfilerStepAttribute:标记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 = {等于“ Model.Helper.MiniProfilerStepAttribute:标记之前(0)“} 6> C:\ prj \ InternalWSvc \ development \ BusinessLayer \ BOMnt.cs(39,31,39,50):消息PS0124:Action = Order,Position = Before,Condition = {等于“ Model.Helper.MiniProfilerStepAttribute:标记AFTER (0)“} 6> C:\ prj \ InternalWSvc \ development \ BusinessLayer \ BOMnt.cs(39,31,39,50):消息PS0124:Model.Helper.MiniProfilerStepAttribute:标记后(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:标记后(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:。
这是什么意思,以及如何避免将来出现?
答案 0 :(得分:2)
这意味着您在BusinessLayer.BOMnt.GetAllTimerServices上有两个MiniProfilerStepAttribute实例。