Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Tim Wagner Visual Studio Platform Dev Manager Microsoft Corporation TL32.

Similar presentations


Presentation on theme: " Tim Wagner Visual Studio Platform Dev Manager Microsoft Corporation TL32."— Presentation transcript:

1  Tim Wagner Visual Studio Platform Dev Manager Microsoft Corporation TL32

2

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

4

5

6

7

8

9

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

13

14

15

16

17

18

19

20

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

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

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.

45


Download ppt " Tim Wagner Visual Studio Platform Dev Manager Microsoft Corporation TL32."

Similar presentations


Ads by Google