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

Assembly Generation Failed #3

Open
TheMeq opened this issue Feb 20, 2015 · 8 comments
Open

Assembly Generation Failed #3

TheMeq opened this issue Feb 20, 2015 · 8 comments

Comments

@TheMeq
Copy link

TheMeq commented Feb 20, 2015

When building, getting an error message.

Error 1 Assembly generation failed -- Referenced assembly 'LibUsbDotNet' does not have a strong name HidSharp

Error 6 Metadata file 'C:\Users***\Desktop\BlinkStickDotNet-master\Components\bin\HidSharp.dll' could not be found BlinkStickDotNet

@arvydas
Copy link
Owner

arvydas commented Feb 20, 2015

Are you using Xamarin or Visual Studio?

@TheMeq
Copy link
Author

TheMeq commented Feb 20, 2015

Visual Studio 2010 Express and Visual Studio Community 2013

Sent from my iPhone

On 20 Feb 2015, at 19:15, Arvydas Juskevicius [email protected] wrote:

Are you using Xamarin or Visual Studio?


Reply to this email directly or view it on GitHub.

@arvydas
Copy link
Owner

arvydas commented Feb 20, 2015

Go to LibUsbDotNet project properties, open Signing page, check Sign the assembly checkbox and use the snk key Components\LibWinUsb\LibUsbDotNet.snk.

Don't know why but when I change projects from Xamarin Studio to Visual Studio this setting gets lost. I'll try to fix this and ensure that it's added into the repository.

@TheMeq
Copy link
Author

TheMeq commented Feb 20, 2015

This setting is already filled in, and re browsing for this does not resolve the issue.

Sent from my iPhone

On 20 Feb 2015, at 19:23, Arvydas Juskevicius [email protected] wrote:

Go to LibUsbDotNet project properties, open Signing page, check Sign the assembly checkbox and use the snk key Components\LibWinUsb\LibUsbDotNet.snk.

Don't know why but when I change projects from Xamarin Studio to Visual Studio this setting gets lost. I'll try to fix this and ensure that it's added into the repository.


Reply to this email directly or view it on GitHub.

@arvydas
Copy link
Owner

arvydas commented Feb 20, 2015

Looking into this now.

@TheMeq
Copy link
Author

TheMeq commented Feb 20, 2015

Do you have pre built binaries available to download?

Sent from my iPhone

On 20 Feb 2015, at 19:25, Arvydas Juskevicius [email protected] wrote:

Looking into this now.


Reply to this email directly or view it on GitHub.

@arvydas
Copy link
Owner

arvydas commented Feb 20, 2015

Will build them and attach them here. I'm planning on adding the library to Nuget package list for super easy installation. The problem is that I'm still adding features as I'm working on the new version of Client application.

@arvydas
Copy link
Owner

arvydas commented Feb 20, 2015

Ok, I got it to compile by:

  • unchecking "Sign the assembly" on LibUsbDotNet
  • Rebuild LibUsbDotNet
  • check "Sign the assembly" on LibUsbDotNet
  • Rebuild LibUsbDotNet
  • Rebuild HidSharp
  • Rebuild BlinkStickDotNet

Download from here:

https://www.blinkstick.com/system/releases/windows/BlinkStickDotNet-2906bc50-binary-2015-02-20.zip

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

2 participants