Very first thing is, this demo needs WSPBuilder Extensions add-in for Visual Studio. You can download the same here (opens new window).
After the installation of WSPBuilder Extensions, you would proably see the menu item available for a right click on project! as shown in fig below:
As a first Step, I will create a project by choosing WSPBuilder Project Template as shown in fig below:
Cilck OK and you would see the following project structure created by vs.net for you.
And another file created for you is solution.txt, which contains soultionid so that you can use this as id for your features.
For this demo, to deploy .net dlls to GAC, you would need to create a folder called GAC and copy all .dlls to this folder.
Next, for the demo purpose, I will create a class library under this same demo solution and copy the output .net dlls to the GAC folder as shown in fig below:
then I would xcopy MyBusinessObjectLibrary.dll to GAC folder on post build of this project. When build the solution, MyBusinessObjectLibrary.dll is copied to GAC. and right click on the project, choose Build WSP as shown in fig.
or Choose Create Deployment Folder item. This will create a folder called "Deploy" under Bin folder as shown in fig
below:
Last but not least, under deploy folder, create following setup of files or you can download here
1. setup.exe.config file with following contents
2. readme.html
3.eula.rtf.
The setup.exe.config should have following contents in it.
Now, its time to deploy. Double Click Setup.exe to test the deployment, which would then shows setup wizard as shown in fig below: and follow onscreen instructions. At the end of this process, you should be able to see your .net dlls deployed to GAC.
Source Code: ArticleDeployDemoSolution.zip