confused nuget references #4

Closed
opened 2026-01-29 22:03:22 +00:00 by claunia · 5 comments
Owner

Originally created by @sawilde on GitHub (Aug 7, 2013).

I am developing a 'portable' nuget package that references the sharpcompress library however I am having issues when I use my package on .NET40.

My assembly is referencing the sharpcompress.portable assembly but in a .NET40 project the sharpcompress.dll is loaded instead causing a missing reference exception. Manually changing the reference works but is definitely confusing.

Would it be possible to have all your assemblies be called SharpCompress.dll when they are packaged into the nuget package?

Originally created by @sawilde on GitHub (Aug 7, 2013). I am developing a 'portable' nuget package that references the sharpcompress library however I am having issues when I use my package on .NET40. My assembly is referencing the sharpcompress.portable assembly but in a .NET40 project the sharpcompress.dll is loaded instead causing a missing reference exception. Manually changing the reference works but is definitely confusing. Would it be possible to have all your assemblies be called SharpCompress.dll when they are packaged into the nuget package?
Author
Owner

@adamhathcock commented on GitHub (Aug 11, 2013):

No problem. I'll release again after I can merge the pull request. Thanks!

@adamhathcock commented on GitHub (Aug 11, 2013): No problem. I'll release again after I can merge the pull request. Thanks!
Author
Owner

@sawilde commented on GitHub (Aug 12, 2013):

Okay I'll update my nuget package to reference your new one once this is done. Can't wait.

@sawilde commented on GitHub (Aug 12, 2013): Okay I'll update my nuget package to reference your new one once this is done. Can't wait.
Author
Owner

@adamhathcock commented on GitHub (Aug 13, 2013):

Cool. Just let me know when.

@adamhathcock commented on GitHub (Aug 13, 2013): Cool. Just let me know when.
Author
Owner

@sawilde commented on GitHub (Aug 13, 2013):

After you've published your nuget package so I can reference the version number.


From: Adam Hathcockmailto:notifications@github.com
Sent: ‎13/‎08/‎2013 8:25 PM
To: adamhathcock/sharpcompressmailto:sharpcompress@noreply.github.com
Cc: Shaun Wildemailto:shaun_wilde@hotmail.com
Subject: Re: [sharpcompress] confused nuget references (#2)

Cool. Just let me know when.


Reply to this email directly or view it on GitHub:
https://github.com/adamhathcock/sharpcompress/issues/2#issuecomment-22555576

@sawilde commented on GitHub (Aug 13, 2013): After you've published your nuget package so I can reference the version number. --- From: Adam Hathcockmailto:notifications@github.com Sent: ‎13/‎08/‎2013 8:25 PM To: adamhathcock/sharpcompressmailto:sharpcompress@noreply.github.com Cc: Shaun Wildemailto:shaun_wilde@hotmail.com Subject: Re: [sharpcompress] confused nuget references (#2) Cool. Just let me know when. --- Reply to this email directly or view it on GitHub: https://github.com/adamhathcock/sharpcompress/issues/2#issuecomment-22555576
Author
Owner

@adamhathcock commented on GitHub (Aug 13, 2013):

Released 0.10.1.1...hopefully this behaves better for you.

@adamhathcock commented on GitHub (Aug 13, 2013): Released 0.10.1.1...hopefully this behaves better for you.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#4