hoangduit / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

Recent NuGet packages do not work in Silverlight 4 #409

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Please include an e-mail address if this might need a dialogue!
==============

What steps will reproduce the problem?
1. Update NuGet package to 2.0.0.666 or 2.0.0.668
2. Compile
3.

What is the expected output? What do you see instead?
Expected output is a xap, instead I see lots of errors.

What version of the product are you using? On what operating system?
Upgrading from 2.0.0.460 to 2.0.0.666 on Silverlight 4 in VS2010 on Windows. 

Please provide any additional information below.
If you update the package it updates the project reference to 
packages\protobuf-net.2.0.0.666\lib\sl4\protobuf-net.dll but when you compile 
all references to protobuf-net classes are flagged as errors. If you try to 
view the new reference in the object explorer then it can't find the dll.
I manually removed the reference and tried to re-add it and it said the dll 
wasn't compatible with SL4.
I worked around the issue by manually adding a reference to the version in the 
portable-sl4+net40+wp7+windows8 directory.

Original issue reported on code.google.com by pbra...@gmail.com on 8 Oct 2013 at 4:06