Udostępnij za pośrednictwem


Feature Builder for VS2010 FAQ

Q: #1 What do I need to have installed to use Feature Builder?

A: Visual Studio 2010 Ultimate Edition Release Candidate, the Visual Studio SDK for RC


Q: #2 What do users need to run my Feature Extension?

A: If it is an Ultimate Feature Extension, then VS2010 Ultimate Edition is required.  If it is not an Ultimate Feature Extension, then it will run on Visual Studio 2010 Professional Edition Release Candidate or Visual Studio 2010 Premium Edition Release Candidate.  In either case, your users will *not* need the Feature Builder.  The Feature Extension runtime library that supports all feature extensions is included in your VSIX and will be automatically installed if necessary.


Q: #3 Will Feature Builder work on Visual Studio 2010 RTM SKUs?

A: The Feature Builder Preview has been certified only for VS2010 Release Candidate.  Use on RTM at your own risk and without support.  You will see this dialog when you start Visual Studio:

clip_image001


Q: #4 Is the Visual Studio SDK required to use Feature Extensions I build?

A: No.


Q: #5 When trying to run a Feature Extension I get the following dialog. What do I do?

clip_image002

A: The Feature Extension Runtime is not enabled.  Open the Extension Manager (Tools à Extension Manager) and click on the Feature Extension Runtime and if the button that appears says “Enable”, click on it and restart Visual Studio.


Q: #6 Is the Feature Builder Preview supported on Windows XP and Windows Server 2003?

A: In order to run Feature Builder on either XP or Server 2003 you must create an environment variable named LocalAppData (set by default on Windows Vista and Windows 7). 

How to Add LOCALAPPDATA variable in Windows XP

o Right-click on the My Computer icon and choose Properties

o Click Advanced

o Click Environment Variables

o Under User variables section, click New

o In the Variable name: field, type LOCALAPPDATA

o In the Variable value: field, type %USERPROFILE%\Local Settings\Application Data

clip_image003


Q: #7 When trying to debug my Feature Extension I get the following dialog. What do I do?

clip_image004

A: This means you have either not copied the Feature Extension Runtime to the LocalAppData store for Experimental Instance or the Feature Extension Runtime is disabled.  Open your Feature Builder solution and follow the steps found in the guidance for Authoring Feature Extensions.

Q: #8When running my Feature Extension, my menu items do not appear. What went wrong?

A: There are two possibilities.

1. Your VS Launch Point is connected to an action in the "Map" and that action is not in the "ready" state as denoted by the green circle next to that action in the Guidance Workflow Explorer.

2. You have encountered a condition in which the menu data in your VSIX is out-of-sync with the data in the registry installed by the behind-the-scenes build process for VSIX packages.

To fix this rarely occurring issue follow these two steps:

a. Open the Feature.commands document, right click on the designer surface and select Generate Commands Binding and Launch Point Code

b. Right click on the topmost node in your solution and select Clean Solution from the context menu.

c. Build and try again.