These are the items used to generate new projects and specs.
You will find a ProjectTemplates and ItemTemplates folders in the SDK directory.
- Navigate to your
C:\<username>\Documents\Visual Studio 2015\Templates\ProjectTemplatesfolder. - Create a new
Blackbaud AppFxfolder here. - Copy the conents of
BlackbaudSDK\ProjectTemplatesto your newBlackbaud AppFxfolder.
- Navigate to your
C:\<username>\Documents\Visual Studio 2015\Templates\ItemTemplatesfolder. - Copy the contents of
BlackbaudSDK\ItemTemplateshere. - By convention, I would suggest prefixing
Blackbaud AppFxto the folders just coppied intoVisual Studio 2015\Templates\ItemTemplates.
This provides intellisense and validation when writing specs. There are a few ways we could make this work, but I will provide the method that the SDK installer would normally perform.
- Navigate to your
%VSINSTALLDIR%\Xml\Schemasfolder. - Find
catalog.xmland open it in a text editor. - Place
<Catalog href="C:\BlackbaudSDK\Schemas\VSSchemaCatalog.xml"/>above the</SchemaCatalog>tag (Note: The path to yourVSSchemaCatalog.xmlwill be different.).
Referencing BlackbaudSDK\VSSchemaCatalog.xml in this way will tell Visual Studio to check your SDK directory for XSD files when working with XML.
The DLL files in BlackbaudSDK\Tools should be copied to %VSINSTALLDIR%\Common7\IDE\PrivateAssemblies.
Command line calls can be registered in Visual Studio as External Tools.
- From Visual Studio select
Tools -> External Tools... - Click
Add - Command:
D:\BlackbaudSDK\Tools\LoadSpec.exe - Arguments:
/s=<SERVERNAME> /db=<DBNAME> /spec=$(ItemPath) /nodepends - Check
Use Output Window
Use the same settings as for LoadSpec but change the Title and add /u to the end of your Argument string
