how to add custom cas policy file to my manifest.xml ?

Nov 11, 2013 at 9:29 AM
I am using sharepoint 2007 and visual studio 2008. I have created a sharepoint solution with some custom sharepoint stuff. After this I installed wsp builder to create a wsp file. Now I would like to generate a wsp file with cas policies. I have changed the build output path to "80\bin". So this wsp cannot installed to the gac.

I have found this 2 tutorials where they are explaining how you can generate a wsp file with a custom cas file.

I tried to start the command prompt and go to the location where my wsp file is generated by the wspbuilder in the gui of my visual studio. But it gives me an error:

'wspbuilder.exe' is not recognized as an internal or external command,
operable program or batch file.

From which location I do need to start this commando? The WSPBuilder.exe is not available in my solution path "D:\projects\SourceCode\CompanyName\ProductName\CompanyName.SharePoint.ProductName"

This is the commando
WSPBuilder.exe -WSPName CreateNewDocumentWebPart.wsp -CustomCAS CasPolicy.txt