diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 90570f3..cc5394e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -28,9 +28,12 @@ steps: version: 6.0.x performMultiLevelLookup: true -- script: dotnet build src/InheritDoc -c Dist --version-suffix ci$(Build.BuildNumber) +- script: dotnet build src/InheritDoc -c Dist -p:GeneratePackageOnBuild=false displayName: Build +- script: dotnet build src/InheritDoc -c Dist --version-suffix ci$(Build.BuildNumber) + displayName: Pack + - script: dotnet test tests/InheritDoc.Test -c Coverage displayName: Test diff --git a/src/InheritDoc/InheritDoc.csproj b/src/InheritDoc/InheritDoc.csproj index c8d83e0..e271c5b 100644 --- a/src/InheritDoc/InheritDoc.csproj +++ b/src/InheritDoc/InheritDoc.csproj @@ -10,7 +10,6 @@ tools true true - $(NoWarn);NU5128 @@ -21,7 +20,7 @@ - + @@ -29,4 +28,8 @@ + + + + diff --git a/src/InheritDoc/package/build/SauceControl.InheritDoc.props b/src/InheritDoc/package/build/SauceControl.InheritDoc.props index 5c47919..ecc3987 100644 --- a/src/InheritDoc/package/build/SauceControl.InheritDoc.props +++ b/src/InheritDoc/package/build/SauceControl.InheritDoc.props @@ -2,7 +2,7 @@ - <_InheritDocTaskTfm Condition="'$(MSBuildRuntimeType)'!='Core'">net46 + <_InheritDocTaskTfm Condition="'$(MSBuildRuntimeType)'!='Core'">net462 <_InheritDocTaskTfm Condition="'$(MSBuildRuntimeType)'=='Core'">netstandard2.0 <_InheritDocTaskLib>$(MSBuildThisFileDirectory)..\tools\$(_InheritDocTaskTfm)\SauceControl.InheritDoc.dll <_InheritDocNetStandardFallback>$(MSBuildThisFileDirectory)..\tools\netstandard.xml.gz