Improving Productivity with Custom F# Project Templates and NuGet Packages
-
Upload
dmohl -
Category
Technology
-
view
1.472 -
download
1
description
Transcript of Improving Productivity with Custom F# Project Templates and NuGet Packages
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