Add/Remove Assembly to WSP (VSEWSS)

I was facing a problem to add an assembly in VSEWSS generated WSP. I added assembly in “manifest.xml” but it is refreshed during packaging. I added assembly in VS but it was not included in WSP. There is no direct way to access ddf in VSEWSS. At Last, I got solution:

1. Add reference > Select Assembly > OK
2. Right click of Assembly > Properties
3. Set “Copy Local” property = true

vsewss-wsp-dll

4. Deploy Solution
Now, you will get assembly in WSP. You can see by renaming wsp to cab and open cab file.
To Remove assembly from WSP, Perform same steps and set “Copy Local” property = false.

Hope! You will enjoy it.

No comments:

Post a Comment