Can I deploy in SharePoint two Web Parts with the same DLL, but two .webpart files, at the same time <p>Is it possible to have two Web Parts with the same DLL, but two .webpart files, deployed in Sharepoint at the same time?</p> <p><strong>Background</strong> : I am developing an application that will generate a ".cab" file containing a Web Part (ASP.NET 2.0 Web Part). After that, the user should be able to deploy this ".cab" file in a in a SharePoint server.</p> <p>My application already includes the DLL of a Web Part. The "behavior" of this Web Part depends on the properties of the ".webpart" file which will be generated at runtime by my application (its content will change depending on certain user choices) After generating the ".webpart" file, it packages it to a ".cab" file along a Manifest.xml and the DLL.</p> <p>Imagine that the user creates two "cab" files using my application. And he wants to deploy them into SharePoint.</p> <p>To test this, I create this two ".cab" files with my app, and in SharePoint I execute:</p> <pre><code>$&gt; STSADM.EXE -o addwppack &lt;cab filename #1&gt; $&gt; STSADM.EXE -o addwppack &lt;cab filename #2&gt; $&gt; STSADM.EXE -o deletewppack &lt;cab filename #1&gt; </code></pre> <p>After the execution of the third command, the Web Part #2 doesn't have the DLL. When I installed Web Part #2, SharePoint override the DLL file of Web part #1 The problem here is that the DLL of both files is copied to same location. That location is the Assembly name of DLL. That assembly name cannot be changed without recompiling again (I think).</p> <p>Is there anyway to deploy two cab files independently, even if they share the same DLL?</p>