|
Guides (SDK /API) | Technical Reference | BBDN | How-to Documentation |
Note: These steps require Visual Studio and the Infinity SDK. For more information about how to create a developer environment, see Development Environment. These steps also require a Parts project with a custom part (type). For information about how to create a Parts project, see Projects for Custom Parts. For more information about how to add a custom part (type) to a Parts project, see Add a Custom Part to a Parts Project.
Ensure the Parts project is open.
Note: Some tasks may require Administrator rights to folders on your developer machine. If you do not have Administrator rights enabled by default, you may have to run Visual Studio as an Administrator.
From Solution Explorer, right-click the project and select Properties.
The Properties appear.
Click Compile.
Click Build Events.
The Build Events screen appears.
Click Edit Post-build.
The Post-build Event Command Line screen appears. There are template XCOPY commands in the editor. These commands copy files from the built project to the BBIS installation.
Clear the template commands in Post-build event command line and replace the commands with these:
xcopy "$(ProjectDir)*.ascx" "C:\Program Files\Blackbaud\NetCommunity\Custom\$(ProjectName)" /s /I /y xcopy "$(TargetDir)$(ProjectName).*" "C:\Program Files\Blackbaud\NetCommunity\Bin\" /y
Adjust the paths for your BBIS installation:
xcopy "$(ProjectDir)*.ascx" "C:\Program Files\Blackbaud\NetCommunity\Custom\$(ProjectName)" /s /I /y xcopy "$(TargetDir)$(ProjectName).*" "C:\Program Files\Blackbaud\NetCommunity\Bin\" /y
The first line copies the Active Server Pages forms and the second line copies the DLL for the Part.
Once you begin to reference other items in the project, such as API DLLs, you may have to add or adjust lines. For example, this will copy WebAPIClient DLLs:
xcopy "$(TargetDir)*.WebApiClient.*" "C:\Program Files\Blackbaud\NetCommunity\Bin\" /y
Click OK. You return to the Build Events screen.
Click OK. You return to the project's properties.
Save the project.