Download presentation
Presentation is loading. Please wait.
Published byRaymond Hoover Modified over 9 years ago
1
Tim Wagner Visual Studio Platform Dev Manager Microsoft Corporation TL32
3
Find Tools Online Gallery CodePlex New Visual Studio 10 download manager Customize Tools Templates Code Snippets Macros Start Page Debugger visualizations Build Tools Add-ins Packages Designers DSLs Editor components
10
VS Extension Empty IDE Free redistribution Great foundation for standalone tools
11
VS Extensions Packages Content Help Custom Shell (optional) Branding Customizations Setup Program PLKs & SLKs** Optionally chain in Shell runtime
12
What?How? Create stub EXEComes with default project Apply custom branding Replace icons and splash screen; add your own “Help About” box Customize menus and commands Uncomment tags in.vsct file Customize package registrationChange.pkgundef file Customize tool window registrationChange.pkgundef file Add your own packages Add projects into solution and change Shell Dependencies Add your own template Add template into shared template location and run /setup Create setup for your shell productUse “Setup” project
21
I need "Foo" I provide "Foo" I need "Foo" Part A Part B Part C
22
static void Main(string[] args) { var container = new CompositionContainer(); var consoleWriter = new ConsoleWriter(); container.AddPart(consoleWriter); container.AddPart(new DateOutputFormatter()); container.Compose(); consoleWriter.Write("Hello MEF, my first MEF app"); Console.ReadLine(); } public interface IOutputFormatter { string Format(string message); }
23
[Export(typeof(IOutputFormatter))] public class DateOutputFormatter : IOutputFormatter { public string Format(string message) { return string.Format("{0}: {1}", DateTime.Now, message); } public class ConsoleWriter { [Import] public IOutputFormatter Formatter { get; set; } public void Write(string message) { Console.WriteLine(Formatter.Format(message)); }
24
Catalog Container
43
Please fill out your evaluation for this session at: This session will be available as a recording at: www.microsoftpdc.com
44
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.