My vs package did not load correctly
<p>I've got an addin that I developed and used with earlier versions of Visual Studio,
and I've managed to develop an interface between it and a VS Package for VS 2015.
From my "Command" class, I have a callback function that wraps a call to the
corresponding function within the library (.dll) for the addin. There is another
facilitating library (.dll) for the addin.</p>

<p>Everything seems to work well enough within the experimental instance,
and now I'm trying to create a package for installation and distribution.</p>

<p>This is for Visual Studio 2015 Community Edition running on Windows 10.</p>

<p>When I double-clicked the .vsix file, I got the following warning:</p>

<blockquote>
  <p>This extension does not contain a digital signature.</p>
  
  <hr>
  
  <p>This extension did not specify license terms in its manifest that are
  readable by VSIX Installer.</p>
  
  <hr>
</blockquote>

<p>I loaded it anyway.</p>

<p>When I invoked one of my functions, I got the following error message:</p>

<blockquote>
  <p>The 'Commands_01Package' package did not load correctly.</p>
  
  <p>The problem may have been caused by a configuration change or by the
  installation of another extension. You can get more information by
  examining the file "C:\Users\ ... \14.0\ActivityLog.xml".</p>
  
  <p>Restarting Visual Studio could help resolve this issue.</p>
</blockquote>

<p>These are the entries at the bottom of
 "C:\Users\ ... \14.0\ActivityLog.xml":</p>

<pre><code>  &lt;entry&gt;
    &lt;record&gt;437&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:41.710&lt;/time&gt;
    &lt;type&gt;Information&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;Entering function CVsPackageInfo::HrInstantiatePackage&lt;/description&gt;
    &lt;guid&gt;{A683C1FD-D1DC-4790-9A79-EF3A06CA0FEB}&lt;/guid&gt;
  &lt;/entry&gt;
  &lt;entry&gt;
    &lt;record&gt;438&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:41.711&lt;/time&gt;
    &lt;type&gt;Information&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;Begin package load [Command_01Package]&lt;/description&gt;
    &lt;guid&gt;{A683C1FD-D1DC-4790-9A79-EF3A06CA0FEB}&lt;/guid&gt;
  &lt;/entry&gt;
  &lt;entry&gt;
    &lt;record&gt;439&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:44.626&lt;/time&gt;
    &lt;type&gt;Information&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;Entering function CVsPackageInfo::HrInstantiatePackage&lt;/description&gt;
    &lt;guid&gt;{30D5B2E6-64BF-422F-A2BF-5D5B4D66548F}&lt;/guid&gt;
  &lt;/entry&gt;
  &lt;entry&gt;
    &lt;record&gt;440&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:44.626&lt;/time&gt;
    &lt;type&gt;Information&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;Begin package load [Settings Store Synchronization Delayed Init Package]&lt;/description&gt;
    &lt;guid&gt;{30D5B2E6-64BF-422F-A2BF-5D5B4D66548F}&lt;/guid&gt;
  &lt;/entry&gt;
  &lt;entry&gt;
    &lt;record&gt;441&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:44.626&lt;/time&gt;
    &lt;type&gt;Information&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;End package load [Settings Store Synchronization Delayed Init Package]&lt;/description&gt;
    &lt;guid&gt;{30D5B2E6-64BF-422F-A2BF-5D5B4D66548F}&lt;/guid&gt;
  &lt;/entry&gt;
  &lt;entry&gt;
    &lt;record&gt;442&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:45.926&lt;/time&gt;
    &lt;type&gt;Error&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;SetSite failed for package [Command_01Package][The type initializer for
    &amp;apos;Wilson_Addin_01.Main_Module&amp;apos; threw an exception.]:
    {   at Wilson_VSIX_01.Command_01.Initialize(Package package)
    in I:\Visual Studio\VS_Packages\Wilson_VS_Pkg_01\Wilson_VSIX_01\Wilson_VSIX_01\Command_01.cs:line 116&amp;#x000D;&amp;#x000A;
    at Wilson_VSIX_01.Command_01Package.Initialize()
    in I:\Visual Studio\VS_Packages\Wilson_VS_Pkg_01\Wilson_VSIX_01\Wilson_VSIX_01\Command_01Package.cs:line
    69&amp;#x000D;&amp;#x000A;
    at Microsoft.VisualStudio.Shell.Package.Microsoft.VisualStudio.Shell.Interop.IVsPackage.SetSite
    (IServiceProvider sp)}[Could not load type &amp;apos;MacroXMLLib01.VS_XML_Lib_01_NS.cls_path_verification&amp;apos;
    from assembly &amp;apos;MacroXMLLib01, Version=1.0.0.0, Culture=neutral, PublicKeyToken=21ecbe15a2364220&amp;apos;.]:
    {   at Wilson_Addin_01.XML_ctrl_module.VS_Link_XML_class..ctor(String&amp;amp; p_XML_path, String&amp;amp;
    p_XML_file)&amp;#x000D;&amp;#x000A;
    at Wilson_Addin_01.Main_Module..cctor()}&lt;/description&gt;
    &lt;guid&gt;{A683C1FD-D1DC-4790-9A79-EF3A06CA0FEB}&lt;/guid&gt;
    &lt;hr&gt;80131534&lt;/hr&gt;
    &lt;errorinfo&gt;&lt;/errorinfo&gt;
  &lt;/entry&gt;
  &lt;entry&gt;
    &lt;record&gt;443&lt;/record&gt;
    &lt;time&gt;2016/04/20 04:38:47.141&lt;/time&gt;
    &lt;type&gt;Error&lt;/type&gt;
    &lt;source&gt;VisualStudio&lt;/source&gt;
    &lt;description&gt;End package load [Command_01Package]&lt;/description&gt;
    &lt;guid&gt;{A683C1FD-D1DC-4790-9A79-EF3A06CA0FEB}&lt;/guid&gt;
    &lt;hr&gt;80131534&lt;/hr&gt;
    &lt;errorinfo&gt;&lt;/errorinfo&gt;
  &lt;/entry&gt;
&lt;/activity&gt;
</code></pre>

<p>I know next to nothing about VS Packages. I wouldn't be bothering
with this at all if Microsoft hadn't dropped support for addins,
and it seems ridiculous that I have to put in the time and effort
to get this working in order to retain the functionality that I had
with older versions of VS.</p>

<p>Excuse me if this seems like a stupid question, but does the lack of
a digital signature have anything to do with the "SetSite failed for package"?</p>

<p>If so, then what do I need to do to get a digital signature?</p>

<p>Any assistance with this would be most appreciated.</p>