mirror of https://github.com/icsharpcode/ILSpy.git
4 changed files with 32 additions and 19 deletions
@ -0,0 +1,24 @@ |
|||||||
|
using OSVersionHelper; |
||||||
|
|
||||||
|
namespace ICSharpCode.ILSpy |
||||||
|
{ |
||||||
|
// The Store package is ever only built for net472
|
||||||
|
public static class StorePackageHelper |
||||||
|
{ |
||||||
|
public static bool HasPackageIdentity { |
||||||
|
get { |
||||||
|
#if NET472
|
||||||
|
return WindowsVersionHelper.HasPackageIdentity; |
||||||
|
#endif
|
||||||
|
return false; |
||||||
|
} |
||||||
|
} |
||||||
|
public static string GetPackageFamilyName() |
||||||
|
{ |
||||||
|
#if NET472
|
||||||
|
return WindowsVersionHelper.GetPackageFamilyName(); |
||||||
|
#endif
|
||||||
|
return ""; |
||||||
|
} |
||||||
|
} |
||||||
|
} |
||||||
Loading…
Reference in new issue