Create SharePoint WSP without DLL?

1k Views Asked by At

I'm trying to build a WSP using the Visual Studio 2013 template for SharePoint - without it including the primary DLL of the project. I tried removing AssemblyInfo.cs and all the references, it still builds the DLL and includes it in the manifest.

Is there a way to configure the project so that it omits the primary DLL (even if it does build it)?

(If anyone asks the "why would you want to do that" question, i'd be happy to answer it but doing so won't help me.)

Thanks

-John

1

There are 1 best solutions below

1
Anup On

In project properties, set "Include Assembly in Package" to False. Then publish to generate your WSP file. This new WSP will not contain the DLL.