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

BarcodeLib Reference could not be found. #56

Closed
kevball2 opened this issue Oct 28, 2018 · 5 comments
Closed

BarcodeLib Reference could not be found. #56

kevball2 opened this issue Oct 28, 2018 · 5 comments
Assignees
Labels

Comments

@kevball2
Copy link

When trying to build the .net core branch build and test app there is an error that the BarcodeLib reference in BarcordLibTest could not be found. Build fails to complete

Steps to re-create

download net-core-conversion branch with GitHub desktop
launch solution files with VS 2017 (15.8.8)
Build solution.
Receive the following errors
image

Attempting to reference the dll from \bin\debug results in different errors due to referenced version mismatch

image

Tried resolving issues but no luck :(

@barnhill
Copy link
Owner

hum ... Ill take a look at this but its because I was converting this to a .NET core library so it can be more widely used and the test application doesnt allow inclusion of Core libs. I might have to do some investigating to figure out how to handle this and have a build for .net core and standard in the project.

@barnhill barnhill self-assigned this Oct 29, 2018
@barnhill barnhill added the bug label Oct 29, 2018
@barnhill
Copy link
Owner

I was thinking about this all wrong. I should have been targeting .net standard and not .net core. This would give this library the widest availability.

@barnhill
Copy link
Owner

@kevball2 want to take a look at the latest commit in that branch? It should convert the library over to .NET Standard. It does use a nuget package for System.Drawing.Common since thats not normally available in .NET Standard or Core.

@kevball2
Copy link
Author

kevball2 commented Oct 30, 2018

@barnhill Everything loads better, Just have to work out the Nuget Package, The Nuget reference you have for the BarcodeStandard works fine, but the reference to it in the Example could not be found.
image

This is most likely is due to my lack of knowledge with Nuget. Learning by doing!

Edit-
Sorted my issue, unistalled the drawing.common nuget package and reinstalled and everything was set. Application is build successfully!

@barnhill
Copy link
Owner

barnhill commented Oct 30, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants