How to add a WPF control library template to Visual C# Express 2008
Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio
Visual C# Express 2008 does not come with a project template for creating custom controls (.dll files). You can create your own template by following these steps:
1. Open Visual C# Express 2008.
2. Create New WPF Application with the name: MyLibrary
3. From the Project menu select Add User Control. Click on Add
4. Close any windows to do with window1.xaml.
5. In Solution Explorer, Delete Window1.xaml and App.xaml (the corresponding .cs files should be deleted by this step)
6. From the Project menu select MyLibrary Properties.
7. In the Application tab set the Output Type to Class Library.
8. Build the Solution. There should be no errors and the bin/Release folder should have a MyLibrary.dll file
9. From the File menu select Export Template.
10. Select Project Template then Next
11. Under Template Options change the name to WPF Control Library and the Description to Create WPF Control .dll. Click on Finish.
12. Close C# Express 2008.
The next time you open Visual C# Express, you will find your newly created template ready to use.
|



