Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. WPF
  4. Error:Assembly '' was not found in Custom Control(WPF)

Error:Assembly '' was not found in Custom Control(WPF)

Scheduled Pinned Locked Moved WPF
csharpwpfhelpdotnetvisual-studio
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bruze
    wrote on last edited by
    #1

    Can any one help I have tried, Create one Custom Control using Custom Control(WPF) in visual studio 2005 and .net 3.0, MyCustomButton

    ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:MyCustomButton"

    but I got the default error and can not open the Design Page. Error: Assembly '' was not found. The 'clr-namespace' URI refers to an assembly that is not referenced by the project.

    P 1 Reply Last reply
    0
    • B bruze

      Can any one help I have tried, Create one Custom Control using Custom Control(WPF) in visual studio 2005 and .net 3.0, MyCustomButton

      ResourceDictionary
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:local="clr-namespace:MyCustomButton"

      but I got the default error and can not open the Design Page. Error: Assembly '' was not found. The 'clr-namespace' URI refers to an assembly that is not referenced by the project.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      Either MyCustomButton is in an external reference which you need to add into your project and reference using the assembly syntax at the end or, if the button is in your project, it hasn't successfully built - and so, won't appear.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups