I am using Visual Studio Express to create a Phone 7 application. I created a new c# class inside the project and now I want to just reference to it to add it as a Resource in the Main.xaml page.
So I am not sure how to reference it.
It seems to me that I would have to add that class to the namespace declarations but I can't find any documentation that talks about how to reference a new class created inside the project. The documentation only talks about how to add external classes packed in a *.dll.
Can someone please point me to documentation that tells you how to reference a new created local class or how to do it?
- Moved by CoolDadTxMVP Wednesday, June 01, 2011 2:08 PM WPF related (From:Visual C# IDE)
Hope the document Miguel referred helps you. If you still have any problem, please let me know.
Yves Zhang [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.