blez
blez

Reputation: 5047

How to detect is my assembly running in WP7/WP8 environment?

I'm doing a library, which I want to detect if it's running in a WP7/WP8 environment. How to do that using .NET?

EDIT:

I forget to mention I want to detect it at runtime.

Upvotes: 0

Views: 314

Answers (2)

Ani
Ani

Reputation: 10906

If you want to differentiate between existing platforms that .NET runs on - take a look at this MSDN page about cross-platform conditional compilation symbols.

The currently defined platforms are Windows, XBox and Windows Phone.

Upvotes: 2

Den
Den

Reputation: 16826

Windows Phone 8 SDK is not yet released, therefore currently there is no way to find that out.

Upvotes: 0

Related Questions