After you install the updated template, the updated template appears in the New Project dialog box in the My Templates section. This section is located under the Visual Studio installed templates section.
- Under Error List, double-click the error message that the "Symptoms" section describes. The Mywpfextension.vb file opens.
- Locate the following line of code:
- Modify the code in step 2 as follows:
Return CType(Global.System.Windows.Application.Current, Application)
- Build the project again.
Article ID: 945756 - Last Review: Mar 29, 2017 - Revision: 3