xaml - WPF Could not load file or assembly or one of it's dependencies -


description image

i error @ design-time.

at runtime works fine. there absolutely nothing wrong i-synergy.resources class library.

i've searched error intensively no solution.

(already tried:

  • reset settings vs
  • clear , rebuild solution
  • delete obj , bin folders
  • checked references , dependencies
  • converted pcl regular class library

)

as know, there lot of questions regarding notorious "could not load file or assembly" error many times creeping our xaml designer. after reading provided solutions, , sadly non of them working me, started investigate annoying issue. spend 4 days trying figure out. luckily today found answer problem.

in solution design created several projects under wpf application called i-synergy. among others added assemblies named i-synergy.controls , i-synergy.resources (where put resource strings, static classes , images). last assembly seems caused error. don't have resouces file (or other local reference inside wpf application) somehow got confused i-synergy.resources project.

solution: changed i-synergy.resources project i-synergy.library (assembly name , namespaces) , error has gone. "resources" name no-go , can considered reserved word.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -