Build custom tasks for net45 on Windows, even when building in source-build.
This commit is contained in:
Родитель
fb2b7cba3e
Коммит
1063874bdc
|
@ -6,7 +6,7 @@
|
|||
<AdditionalProperties>TargetGroup=netstandard1.5</AdditionalProperties>
|
||||
</Project>
|
||||
<Project Include="$(MSBuildThisFileDirectory)$(MSBuildProjectName).csproj"
|
||||
Condition="'$(DotNetBuildFromSource)' != 'true'">
|
||||
Condition="'$(BuildCustomTasksForDesktop)' == 'true'">
|
||||
<AdditionalProperties>TargetGroup=net45</AdditionalProperties>
|
||||
</Project>
|
||||
</ItemGroup>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="..\dir.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<BuildCustomTasksForDesktop Condition="'$(MSBuildRuntimeType)' != 'Core'">true</BuildCustomTasksForDesktop>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -6,7 +6,7 @@
|
|||
<AdditionalProperties>TargetGroup=netstandard1.5</AdditionalProperties>
|
||||
</Project>
|
||||
<Project Include="$(MSBuildThisFileDirectory)$(MSBuildProjectName).csproj"
|
||||
Condition="'$(DotNetBuildFromSource)' != 'true'">
|
||||
Condition="'$(BuildCustomTasksForDesktop)' == 'true'">
|
||||
<AdditionalProperties>TargetGroup=net45</AdditionalProperties>
|
||||
</Project>
|
||||
</ItemGroup>
|
||||
|
|
Загрузка…
Ссылка в новой задаче