diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.DisableStandardFrameworkResolution.targets b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.DisableStandardFrameworkResolution.targets index 70d565a2cd39..c6d6b69fd13b 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.DisableStandardFrameworkResolution.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.DisableStandardFrameworkResolution.targets @@ -18,6 +18,9 @@ Copyright (c) .NET Foundation. All rights reserved. <_TargetFrameworkDirectories /> + + + true diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.BeforeCommon.targets b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.BeforeCommon.targets index 570ce136344e..9eac6a926ec2 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.BeforeCommon.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.BeforeCommon.targets @@ -41,24 +41,16 @@ Copyright (c) .NET Foundation. All rights reserved. - portable true true true - - true - .dll false - - - {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} - $(AssemblySearchPaths) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.props b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.props index 327d5dabb6d8..10d5d8a6fe81 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.props +++ b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.props @@ -41,8 +41,14 @@ Copyright (c) .NET Foundation. All rights reserved. + portable + false + + + {CandidateAssemblyFiles};{HintPathFromItem};{TargetFrameworkDirectory};{RawFileName} + $(AssemblySearchPaths) diff --git a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.targets b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.targets index eda154ba66f4..70621b80c372 100644 --- a/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.targets +++ b/src/Tasks/Microsoft.NET.Build.Tasks/build/netstandard1.0/Microsoft.NET.Sdk.targets @@ -30,9 +30,8 @@ Copyright (c) .NET Foundation. All rights reserved. - - true - true + + $(_IsNETCoreOrNETStandard)