Quantcast
Channel: WSPBuilder (SharePoint WSP tool)
Viewing all articles
Browse latest Browse all 38

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

$
0
0
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.

http://blog.bugrapostaci.com/tag/wspbuilder/
http://www.novolocus.com/2009/08/13/wspbuilder-and-cas-policies/

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

Viewing all articles
Browse latest Browse all 38

Trending Articles