You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a UWP application for Windows 10, which targets the .NET Framework 4.6.1.
We have referenced your library via the NuGet package -> ZendeskApi_v2 (version 3.7.2).
When compiling the project in the .NET Native mode, we encounter a following issue:
Microsoft.Bcl.Async library can not be resolved, and the compiler spits out warnings saying, for example:
"ILTransform_0017: Assembly 'Microsoft.Threading.Tasks.Extensions' requests the address of the virtual method 'Stream.BeginWrite(byte[], int, int, AsyncCallback, object)' which is not available in the targeted .NET platform. Please ask the author of 'Microsoft.Threading.Tasks.Extensions' to provide an implementation that can be used in the currently targeted .NET platform."
Which leads to PlatfromNotSupportedException when trying to use, for example, the method ITickets.CreateTicketAsync(Ticket ticket).
In order to fix this issue, we cloned the repository, and rebuilt it as a class library for UWP Windows 10, targeting the .NET Framework 4.6.1. It all works fine in .NET Native as well as in not native modes.
As far as we can see, the best possible solution is to add another dll file into nuget package which targets at least .NET Framework 4.5 for UWP app, Windows 10.
Is there any chance that you could implement this solution in the nearest future?
Or maybe you have another view to this problem?
The text was updated successfully, but these errors were encountered:
We have a UWP application for Windows 10, which targets the .NET Framework 4.6.1.
We have referenced your library via the NuGet package -> ZendeskApi_v2 (version 3.7.2).
When compiling the project in the .NET Native mode, we encounter a following issue:
Microsoft.Bcl.Async library can not be resolved, and the compiler spits out warnings saying, for example:
"ILTransform_0017: Assembly 'Microsoft.Threading.Tasks.Extensions' requests the address of the virtual method 'Stream.BeginWrite(byte[], int, int, AsyncCallback, object)' which is not available in the targeted .NET platform. Please ask the author of 'Microsoft.Threading.Tasks.Extensions' to provide an implementation that can be used in the currently targeted .NET platform."
Which leads to PlatfromNotSupportedException when trying to use, for example, the method ITickets.CreateTicketAsync(Ticket ticket).
In order to fix this issue, we cloned the repository, and rebuilt it as a class library for UWP Windows 10, targeting the .NET Framework 4.6.1. It all works fine in .NET Native as well as in not native modes.
As far as we can see, the best possible solution is to add another dll file into nuget package which targets at least .NET Framework 4.5 for UWP app, Windows 10.
Is there any chance that you could implement this solution in the nearest future?
Or maybe you have another view to this problem?
The text was updated successfully, but these errors were encountered: