VSX Community Letter for April 2008

This month's letter includes a summary of what our plans are for upcoming new versions of the VS SDK, the updated VSX developer center, information about what the VSX team has been working on in the past few months, event news on VSX, some new VSX projects released, more VSX content online, and a preview of what's coming next month.

What's new with the VSX team

Our team continues to work on upcoming releases of the Visual Studio SDK for VS 2008 as well as planning around the next version of Visual Studio. Our current plan is to release a CTP beta version of an updated VS SDK for VS 2008 sometime in May, followed by a finalized version of this next revision update later this year. This updated version of the VS SDK will contain various bug fixes and enhancements along with a small set of features targeting customer pain points. In parallel with this, we are also working on a new major version of the VS SDK that is targeted for CTP beta sometime next year, and this new major release will include many new features and functionary for extending VS, including what we call tools for tools.

For some additional discussion on what we have planned around future releases of the VS SDK, check out my video interview:
Quan To talks about VS SDK development and releases.

Jean-Marc Prieur joins VSX team!

Check out
Jean-Marc Prieur's blog. Jean-Marc was an MVP located in France, and he has joined Microsoft on the VS Ecosystem team, he will work out of our Cambridge, UK offices. Jean-Marc worked on DSLFactory.org, check out his blog post about it Some of DslFactory's work explained : (1/4) the VSX Day. Here is Jean-Marc's bio:

After studies in Ecole Superieure d'Electricite (Supelec), and a Master of Science at Caltech (mainly studying concurrent computing and computational neural systems), I got passionate about software modeling, more specifically graphical software modeling, meta-modeling. I was a passionate early adopter of DSL Tools, and had the chance to be technical reviewer the DSL book by Steve, Stuart, Gareth, and Allan. With a few friends, we created the French http://www.dslfactory.org community at the origin of several labs, workshops on DSL Tools, and a VSX Day in Paris. I joined the Cambridge Visual Studio Ecosystem in March 2008 as a Program Manager, and I will work with the VSX team in adding new features to DSL Tools and enhancing the Visual Studio SDK.

Visual Studio Gallery extension listings

The number of listings on
Visual Studio Gallery continues to increase, now at 567 total as of today. We have new features coming to the site in a few months, including RSS feed, tagging, ratings, comments, and more.

VSX Developer Center updated

The Visual Studio Extensibility Developer center at
http://msdn.com/vsx was updated again this month new content on the home page, including VSX team member photos, aggregated team member blog post content, and other aggregated content via RSS.

VSX FAQ Blog created for scenario based resource references

VSX (Visual Studio Extensibility) FAQ (frequently asked questions). We created a new blog for VSX FAQ topics which are scenario based More information at Welcome to the VSX FAQ blog.

VSX on Channel 9

Doug Hodges: The history of Visual Studio Extensibility
Last year I interviewed Doug Hodges, a Principal Software Architect on the Visual Studio platform team, discussing the history of the Visual Studio IDE. Doug is often referred to as the father (or cool uncle) of the original Visual Studio IDE shell. The
text transcript for this interview is available in the online edition of VSX edition of CoDe Focus magazine.

Last month we had two videos posted on
Channel 9, in case you missed them:

Channel 9: Anthony Cangialosi and Ken Levy: Visual Studio Gallery

Channel 9: Ken Levy and Aaron Marten: Visual Studio 2008 Extensibility

Community and MVP discussion on Channel 9

Sean O'Driscoll: General Manager for Community Support and the MVP Program
In this video, I interview
Sean O'Driscoll discussing the history, current state, and future of Microsoft MVPs and the MVP Program.

New "How Do I?" Videos for Visual Studio Extensibility

There are several new How Do I videos on VSX published, and you can subscribe to the "RSS feed for "How Do I?" videos for VS and VSX. These are great videos created by VSX developers Hilton Giesenow and Dylan Miles. We now have 34 How-Do-I videos on VSX as of today.

Tutorial for creating a simple managed project system in Visual Studio

Our VSX UE (User Education) team has posted a detailed tutorial,
Tutorial: A Simple Managed Project System, on their blog on creating a new managed project system using the VS SDK for VS 2008. This is the first in a series of tutorials from our VSX UE team explaining how to create and expand a Visual Studio project system.

More articles on LearnVSXNow!

István Novák continues his awesome series of VSX related educational content he calls LearnVSXNow!. I had great chat with Istvan during dinner a few nights ago, as he is here in Seattle this week for the annual MVP Summit event.

VSX at events

Both
Anthony Cangialosi and Gareth Jones spoke on VSX (including DSL tools) at VSLive conference recently. Some of our team members including Quan To will be at TechEd in June, while I may be doing a VSX community tour around part of Europe in late May and early June (stay tuned more details on locations and dates).

VS extension tip of the month

We recently posted
PowerCommands 1.1 for Visual Studio 2008, an enhanced version over the initial 1.0 version. On the day it was released, Scott Guthrie blogged about PowerCommands. As of later today or tomorrow, the download count for PowerCommands will pass 10,000. Check out the post PowerCommands 1.1 released for additional details about what is new in version 1.1. Another post to read about it is Pablo Galiano's blog about PowerCommands 1.1, he is the vendor developer we had create PowerCommands.

