From fdda1443b475b1d0d1f4f7c1cc556b26abfeecdf Mon Sep 17 00:00:00 2001 From: Jamie Magee Date: Tue, 30 Nov 2021 14:45:40 -0800 Subject: [PATCH] Target netstandard2.0 for contracts Targeting netstandard2.0 for our contracts allows them to be more portable across multiple versions of .NET. There is zero impact to performance as this project contains no logic. --- Directory.Packages.props | 1 + .../Microsoft.ComponentDetection.Contracts.csproj | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index d443ec5b1..6049817f2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -34,6 +34,7 @@ + diff --git a/src/Microsoft.ComponentDetection.Contracts/Microsoft.ComponentDetection.Contracts.csproj b/src/Microsoft.ComponentDetection.Contracts/Microsoft.ComponentDetection.Contracts.csproj index 2b7c925f7..1be25b5e5 100644 --- a/src/Microsoft.ComponentDetection.Contracts/Microsoft.ComponentDetection.Contracts.csproj +++ b/src/Microsoft.ComponentDetection.Contracts/Microsoft.ComponentDetection.Contracts.csproj @@ -1,10 +1,16 @@  + + netstandard2.0 + + - - + + + +