Reputation: 47
I am using fody and methodboundaryaspect.fody in this class as NuGet references. The references are installed properly but here it says that it can not find "OnMethodBoundaryAspect" which is part of MethodBoundaryAspect. Does anyone faced a similar issue before?
I already tried: Uninstall/install, reopen VS, restore NuGet packages,Update-Package -reinstall, clear NuGet cache, but nothing worked out.
Upvotes: 0
Views: 106
Reputation: 23715
I am using fody and methodboundaryaspect.fody in this class as NuGet references. The references are installed properly but here it says that it can not find "OnMethodBoundaryAspect" which is part of MethodBoundaryAspect.
As for me, if I install this package in a net framework 4.7.2 project, all works well and do not face the errors as you said. So l am afraid that there is something wrong with your project or VS Environment.
Please try these:
1) close VS Instance, delete .vs
(hidden folder), obj
,bin
folder under the solution and then restart your project again.
2) disable any third party extensions under Tools
-->Extensions and Updates
or just use devenv /safemode(start VS) to test whetehr it is caused by any third party extensions or other packages.
3) Or just create a new empty c# project and then install this package again to test. If it still gets error, please repair your VS. Besides, if your VS is not the latest version, please update it to the latest version.
Hope it could help you.
Upvotes: 1