Reputation: 12713
I'm a little new to the WinRT world, but I already figured out that some of the old libs don't work on Metro anymore, because of the new WinRT Runtime.
Now I wanted to convert some old Project with HtmlAgilityPack to Metro. The old lib didn't work, so I got the newest from Nuget. Which unfortunately is not compatible with the old one. Funny enough, after I updated my old project with the newest Version from Nuget (exactly the same one), it still had the old functions in it.
Can you support two different runtimes in the same package? How does that work?
Upvotes: 1
Views: 564
Reputation: 8852
You don't need to convert HtmlAgilityPack to metro as someone already did.
I have used it and it work great.
http://fizzlerex.codeplex.com/
Upvotes: 1
Reputation: 814
NuGet allows you to include versions for different .NET Framework Versions:
Supporting Multiple .NET Framework Versions and Profiles
Which is used a lot (e.g. JSON.NET has this) to use different assemblies for net20/net35/net40/net45 or for silverlight/winrt
Upvotes: 1
Reputation: 4599
Not sure I fully understand the question. I would Add the new Library and refactor my old code to work with the new library. Otherwise you will have 2 libraries with the same namespace in the same project... which isn't going to work.
Upvotes: 0