Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/333.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Postsharp 6.0.28、.NET 4.7.1以及编译时出现的奇怪警告_C#_Aop_Postsharp - Fatal编程技术网

C# Postsharp 6.0.28、.NET 4.7.1以及编译时出现的奇怪警告

C# Postsharp 6.0.28、.NET 4.7.1以及编译时出现的奇怪警告,c#,aop,postsharp,C#,Aop,Postsharp,在编写我的项目期间,我面临以下警告: 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)”上存在冲突的方面: 转换“Mod

在编写我的项目期间,我面临以下警告:

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,OnExit包装”和“Model.Helper.MiniProfilerStepAttribute:由通知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:由通知包装,onetry,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:由通知包装,onetry,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:


这意味着什么以及如何避免它在将来出现?

这意味着您在BusinessLayer.BOMnt.GetAllTimerServices上有两个MiniProfilerStepAttribute实例。

我们没有您的代码。您正在寻求的其他帮助(您可以合理地从互联网上的陌生人那里得到)中有哪些信息尚未提供给您?可能有重复的