WPF nuGet fail vs source build success

May 18, 2013 at 7:47 PM
I downloaded and built the WPF sample. Worked fine. From: https://qrcodenet.codeplex.com/SourceControl/changeset/73a7d2eead6816ebb79ce16457192505cf108446

Did a file new Wpf project net 4.5 added in the dll via nuget. Looks like runtime v4.0.30319 Messed around with it for awhile without success. Removed the nuGet package, then added Gma.QrCodeNet.Encoding in from the source build. Boom! Yup, working, happy. Gma.QrCodeNet.Encoding runtime v4.0.30319

??? Guess I'll use the .dll from the source build for now...
Coordinator
May 18, 2013 at 9:17 PM
nuget package, you installed was QrCode.Net or QrCodeNet. There are two package there.

Also what's your project type. .Net 4.5, or windows store.


If source code compiled one works for you that's all good. Only problem is not signed dll, thus it have to stay with where application installed.
May 18, 2013 at 9:54 PM
NuGet package installed was qrcode.net Note: the runtime version from nuGet and that which I built were the same.
My project is WPF 4.5

I do hope to publish the source. It's a WPF client that POSTs to one of the Azure web api samples and displays the QR code to view the image.

It's working very well. My Nokia Lumia 920 is reading the QR codes quickly from different sizes and distances. Thank you for this project!
Coordinator
May 18, 2013 at 10:22 PM
I will create a 4.5 dummy project later to test Nuget package out.

Glade you like our project.
Coordinator
May 22, 2013 at 6:42 PM
4.5 version is not working. Use 4.0 library for now, I will fix it.

Thanks for report.
Coordinator
May 23, 2013 at 7:43 AM
Fixed on my side. I will update to source code and nuget this weekend. Hopefully.

If you want it in urgent.

Inside Gma.QrCodenet.Encoding.Net45\Properties\AssemblyInfo.cs

Edit that file to include below (Because ThemeInfo is not specified, thus generic theme is not applied. My fault not double check 4.5 version before release.)



using System.Windows;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page, 
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page, 
// app, or any theme specific resource dictionaries)
)]
Jul 12, 2013 at 10:44 PM
Did nuget ever get updated? The following is what I found off the nuget page on the Download page and in NuGet manager in vs:

Version History
Version
Downloads
Last updated
QrCode.Net 0.4.0.0 725 Sunday, March 17 2013