Base types, Collections, Diagnostics, IO, RegEx…
Visual Studio 2012 includes built-in support for Portable Class Libraries that can be used to share code between .NET applications targeting multiple platforms, for example, between Windows Phone and Windows 8 Metro style apps.
We’ve received reports that the Windows App Certification Kit (ACK) currently fails to load some portable libraries with an error in the debug configuration test step similar to:
Error Found: The debug configuration test detected the following errors:
Failed to process the binary PortableClassLibrary1.dll.
This is a bug in the RC version of the tools, and will be fixed to enable full support for Portable Class Libraries for Windows 8 RTM.
There's another bug in PortableLibrary projects. Let's say I build a project 'A' as portable library and compiled it as DLL. Then another PortableLibrary project 'B' reference an .dll (project 'A') could not be build with error that both of those project reference the same mscorlib.dll
@Jasper thanks for getting in touch. We haven't observed this behaviour in testing - it would be great to know the version of VS you are using, as well as the platforms that projects 'A' and 'B' are targeting (SL, Phone etc) so that we can investigate. Thanks again!
Thanks for posting this. It is useful to have a link to somewhere that says succinctly that the problem is and where it will be fixed so we can resolve it in the future and have a place to point people as we go through the certification process.
Can we expect async/await support in Portable Libraries? Currently it's not possible to use it there even for Portable Library targeting only WinRT and .NET 4.5.
And also do you plan to add WP7.1 and Silverlight 4 support to AsyncTargetingPack once WP SDK for VS2012 is released? Original AsyncCTP supported these paltforms and I have several WP7 apps with async features from AsyncCTP. Thanks :)
By not being able to use async targeting only WinRT + 4.5, do you have a repro? This is supported and should work.
We're considering adding support for async for other platforms, however, we have nothing to announce at this time.