Home Dashboard Directory Help
Search

Portable Class Library - Add Service Reference Dialog by LeonG-ZA


Status: 

Closed


5
0
Sign in
to vote
Type: Bug
ID: 771337
Opened: 11/16/2012 12:18:49 AM
Access Restriction: Public
1
Workaround(s)
view
1
User(s) can reproduce this bug

Description

The Add Service Reference Dialog's Advanced Options section does not base decisions on the Target Platforms selected for the Portable Class Library. Instead it assumes that all platforms are targeted.
When selecting .NET 4.5 and Windows Store target platforms I would expect the Advanced Options to have 'Generate task-based operations' selected, because both platforms support this option.

The generated code won't allow the new 'async/await' model making it difficult to work with in a .NET 4.5 and Windows Store environment even though it is supported in both platforms.
Details
Sign in to post a comment.
Posted by denz3366 on 3/8/2014 at 2:03 AM
I'm also experiencing this problem, with Visual Studio 2013 Update 1.

Posted by Sol Fried on 6/18/2013 at 10:09 AM
I am also experiencing this issue. I cannot create a common class project to be shared between by WPF .NET 4.5 applications and my Windows 8 Store app.
The Portable Class Library is configured for .NET 4.5 and Windows Store only.
Please correct this issue.
Thanks!
Posted by Microsoft on 5/8/2013 at 2:11 PM
Thanks for your feedback. We have triaged this bug as Won't fix at the moment and will continue to monitor customer feedback on this and will reconsider if multiple customers are hitting this.
Thanks!
Posted by Microsoft on 11/19/2012 at 9:09 AM
Thank you for reporting this issue. We will consider fixing this in our upcoming release.
Posted by Microsoft on 11/16/2012 at 12:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by LeonG-ZA on 11/18/2012 at 11:25 PM
Create a new Windows Store Class Library. Add a new Service Reference. Copy code from 'Service.cs'.
Create a new Portable class Library. Add a Service Reference. Open up 'Service.cs' and replace code with copied code from the Windows Store Class Library.
Delete Windows Store Class Library.