-
June 12th, 2011, 05:50 PM
#1
clr-namespace and loadFromResource
Hello everyone!!
I made a WPF example with a class in a .cs file... I am using a namespace CurrentProject {...} but when I add in MainWindow1.xaml this: xmlns:local="clr-namespace:CurrentProject", VisualStudio 10 gives out an error as "Unable to load metadata for assembly "CurrentProject"... so I tried to add in devenv.exe.config this: <loadFromResource enable="true"/> but it didn't change anything.... so I am here asking you: is there a possible solution? or at least is there an alternative to use namespaces instead of clr-namespace so I can call classes from every .cs file?
Thanks a lot in advance to all!!! :-))))))
Luigi
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|