This project has moved and is read-only. For the latest updates, please go here.

Missing Manifest Resource

Jul 12, 2012 at 3:11 PM
Edited Jul 12, 2012 at 3:14 PM

Hi, i'm having the following issue. The project is silverlight 5.

The following works fine:

 

Total = HistogramToChart(new Histogram(sets.Where(t => t.Completed).SelectMany(t => t.DataSets).Select(p => (double)p.Data), buckets, 0.0, maxData));

 

But this leaves me with auto generated buckets that don't fit my needs.

When i tried to change it to the following:

 

Histogram hist = new Histogram();

hist.AddBucket(new Bucket(0, 1));
for (int i = 1; i < buckets - 1; ++i)
{
    hist.AddBucket(new Bucket(i * 3 - 1, i * 3 + 1));
}
hist.AddBucket(new Bucket(buckets * 3 - 1, buckets * 3));

hist.AddData(sets.Where(t => t.Completed).SelectMany(t => t.DataSets).Select(p => (double)p.Data));
Total = HistogramToChart(hist);

 

I get a missing manifest resource error.

Any help is appreciated,

thanks.

Jul 12, 2012 at 10:56 PM

After looking into it, i have found the cause of the error. I had to extend the lower bounds, as i didn't realize the buckets were exclusive on the lower bounds.

Jul 14, 2012 at 9:03 AM

Thanks for posting the update.

Just curious, what version of Math.NET Numerics are you using for SL5? I'm asking because in mainline the Silverlight4 version has recently been replaced with a generic .net portable library (that should explicitly support Silverlight5, among others like WinRT).

Thanks,
Christoph 

Jul 16, 2012 at 5:17 PM

The version i have is 2011.04.17.0.
Jul 16, 2012 at 6:42 PM

Ah ok, thanks.

Btw, you may want to re-install the package so you can see newer releases (v2.x are newer than the old 2011.x builds, we had to change to proper semver versioning some time ago).

Thanks,
Christoph