Upload
dmohl
View
1.472
Download
1
Embed Size (px)
DESCRIPTION
F# already allows you to write applications with much less code and fewer bugs, but wouldn't it be nice to improve productivity even more by creating/using custom F# application (a.k.a. multi-project) templates and NuGet packages? In this talk we will discuss what goes into the creation of these templates/packages as well as approaches for distributing these productivity enhancers to the masses.
Citation preview
By Daniel Mohl
Building F# Visual Studio 2010 Application Templates
Why would you want to build an application template?
First: Download and Install the VS2010 SDK
5 Ea
sy S
teps
1. Setup the projects (including the VSIX proj. )
2. Create the project vstemplate metadata files
3. Setup the project collection vstemplate file
4. Compress the files and add to the VSIX proj.
5. Build the project and test your VSIX package.
Once your template is ready, make it available to the masses.
Visual Studio Gallery
Taki
ng C
ontr
ol w
ith IW
izar
d - You can take full control with IWizard.
- Hook in at the following points:
- Before opening any item in the editor- After project generation- After project item generation- After all tasks are complete- At the beginning of each template wizard
creation
Resources and More Info:
• http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.templatewizard.iwizard.aspx
• http://msdn.microsoft.com/en-us/library/ms185301.aspx
By Daniel Mohl
Building A NuGet Package
Why would you want to build a NuGet Package?
5 Ea
sy S
teps
1. Create the metadata file
2. Create/populate the Lib, Content and/or Tools directories
3. Build the nupkg file with nuget.exe
4. Test the package with a local NuGet Feed
5. Upload to the NuGet package source
Once your package is ready, make it available to the masses.
NuGet Gallery