Additional VS extensions and VS SDK tools released

Here are some additional VSX related releases in the past month:

New version of T4 Editor coming soon from Clarius

The T4 Editor by
Clarius Consulting can be found at http://www.t4editor.net/. Victor Aprea of Clarius blogged about their new version currently in development: T4 Editor: some teasing pictures!

We're receiving emails everyday asking us about the status of the T4 Editor. The news is we're still working on it and we're making some great progress! Just so you can check the wait is being worth it, I'm posting here a few screenshots that showcase the main feature we're working on, which is full support for embedded code blocks, that is, the same great support you get today from the ASP.NET editor when embedding C# or VB code.

Next month

In next month's letter, we will have more news from the team, additional VSX content online, and additional information about our next version of the VS SDK for VS 2008.

Please send your feedback to us via the Contact link on any of our team member blogs, or post a technical question in the
MSDN Forum for VSX. You can also email me directly at klevy@microsoft.com or using the Email link on my blog.

Ken Levy
Program Manager
Visual Studio Tools Ecosystem
Microsoft
http://blogs.msdn.com/klevy
http://msdn.com/vsx

Channel 9: Doug Hodges talks about the history of the VSX
Doug Hodges: The history of Visual Studio Extensibility

Doug Hodges, a Principle Software Architect on the Visual Studio platform team, is interviewed by Ken Levy discussing the history of the Visual Studio IDE. Doug is often referred to as the father (or cool uncle) of the original Visual Studio IDE shell. The text transcript for this interview is available in the online edition of VSX edition of CoDe Focus magazine. Additional information about the VS SDK and VS Shell can be found at http://msdn.com/vsx.

PowerCommands 1.1 released
PowerCommands 1.1 for Visual Studio 2008 is now available for free download, along with the updated source code and enhanced readme document.

The shortcut URL for this project is
http://code.msdn.com/PowerCommands.

For some additional information about PowerCommands, refer to the original blog post announcing version 1.0:
PowerCommands for Visual Studio 2008 released

Earlier today, Scott Guthrie blogged about it: April 11th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight

PowerCommands for Visual Studio 2008: A free set of useful extensions for VS 2008 that add a bunch of cool features to the IDE.

One of the new features in version 1.1 is Enable/Disable of each power command via the Options dialog. This new feature was actually the idea of a developer who downloaded version 1.0 and then posted this new feature suggestion in the Issue Tracker section of the Code Gallery project.

Below is a list of the new commands in version 1.1 (now 23 commands total):

Enable/Disable PowerCommands in Options dialog
This feature allows you to select which commands to enable in the Visual Studio IDE. Point to the Tools menu, then click Options. Expand the PowerCommands options, then click Commands. Check the commands you would like to enable.

Format document on save / Remove and Sort Usings on save
The Format document on save option formats the tabs, spaces, and so on of the document being saved. It is equivalent to pointing to the Edit menu, clicking Advanced, and then clicking Format Document. The Remove and sort usings option removes unused using statements and sorts the remaining using statements in the document being saved.

Clear All Panes
This command clears all output panes. It can be executed from the button on the toolbar of the Output window.

Copy Path
This command copies the full path of the currently selected item to the clipboard. It can be executed by right-clicking one of these nodes in the Solution Explorer:
The solution node; A project node; Any project item node; Any folder.

Email CodeSnippet
To email the lines of text you select in the code editor, right-click anywhere in the editor and then click Email CodeSnippet.

Insert Guid Attribute
This command adds a Guid attribute to a selected class. From the code editor, right-click anywhere within the class definition, then click Insert Guid Attribute.

Show All Files
This command shows the hidden files in all projects displayed in the Solution Explorer when the solution node is selected. It enhances the Show All Files button, which normally shows only the hidden files in the selected project node.

Undo Close
This command reopens a closed document , returning the cursor to its last position. To reopen the most recently closed document, point to the Edit menu, then click Undo Close. Alternately, you can use the CtrlShiftZ shortcut.
To reopen any other recently closed document, point to the View menu, click Other Windows, and then click Undo Close Window. The Undo Close window appears, typically next to the Output window. Double-click any document in the list to reopen it.

Quan To talks about VS SDK development and releases
Quan To (VS SDK program manager) on the Microsoft VSX Team, talks to Ken Levy (community program manager) about the development and release details that go into the SDK for Visual Studio 2008. Discussion includes short and long term plans about future versions of the VS SDK. For more information about the VS SDK, visit the VSX Dev Center at http://msdn.com/vsx.


Video: Quan To talks about Visual Studio SDK development and releases
LinqToCodeModel sample class library on Code Gallery

LinqToCodeModel is now on available on Code Gallery. LinqToCodeModel, created by Pablo Galiano of Clarius, is a sample library on top of the Visual Studio API class: EnvDTE.FileCodeModel. LinqToCodeModel provides LINQ queries and functionality for the FileCodeModel object, and will work when using the DTE FileCodeModel object within Packages via the VS SDK or within Add-ins.

