jonwagner / Insight.Database

Fast, lightweight .NET micro-ORM
Other
861 stars 145 forks source link

Insight Database Nuget version 6.0.0 contains an Empty Assembly #334

Closed fomenta closed 7 years ago

fomenta commented 7 years ago

I downloaded Nuget version 6.0.0 of Insight database. The dll seems to be invalid.

image

My projects did not compile anymore. Also, when I checked it using JustDecompile, it is actually an empty class compiled:

image

jonwagner commented 7 years ago

In v6.0, Insight.Database is a stub package that depends on Insight.Database.Core and Insight.Database.Providers.Default. All of the active code has moved into the Core & Providers packages. Check to make sure that nuget has added those packages to your project.

fomenta commented 7 years ago

In version 5.2 I used an object called ReliableConnection. When I updated my nuget, the class could not be found. Where is it located now? on version 6.0, I mean.

Jaxelr commented 7 years ago

The class still exists on the Insight.Database.Core project (It was also there on 5.2.*). A quick search on github shows you where it is: https://github.com/jonwagner/Insight.Database/blob/1704f96d4e7f67753f85dc18bf1c9b8a06811465/Insight.Database.Core/Reliable/ReliableConnection.cs

as Jon mentioned, make sure you have the correct files related to Insight on your project.

fomenta commented 7 years ago

You are right. Found it!

ReliableConnection class is now under Insight.Database.Core and it was not referenced by the project.

Jaxelr commented 7 years ago

Closing Issue.