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

swift - Button on Table View Cell connected to local function -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

c# - ajax - How to receive data both html and json from server? -