Skip to content
This repository has been archived by the owner on Dec 31, 2019. It is now read-only.

Just for Win8/WinPhone apps? #12

Open
lokijota opened this issue Mar 26, 2016 · 1 comment
Open

Just for Win8/WinPhone apps? #12

lokijota opened this issue Mar 26, 2016 · 1 comment

Comments

@lokijota
Copy link

Any chance for a version without these dependencies? when I try to add a reference to this assembly from a regular class library project, I get an error in VS saying that "The project targets .NetFramework while the file referenced targets .NETCore. This is not a supported scenario". Is there any other DLL I can use?

@Cha0s2nd
Copy link

Cha0s2nd commented Jul 11, 2016

It is possible, but not recommended to use this in a normal c# application.

just add <TargetPlatformVersion>10.0.10586.0</TargetPlatformVersion> and <TargetPlatformMinVersion>10.0.10240.0</TargetPlatformMinVersion>
to the project file (.csproj) by using notepad or similar to open it.

if not sure where add it just below the TargetFrameworkVersion node.

after you did this the reference should work and run.
Please note this only works for Window 10, for Windows 8 use 8 and 8.1 as the values.
Will not work in Windows 7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants