Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chuckwuthrich opened this issue Jul 7, 2014 · 1 comment
Open

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

chuckwuthrich opened this issue Jul 7, 2014 · 1 comment

Comments

@chuckwuthrich
Copy link

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
Copy link
Author

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

akrisiun pushed a commit to akrisiun/Squirrel.Windows that referenced this issue Dec 2, 2015
Log URLs correctly in FileDownloader
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant