0

A Trying to share some classes between the three layer of my application.

  • Universal Windows Platform project (UWP on Raspberry Pi IoT)
  • .NET Core Web Api project
  • Asp.Net Core project

Witch project type should I use to share code and classes between those three project? I'm planning to store DTOs object/interface and some Enums in these librairy.

I've try so far, without success - .Net Standard 2 - UWP Class Library

Any idea?

4
  • What went wrong with .Net Standard? Commented Jan 12, 2019 at 20:29
  • I get this error, when refering from UWP : Severity Code Description Project File Line Suppression State Error NU1201 Project Garden.Common is not compatible with uap10.0.15063 (UAP,Version=v10.0.15063) / win10-x64. Project Garden.Common supports: netstandard2.0 (.NETStandard,Version=v2.0) Garden.IoT C:\Projects\Garden\Garden.IoT\Garden.IoT.csproj 1 Commented Jan 12, 2019 at 20:34
  • 2
    You need uwp sdk version 16299 or highter. See blogs.msdn.microsoft.com/dotnet/2017/10/10/… Commented Jan 12, 2019 at 20:40
  • Great that worked Commented Jan 12, 2019 at 21:33

1 Answer 1

2

Has Kalten suggested, setting the target minimum version of the UWP version to "Windows 10 Fall Creators Update (10.0; Build 16299) solved the problem.

Thanks Kalten!

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.