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. A weird WPF build-time error [modified]

A weird WPF build-time error [modified]

Scheduled Pinned Locked Moved WPF
csharphelpwpfdotnetvisual-studio
1 Posts 1 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.
  • M Offline
    M Offline
    makumazan84
    wrote on last edited by
    #1

    I have a xaml file, which has a codeline, something like. xmlns:a="http://schemas.someadress.com/bla/bla/bla" - the name is defined in an assembly which contains that desired namespace. Above mentioned namespace contains a class, that I'd like to use in my xaml. But I cannot build the project with this file, bc Visual Studio throws me an error "The tag '' doesn't exist in a namespace "http://schemas.someadress.com/bla/bla/bla" Line A Position B" Interesting enough, that the intellisence can see that class in "a:" - when I start typing it pops up the class that I need. Adress "http://schemas.someadress.com/bla/bla/bla" is correct - I've copypasted it from an assemblyinfo. Besides, other xaml files in a project can perfectly use that specific class from that assembly. Note, that this question comes from a WPF noobie, and can sound dumb. Still, I've spent more than an hour and ran out of ideas. Any help will be greatly appreciated. Thanks in advance ------------ UPDATE: I got this one figured. The problem was that the project's compilation settings were set for .NET Framework 4.0 Client Profile. Once I switched to a regular 4.0, everything got fixed

    modified on Friday, July 23, 2010 9:12 AM

    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