Pablo also included screencast video (WMV) download on the Code Gallery page as an overview demo of LinqToCodeModel.

To show a simple sample of LinqToCodeModel in action, there is an updated version of SourceCodeOutliner Lite, a modified version of The Source Code Outliner Lite walkthrough based on Quan To's blog post
Building your own Visual Studio Source Code Outliner extension.

Posted 02 April 08 12:31 by vsxteam | 0 Comments   
Filed under ,
IronPython Studio 1.0 for Isolated and Integrated VS Shell

There is now an integrated VS Shell version of IronPython Studio free for download and installation to go along with isolated version. The version has also changed from CTP mode to version 1.0. Applications using the isolated version of the VS Shell runtime allow the application to be installed and run if there is no version of VS installed, and will still run stand-alone when there is a version of VS installed. Integrated applications for the VS Shell, like the new additional version of IronPython Studio, allow the application to run stand-alone with there is no version of VS installed, but run side by side within VS when a copy of VS installed before or after.

So the developer who would probably want to install the isolated version of IronPython Studio does not have VS and does not plan to install VS or wants it to run stand-alone independent of VS. The developer who would prefer the new integrated version of IronPython Studio has VS installed or plans to install VS and wants IronPython to run side by side within their installation of VS rather than as a stand-alone shell application.

For more information about the VS Shell, visit the
http://msdn.com/vsx developer center. For more information about IronPython Studio, check out the CodePlex page it is hosted on and the previous blog post here: IronPython Studio for VS 2008 Shell released

IronPython Studio is now available as free download. Working with the VSX team at Microsoft, Pablo Galiano of Clarius Consulting released IronPython Studio for developing Python applications. The free VS SDK includes a sample application called IronPython, a full integration of the IronPython language, IntelliSense, compiler, debugging, etc. integrated into Visual Studio. While the IronPython sample application is free within the VS SDK, the VS SDK does require VS Standard or above. This new IronPython Studio download is free and does not require any version of Visual Studio to install, it only requires the free VS 2008 Shell (isolated mode) runtime installation as well as the 1MB IronPython Setup installation. There are screenshots on the CodePlex project home page, and Pablo also created a IronPython Studio screencast video demo.

Posted 31 March 08 03:12 by vsxteam | 1 Comments   
Filed under ,
VSX FAQ Blog created for scenario based resource references

We just created a new VSX related blog called the VSX FAQ blog.

We will be posting new entries and updating existing ones on the VSX FAQ blog as needed.  We have over 100 VSX FAQ topics with links already created and currently being reviewed, so expect to find many more entries posted over the upcoming weeks.

From the introduction blog post Welcome to the VSX FAQ blog:

Welcome to the VSX (Visual Studio Extensibility) FAQ (frequently asked questions) blog, a related resource to the VSX Team blog and the VSX Developer Center.

