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. Strange Compile error , my Project Assemby cannot be found

Strange Compile error , my Project Assemby cannot be found

Scheduled Pinned Locked Moved WPF
wpfcsharpdotnethelp
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.
  • C Offline
    C Offline
    cppwxwidgetsss
    wrote on last edited by
    #1

    Error 2 Assembly 'lab1' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. D:\wpf\lab1\lab1\Window1.xaml 4 18 lab1 I am using the following code in order to use my user control in my project but the error mentioned before occurs : xmlns:local= "clr-namespace:lab1" PS: my Project and also Solution Name is lab1 so i am referencing to my project please tell me what should I do, thank you

    L 1 Reply Last reply
    0
    • C cppwxwidgetsss

      Error 2 Assembly 'lab1' was not found. Verify that you are not missing an assembly reference. Also, verify that your project and all referenced assemblies have been built. D:\wpf\lab1\lab1\Window1.xaml 4 18 lab1 I am using the following code in order to use my user control in my project but the error mentioned before occurs : xmlns:local= "clr-namespace:lab1" PS: my Project and also Solution Name is lab1 so i am referencing to my project please tell me what should I do, thank you

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      cppwxwidgetsss wrote:

      xmlns:local= "clr-namespace:lab1"

      This may be a stupid question, and if so, I apologise. The statement above states that any future references in this XAML to 'local' are taken to refer to items in the 'lab1' namespace of this project. Are you sure the namespace is the same in your .cs files?

      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