Squirrel / OldSquirrelForWindows

It's like ClickOnce but Works™
664 stars 55 forks source link

Setup.exe: Could not load file or assembly #249

Open chuckwuthrich opened 10 years ago

chuckwuthrich commented 10 years ago

Hello -

I have a project that references another project. Admissions requires the Admissions.Extensions .dll to work correctly.

I have installed shimmer for my project using nuget and followed the instructions for adding an dependency to the installer, located here.

However, when I run the Setup.exe file, the installer crashes with an exception:

Additional information: Could not load file or assembly 'Admissions.Extensions, Version=1.0.49.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Both Admissions and Admissions.Extensions have the <BuildPackage>true</BuildPackage> nodes in the .csproj files.

Admissions.nuspec:

<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
  <metadata>
    <id>AIS</id>
    <title>AIS</title>
    <version>$version$</version>
    <authors>...</authors>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <description>...</description>
    <tags>...</tags>
    <dependencies>
      <dependency id="Admissions.Extensions" version="[$version$]" />
    </dependencies>    
  </metadata>
  <files>
    <file src="..\Admissions.Extensions\bin\$configuration$\Admissions.Extensions.dll" target="lib\net451\" />
  </files>
</package>

packages.config:

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="MarkdownSharp" version="1.13.0.0" targetFramework="net451" />
  <package id="Microsoft.Bcl" version="1.1.7" targetFramework="net451" />
  <package id="Microsoft.Bcl.Async" version="1.0.16" targetFramework="net451" />
  <package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net451" />
  <package id="Microsoft.Web.Xdt" version="1.0.0" targetFramework="net451" />
  <package id="NuGet.Core" version="2.7.0" targetFramework="net451" />
  <package id="Rx-Core" version="2.1.30214.0" targetFramework="net451" />
  <package id="Rx-Interfaces" version="2.1.30214.0" targetFramework="net451" />
  <package id="Rx-Linq" version="2.1.30214.0" targetFramework="net451" />
  <package id="Rx-Main" version="2.1.30214.0" targetFramework="net451" />
  <package id="Rx-PlatformServices" version="2.1.30214.0" targetFramework="net451" />
  <package id="Shimmer" version="0.7.4" targetFramework="net451" />
  <package id="Shimmer.Client" version="0.7.4" targetFramework="net451" />
  <package id="Shimmer.Core" version="0.7.4" targetFramework="net451" />
  <package id="Squirrel.Client" version="0.7.5" targetFramework="net451" />
  <package id="Squirrel.Core" version="0.7.5" targetFramework="net451" />
  <package id="System.IO.Abstractions" version="1.4.0.66" targetFramework="net451" />
  <package id="Admissions.Extensions" version="1.0.49.0" targetFramework="net451" />
</packages>

How do I get the Setup.exe file to contain and install the required Admissions.Extensions.dll?

Thank you,

Chuck

chuckwuthrich commented 10 years ago

It appears this version of Squirrel is dead. I have found an alternate solution, so you can close this.