This blog is based on the concept of using a blog (including it's RSS feed) to host a scenario based technical FAQ listing with the answers being simply links to various online resources. You can subscribe to the
VSX FAQ blog RSS feed, search this blog, and filter on various topic categories.

Existing VSX FAQ blog entries will be updated as needed when new related resources are added or discovered online for relative topics. Subscribing to the RSS feed will not only assist in discovering new FAQ entries, but will also be a way of being alerted when existing FAQs have links for additional related resources.

VSX developers should feel free to post comments to any of the VSX FAQ blog entries to recommend when additional resource links should be added, or when there are issues with any of the existing links. Another option to submit feedback is to click on the
Email link on this blog's home page to send an email message directly to Ken Levy (who maintains this blog).

For additional educational content around VSX, check out the
VSXUE Team blog. The VSX UE (User Education) team is also known as the Visual Studio Tools Ecosystem Documentation team at Microsoft. Topics on the VSXUE Team blog are generally topic previews, walkthroughs, tutorials, and late-breaking documentation to supplement new releases of the Visual Studio SDK and the VSX community.

For technical questions to any VSX FAQ blog posts or for VSX technical questions in general, visit the VSX Forum. The VSX Forum discussions include the Visual Studio SDK, extending VS using DSL Tools, add-ins, and macros.

Visit the
Visual Studio Gallery to browse a showcase of free extensions and commercial products to enhance your development experience with Visual Studio.

For additional information, resources, news, and documentation related to Visual Studio extensibility including the Visual Studio SDK, visit
http://msdn.com/vsx.

VSCT PowerToy released
We have released a new utility called the VSCT PowerToy. For VSX developers who extend Visual Studio using the VS SDK, the VSCT (Visual Studio Command Table) PowerToy is a read-only viewer that you can use to explore the commands associated with a VSPackage, and with Visual Studio itself. You can quickly search for any existing commands in the Visual Studio IDE. By browsing through the command groups, GUIDs and IDs, priorities, and other properties of existing commands, you can more easily place and integrate the commands of your own VSPackage. 

  • You can load and display command tables with these file extensions: .vsct, .ctc, .cto, .ctm, and .vsk. 
  • You can examine the command table resources embedded in any VSPackage. Once loaded, command table resources can be exported as .vsct files.
  • You can see all the Visual Studio commands for any system registry hive. This is useful for placing commands on existing menus.  

VSCT PowerToy

Posted 27 March 08 04:02 by vsxteam | 0 Comments   
Filed under ,
Attachment(s): VSCTPowerToy.jpg
Tutorial for creating a simple managed project system in Visual Studio
Our VSX UE (User Education) team has posted a detailed tutorial, Tutorial: A Simple Managed Project System, on their blog on creating a new managed project system using the VS SDK for VS 2008. This is the first in a series of tutorials from our VSX UE team explaining how to create and expand a Visual Studio project system.
Posted 13 March 08 03:03 by vsxteam | 0 Comments   
Filed under ,
VSX Community Letter for March 2008
This month's letter includes a summary of our new Visual Studio Gallery website we launched a few weeks ago, the updated VSX developer center, information about what the VSX team has been working on in the past few months, event news on VSX, some new VSX projects released, more VSX content online, and a preview of what's coming next month.

What's new with the VSX team

Our team continues to work on upcoming releases of the Visual Studio SDK for VS 2008 as well as planning around the next version of Visual Studio. We have part of our team working on the next update for the VS SDK while others work on following versions that will include more tools within the VS SDK itself. Our team is working on determining when the next release of the VS SDK will be, and we expect to know more details on that next month. We are determining if we want to release an updated VS SDK soon with very small changes or wait a bit longer to release a newer VS SDK which contains more significant enhancements.

While we work on upcoming versions of the VS SDK, we are also working reducing the size of the VS Shell runtimes. One thing we plan to ship when VS 2008 Service Pack 1 ships, is to re-release the VS Shell runtimes. The new redistributable packages will not include the actual .NET Framework 3.5 installation bits. The new VS Shell chainer feature will still automatically check for the .NET Framework 3.5 and install it as needed. This will reduce the size of the VS Shell setup by about 200 MB.

Visual Studio Gallery announced

Our team is still buzzing with enthusiasm from our recent launch of the new Visual Studio Gallery website. For additional news and announcements for the Visual Studio Gallery:

Visual Studio Gallery tips

You can access the site via http://visualstudiogallery.com/, or the shorter friendly redirect http://vsgallery.com/.

Anthony Cangialosi, program manager on our VS Ecosystem team who is responsible for the Visual Studio Gallery site, has started blogging again with information and news about the new site. Recently posted on Anthony's blog was: Seeing all the VS Gallery Extensions

Just thought I would share a useful tip for the Gallery. You may find that you want to see more than the top 10 newest items or the 10 most viewed items. We'll be adding a more link to the bottom of those in the near future but in the mean time you can see this by using a trick in the search bar.

Enter a space (the actual character space with the space bar) into the search control in the upper right corner of the gallery. Then press the search button. You'll get back a list of all the extensions since all extensions will have a description with a space in it. Now sort this list by the column you are interested in, modified date, number of views, cost category, etc.

If you use the tip above and search the Visual Studio Gallery with just a single space character, you'll see we just passed 500 items listed this week, which means we are averaging about 100 new items listed on the site per week.

VSX Developer Center updated


The Visual Studio Extensibility Developer center at http://msdn.com/vsx was updated recently with a new interface similar to the one found on the VB and C# dev centers, and others. The site now has its own stand-alone center with independent navigation pages on VSX via the tabbed navigation (Library, Learn, Downloads, Support, Community). There will be additional enhancements to the site soon along with upcoming new VSX content like whitepapers, videos, samples, and more.

VSX on Channel 9

Late last month we had two videos posted on Channel 9, both interviews by Dan Fernandez:

Channel 9: Anthony Cangialosi and Ken Levy: Visual Studio Gallery

I catch up with Anthony Cangialosi and Ken Levy from the Visual Studio Extensibility team to talk about the newly launched site for finding Visual Studio extensions, www.visualstudiogallery.com. You'll also see Ken walk through using two cool, free extensions that you can download from the gallery, StickyNotes and the Source Code Outliner PowerToy.

Channel 9: Ken Levy and Aaron Marten: Visual Studio 2008 Extensibility

Ken and Aaron talk about the new features for extensibility in Visual Studio 2008 and the Visual Studio 2008 SDK including touching on key topics like:
- How you can build your own IDE with the Visual Studio Shell
- How you could create your own language service using Babel
- How to plug into editor features like IntelliSense for statement completion
- How to build your own "Hello World" tool Window

New "How Do I?" Videos for Visual Studio Extensibility

There are many new How Do I videos on VSX published, and you can subscribe to the "RSS feed for "How Do I?" videos for VS and VSX. These are great videos created by VSX developers Hilton Giesenow and Dylan Miles.

New articles on LearnVSXNow!

István Novák continues his awesome series of VSX related educational content he calls LearnVSXNow!, now with 15 VSX technical articles posted with more great educational content on the way.

DreamSpark provides Microsoft developers tools to students for free

The new Microsoft DreamSpark combined with our free Visual Studio SDK opens the door for many students to learn, use, and extend Visual Studio for free. Some additional comments from our team in Aaron Marten's blog: FREE Visual Studio 2008 for College Students via DreamSpark.

Upgrading VS 2005 Packages to VS 2008

If you have created packages using the VS SDK for VS SDK 2005 and have or plan to start using the VS SDK for VS 2008, check out James Lau's blog post: Upgrading VS 2005 Packages to VS 2008: A more Advanced Guide.

VSX at events

Earlier this week, Quan To and I spoke at the local .NET Developers Association user group on VSX: Extend Your Visual Studio Development Experience. The session lasted over an hour and a half we counted 59 attendees total. Quan showed how create a simple source code outliner extensions using the VS SDK. Quan has a link to the walkthrough steps for that demo and a short summary of our presentation in his blog post: VSX Talk at the .NET Developer Association weekly meeting.

If you plan to give a VSX related presentation at a conference or user group, feel free to let me know in advance so that I might mention here on the VSX team blog to help increase awareness.

VS extension tips of the month

We posted a new PowerToy called PowerCommands for Visual Studio 2008, and it's already the #1 most viewed listing on the Visual Studio Gallery and the #1 download on MSDN Code Gallery (not including documentation downloads).  If you downloaded the PowerCommands readme prior today, you may want to check out the updated version of the readme on the download page. The new PowerCommands utility along with Source Outliner PowerToy is a Visual Studio 2008 and StickyNotes, all ranked as the top 3 most viewed listings on the Visual Studio as of today, all make great complementary free VS IDE productivity tools.

As of today, the PowerCommands has over 5000 unique views on the Visual Studio Gallery and over 4000 downloads from MSDN Code Gallery. Feel free to post messages in the Discussions or Issue Tracker pages of the Code Gallery page to provide feedback for possible updates and future versions of PowerCommands.

Next month

In next month's letter, we will have more news from the team, additional VSX content online, and additional information about our upcoming version of the VS SDK for VS 2008.

Please send your feedback to us via the Contact link on any of our team member blogs, or post a technical question in the MSDN Forum for VSX. You can also email me directly at klevy@microsoft.com or using the Email link on my blog.

Ken Levy
Program Manager
Visual Studio Tools Ecosystem
Microsoft
http://blogs.msdn.com/klevy
http://msdn.com/vsx

PowerCommands for Visual Studio 2008 released
PowerCommands for Visual Studio 2008 is now available for free download, along with source code and a readme document. PowerCommands, is a set of useful extensions for the Visual Studio 2008 adding additional functionality to various areas of the IDE.

The source code, which requires the VS SDK for VS 2008 installed, can be used to modify the exisitng PowerCommands functionality or to use as a reference sample for creating additional custom menu extensions.

PowerCommands is the type of extension for Visual Studio that contains additional command menu functions for the VS IDE that most VS developers would use regularly. Some of these cool menu commands are being considered for new IDE features in the next version of Visual Studio. PowerCommands makes a great complementary PowerToy utility to both StickyNotes and the Source Code Outliner PowerToy.

PowerCommands.jpg

Below is a list of the included in PowerCommands for Visual Studio 2008 version 1.0. Refer to the Readme document which includes many additional screenshots.

Collapse Projects
This command collapses a hierarchy in the solution explorer starting from the root selected node. It can be executed from three different places: solution, solution folders and project nodes respectively.

Copy Class
This command copies a selected class entire content to the clipboard. It can be executed from a single project item or a project item with dependent sub items.

Paste Class
This command pastes a class entire content from the clipboard. It can be executed from a project or folder node.

Copy References
This command copies a reference or set of references to the clipboard. It can be executed from the references node, a single reference node or set of reference nodes.

Paste References
This command pastes a reference or set of references from the clipboard. It can be executed from different places depending on the type of project. For CSharp projects it can be executed from the references node. For Visual Basic and Website projects it can be executed from the project node.

Copy As Project Reference
This command copies a project as a project reference to the clipboard. It can be executed from a project node.

Edit Project File
This command opens the MSBuild project file for a selected project inside Visual Studio. It can be executed from a project node.

Open Containing Folder
This command opens a Windows Explorer window pointing to the physical path of a selected item. It can be executed from a project item node

Open Command Prompt
This command opens a Visual Studio command prompt pointing to the physical path of a selected item. It can be executed from four different places: solution, project, folder and project item nodes respectively.

Unload Projects
This command unloads all projects in a solution. It can be executed from the solution node.

Reload Projects
This command reloads all unloaded projects in a solution. It can be executed from the solution node.

Remove and Sort Usings
This command removes and sort using statements for all classes given a project. It can be executed from a solution node or a single project node.
Note: The Remove and Sort Usings feature is only available for C# projects since the C# editor implements this feature as a command in the C# editor (which this command calls for each .cs file in the project). The Visual Basic IDE implements this functionality for Imports in an interactive way: Project properties, go to the References tab, then click the Unused References... button, then select which references you want removed via a listbox.

Extract Constant
This command creates a constant definition statement for a selected text. It can be executed from the code window over a selected text.

Clear Recent File List
This command clears the Visual Studio recent file list.

Clear Recent Project List
This command clears the Visual Studio recent project list.

Transform Templates
This command executes the associated custom tool with text templates items. It can be executed from a DSL project node or a folder node.

Close All
This command closes all documents. It can be executed from a document tab.
Visual Studio Gallery announced
The Microsoft Visual Studio Ecosystem team has officially launched the new Visual Studio Gallery site at http://visualstudiogallery.com/. This new web site is a resource center for all Visual Studio extensions and includes everything from free VS PowerToys like tools to VSIP products. Any developer can post information and a link for their Visual Studio extensions. Our goal for this website is to give developers an easy way to find extensions for Visual Studio. Visual Studio extensions might include products and free applications in the form of macros, add-ins, packages, project templates, or other types of extensions to Visual Studio that are packaged up and ready to use by the developer to improve their development experience.

We would like to invite you to publish your VS extension(s) on the Visual Studio Gallery. You can just go to the website, click on the "My Account" link near the top right and sign in with your Windows Live ID to start the process. We currently do not host the actual extensions, so you can simply link to where your extension is currently hosted.

Soma blogged about the Visual Studio Gallery, he is our senior vice president for the developer division. His post includes additional details for our Visual Studio Gallery announcement today. 

Also just released is a new Channel 9 video with discussions and demos: Channel 9 - Anthony Cangialosi and Ken Levy: Visual Studio Gallery

Feel free to contact me directly at klevy@microsoft.com with feedback you have on for the Visual Studio Gallery website, and be sure to include Anthony Cangialosi at anthc@microsoft.com as he is our team's program manager responsible for the Visual Studio Gallery site. We look forward to community members and partners participating in building on the Visual Studio platform resulting in an increasing list of extensions that play an important part in the overall Visual Studio ecosystem.

For more information about VSX, visit the newly updated Visual Studio Extensibility Developer Center at http://msdn.com/vsx.
VSX Developer Center 2.0
The Visual Studio Extensibility Developer center at http://msdn.com/vsx has been updated with a new interface. The site now has its own stand-alone center with independent navigation pages on VSX via the tabbed navigation (Library, Learn, Downloads, Support, Community). There will be additional enhancements to the site soon along with upcoming new VSX content like whitepapers, videos, samples, and more.

The current plan is to have news about new content posted to the VSX dev center announced here on the VSX team blog, thus requiring only one RSS feed (this blog) to subscribe to for news, new content, etc. for VSX including the dev center. Feel free to provide feedback on what additional content could be linked to that exists as well as what type of new VSX content you would like to see added in the future.
VSX Community Letter for February 2008
This month's letter includes information about what the VSX team has been working on in the past few months, event news on VSX, some new VSX projects released, more VSX content online, and a preview of what's coming next month.

What's new with the VSX team

Our team continues to work on the next release of the Visual Studio SDK for VS 2008 as well as planning around the next version of Visual Studio. For some recent important technical news for the current VS SDK version, check out Known Issues for Microsoft Visual Studio 2008 SDK 1.0. For our future VS SDK versions, we will be using a much more model/designer driven approach to creating VS extensions. We will post more details about that once we get farther along in our design and planning process.

We will have some significant news around VSX and VS extensions to announce later this month, so stay tuned to our team blog here and the March community letter next month to summarize the various details.

VSX team member blogs

Below is a list of our various team member blogs, and also check out Terry Clancy's blog focused on VSIP and VSTS related topics.

VSX Webcasts online

We have three new VSX related MSDN webcasts now online from the VSX team, see VSX webcasts available on demand: VSX, VS Shell, and DSL Tools. You can watch online or download the video, each are about one hour long.

We have also posted many full webcasts from presentations from our team at recent events including our VSIP Summit conference and TechEd Europe a few months ago. We will have a formal place for these video downloads on the msdn.com/vsx developer center later this month when we launch our new and improved VSX developer center. Note: You can launch these files by clicking on the link or right click on the link and select Save Target As... to download the WMV file locally.

VSX at events

In January, some of our team members (Anthony Cangialosi, Quan To, and I) presented a VSX session at the Seattle Code Camp on January 26-27 in Redmond, WA. Much of the content in that session is in the various VSX webcasts recently posted online in slides and videos, and we plan to post additional screencast and webcast demos in the near future.

Earlier this week we hosted one of our VSIP Clinic events with many of our VSIP partners visiting here in Redmond. You can find more information about various VSIP events at VSIP Program Benefits.

We will be presenting a VSX session on Monday March 10th at the Seattle .NET User group, part of the .NET Developer Association, which meets in Redmond, WA on the Microsoft main campus in building 40.

If you plan to give a VSX related presentation at a conference or user group, feel free to let me know in advance so that I might mention here on the VSX team blog to help increase awareness.

Upcoming Visual Studio Extensibility book

There’s a cool new book to release in March, Visual Studio Extensibility book from Wrox by author Keyvan Nayyeri. It is also available via amazon.com.

Determined to make the Visual Studio Extensibility (VSX) learning process as smooth as possible, this helpful resource shows you how to use VSX in order to facilitate easier development of Microsoft programming languages and development technologies. Keyvan Nayyeri examines how VSX simplifies the processes of coding, compilation, deployment, debugging, and testing. Plus, numerous examples, sample code, and real-world case studies demonstrate the various extensibility options of VSX so that you can perform routine tasks easier and quicker.

VS extension tips of the month

An updated version of Source Code Outliner PowerToy for Visual Studio 2008 is now available for free download as a great extension for Visual Studio 2008 (Standard versions and above). There is an MSI binary install download and the source code is available on CodePlex, now with Visual Basic source code as well as in C#.

Check out StickyNotes available for Visual Studio 2008 on new MSDN Code Gallery. With StickyNotes, you can save notes associated with a particular project for reminders as bugs to fix, features to add, areas to test, etc.

MSDN Code Gallery

In case you missed the announcement early this week, check out Soma's blog post MSDN Code Gallery - snippets, samples and resources about the new MSDN Code Gallery at http://code.msdn.com.

Next month

In next month's letter, we will have more team news, VSX content online, and more information about our upcoming next release of the VS SDK for VS 2008.

Please send your feedback to us via the Contact link on any of our team member blogs, or post a technical question in the MSDN Forum for VSX. You can also email me directly at klevy@microsoft.com or using the Email link on my blog.

Ken Levy
Program Manager
Visual Studio Tools Ecosystem
Microsoft
http://blogs.msdn.com/klevy
http://msdn.com/vsx

Known Issues for Microsoft Visual Studio 2008 SDK 1.0

Updated: Section 1.15 added on April 8th, 2008.

Here are many of the known issues in the Microsoft Visual Studio 2008 SDK 1.0.

1.  Known Issues

1.1  Run as Normal User is not supported for Visual Studio Shell development

If you are developing a Visual Studio Shell (isolated mode) project, you must log on as an administrator or, if you are running Windows Vista, you must run Visual Studio as an administrator. Running as normal user currently does not work correctly if you are developing a Visual Studio Shell (isolated mode) project.

1.2  Windows Installers (MSIs) that are produced by domain-specific language (DSL) Setup projects must be run from an elevated process in Windows Vista

A Windows Installer program that is produced by a DSL Setup project must be run from an administrator-elevated command prompt under Windows Vista, or as an administrator under Windows XP. If it is not, the installer will display a warning message and then terminate. Under Windows Vista, it is not possible to run the installer by double-clicking the installer and then elevating the installer program permissions. You can work around this by wrapping the installer program in your own setup program. The DSL will then be installed correctly when you run the setup as an administrator.

1.3  Issue with path editor in DSL Designer when editing Element Merge Directives

It is not possible to use the new path editor to edit link creation paths in element merge directives. If you do use the path editor, then you’ll get a validation error on the path. The workaround is to enter a correct path directly as text, which is still supported.

1.4  Microsoft.VisualStudio.Shell.Interop.8.0.dll and Microsoft.VisualStudio.Shell.8.0.dll from the Visual Studio 2005 SDK requires needs to be updated

If you are installing the Visual Studio 2008 SDK on a computer that has the Visual Studio 2005 SDK installed, you should update the Microsoft.VisualStudio.Shell.Interop.8.0.dll and Microsoft.VisualStudio.Shell.8.0.dll in the VS2005 SDK.  Some changes were made to this file during the Visual Studio 2008 time frame and to benefit from these changes, you will have to manually update this file.  To do so, copy the Microsoft.VisualStudio.Shell.Interop.8.0.dll and Microsoft.VisualStudio.Shell.8.0.dll from:

\Program Files\Microsoft Visual Studio 2008 SDK\VisualStudioIntegration\Common\Assemblies\
and overwrite the copy under
\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Common\Assemblies\

If these assemblies are not updated, some warnings may be displayed when building packages that reference this dll.  They would look like: 


Reference to type 'Microsoft.VisualStudio.Shell.IOleMenuCommand' claims it is defined in ‘\Program Files\Visual Studio 2005 SDK\2007.02\VisualStudioIntegration\Common\Assemblies\Microsoft.VisualStudio.Shell.Interop.8.0.dll', but it could not be found

1.5  Event handling generation in the IronPython Sample

Because IronPython is a dynamic language, event handling generation is not implemented like it is in static languages such as C#. The primary problem is that the IronPython compiler does not produce strongly typed assemblies. Therefore, for WPF, static-language-like event handling creation cannot be illustrated at compile time. Instead, custom event handling is implemented by wiring the event handling code to the compiled XAML.

For the WPF designer to instantiate a custom EventBindingProvider, the type (for example, PythonEventBindingProvider) must be on a path in the registered .NET AssemblyFolders. As a post-build step, PythonProject.csproj registers its output folder as an AssemblyFolder to meet this requirement.

1.6  IronPython/WPF CodeDom registration issue

When you build an IronPython WPF application, you may receive the following error message: “Unknown build error, 'Object reference not set to an instance of an object'”. For XAML compilation to succeed, a valid CodeDomProvider for the language being compiled must be registered on the computer. Because this is a global machine configuration setting, the IronPython sample does not try to register the IronPython CodeDomProvider automatically. To register the IronPython CodeDomProvider manually and build IronPython/WPF projects by using Visual Studio or MSBuild, do the following things:

  • Open %SystemRoot%\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config in a text editor (such as Notepad).

  • To register the IronPython CodeDomProvider, under the root <configuration> node add the following items:
    <system.codedom>
    <compilers>
    <compiler language="py;IronPython" extension=".py" type="IronPython.CodeDom.PythonProvider, IronPython, Version=1.1.0.0, Culture=neutral, PublicKeyToken=4afbdc4d950a9602" />
    </compilers>
    </system.codedom>

  • Close and save machine.config

1.7  Use of DSL Tools may require experimental hive reset

If you are not the user who installed the Visual Studio SDK, you will not have an experimental hive under HKCU and you will not be able to use the DSL Tools successfully until you create one. The designer creation wizard warns you about this when it unfolds a new solution. The workaround is to reset the experimental hive by using the command that is installed on the Start menu.

1.8  C# Example.VSIDEHostAdapter unit test does not work

The C# Example.VSIDEHostAdapter sample unit test project is not yet functional.

1.9  Some unit tests fail

The following samples have some failing unit tests:

  • C# Reference.ComboBox

  • C# Example.NestedProject

  • C# Example.SccProvider

1.10  The DSL diagram layout is incorrect after undoing the "Bring Tree Here" command

While creating a new Task Flow designer, clicking on "Bring Tree Here", and then selecting Undo results in the diagram layout displaying overlapping elements.  The workaround is to collapse and expand inheritance and relationships twice for Flow element shapes.

1.10  TypeConverters and TypeDescriptors are not picked up during the build process or during toolbox initialization.

When adding a custom TypeConverter or TypeDescriptor and then building the DSL, the TypeConvertor or TypeDescriptor is not picked up.  The workaround is to rebuild the solution with a clean build.

1.11  Error when new project names exceed 28 characters

When creating a new project using a name that exceeds 28 characters, the project works properly until "devenv.exe /setup" or "devenv.exe /remove" is called during installation, repair, or uninstalling the package.  To prevent an error from occurring, all project names should contain 28 characters or less.

1.12  Error when new creating a new VS Shell project without Visual C++ installed

When creating a new VS Shell project, Visual C++ must be installed.  Without it on the machine, you will get an error at project creation.  To workaround this, launch Visual Studio from Add/Remove programs and add the Visual C++ feature.

1.13  Overriding the Invoke member of OleMenuCommand causes a crash

When inheriting from OleMenuCommand, overriding the wrong Invoke method will cause a crash.  If Invoke(object, IntPtr) is overridden, the crash will occur.  To work around this, override the Invoke(object, IntPtr, OLECMDEXECOPT) function since that is the one called by the current implementation of OleMenuCommandService.

1.14  Error in the Task List does not navigate to the right line of code.

When creating a custom CodeDom parser, double clicking on an error in the task list brings the customer one line too high in the code file.  This is a bug in the TaskProvider.Navigate function.  To work around this, you need to prevent the VSDesignSurface from accessing its TaskProvider. Follow these steps to fix this issue:

  1. Call GetService(typeof(IDesignerHost)) on the designer loader

  2. Call GetService(typeof(DesignSurface)) on the designer host

Once you have the design surface, follow the steps below and subscribe to the DesignSurface.Loaded event.  You will need to do tis once for each design surface that is created.

  1. Call the design surface's GetService method with typeof(IServiceContainer)

  2. On the service container that gets returned, call RemoveService(typeof(TaskProvider))

If you are converting from a Visual Studio 2005 extension to a Visual Studio 2008 extension, you may also need to use the fully qualified type name for the 9.0 TaskProvider.

The fully qualified name is

Microsoft.VisualStudio.Shell.TaskProvider, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a



The code will look like: 

System.Type providerTypeV9 = System.Type.GetType("Microsoft.VisualStudio.Shell.TaskProvider, Microsoft.VisualStudio.Shell.9.0, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a");

if (providerTypeV9 != null)

{

    RemoveService(providerTypeV9);

}   

1.15  The DesignTimeRun switch documentation does not appear when devenv.exe /? is invoked

When invoking devenv.exe /?, the help documentation for the DesignTimeRun switch is missing.  This switch should be used as a startup argument to all experimental hive instances of the DSL designer that invoke the target designer.

When the DesignTimeRun switch is provided to devenv.exe at startup, it deletes the toolbox cache and recreates it.  This takes less time than using devenv /setup to reset the toolbox of the experimental hive.

Using this switch is highly recommended.  Without it, the experimental hive toolbox may not be registered or updated correctly during design time, which can lead to corrupt entries. 

This switch is not required during deployment of the target designer since a full deployment will run devenv.exe /setup at installation time, which correctly creates the toolbox cache.

2.  Product Support

2.1  Latest How-To Information

For the latest documentation and how-to information about new features, including Visual Studio Shell development, visit the VSX team blog at http://blogs.msdn.com/vsxteam/ and the VSXUE team blog at http://blogs.msdn.com/vsxue/.

2.2  Getting Help

To get technical assistance from the community or the VSX product development team, use the following MSDN forums:

Posted 30 January 08 04:04 by vsxteam | 3 Comments   
Filed under , ,
More Posts Next page »
Page view tracker