Question

I am working on winrt app that have some financial calculation involved. I searched on net and find Financial.dll which have all financial functions as in excel. I used it in my app and get desired result. But when I test my app on APP CERT KIT it failed because of it.

Error Found: The supported APIs test detected the following errors: o API System.Net.DownloadStringCompletedEventHandler in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Financial.dll calls this API. o API System.Net.DownloadStringCompletedEventArgs in SYSTEM, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Financial.dll calls this API. o API System.Runtime.Serialization.SerializationInfo in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Financial.dll calls this API. o API System.Converter`2 in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Financial.dll calls this API. o API System.Threading.ParameterizedThreadStart in MSCORLIB, PUBLICKEYTOKEN=B77A5C561934E089 is not supported for this application type. Financial.dll calls this API.

There are lots of same error.
Is there any other API used for same functionality or what I do to fix this issue?

Was it helpful?

Solution

Assuming you are developing a Windows Store App, there is a limited subset of the .NET framework that is available for your use. The assembly you are using is evidently built on a full .NET framework and is not a valid Windows Store App component.

If you have the source code for financial.dll you can try to port it to the sandboxed version of .NET available for WinRT. If you don't have the source code, you can't use the assembly at all and will need to find an alternative. In this case, perhaps you can edit your question to specify which financial functions you need and perhaps we can suggest alternatives for you.

EDIT

For the functions you listed, there's a C/C++ source code list here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top