File tree 10 files changed +6
-62
lines changed
10 files changed +6
-62
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
3
4
- <Import Project =" $(MSBuildThisFileDirectory)MSBuildTaskHelper.props" Condition =" '$(MSBuildTaskHelpersImported)'!='true'" />
5
- <UsingTask TaskName =" _GetCommonFiles" TaskFactory =" $(MSBuildTaskFactoryType)" AssemblyFile =" $(MSBuildTasksAssemblyFile)" >
4
+ <UsingTask TaskName =" _GetCommonFiles" TaskFactory =" RoslynCodeTaskFactory" AssemblyFile =" $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll" >
6
5
<ParameterGroup >
7
6
<Files ParameterType =" Microsoft.Build.Framework.ITaskItem[]" Required =" true" />
8
7
<Names ParameterType =" Microsoft.Build.Framework.ITaskItem[]" Required =" true" />
135
134
136
135
<UsingTask
137
136
TaskName =" GetMetadata"
138
- TaskFactory =" $(MSBuildTaskFactoryType) " AssemblyFile =" $(MSBuildTasksAssemblyFile) " >
137
+ TaskFactory =" RoslynCodeTaskFactory " AssemblyFile =" $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll " >
139
138
<ParameterGroup >
140
139
<ItemGroup ParameterType =" Microsoft.Build.Framework.ITaskItem[]" Required =" true" />
141
140
<Output Output =" true" />
Original file line number Diff line number Diff line change 3
3
4
4
<!-- Include this file if you want to reference Eto.Mac64.csproj directly vs. using the nuget package -->
5
5
6
- <Import Project =" $(MSBuildThisFileDirectory)MSBuildTaskHelper.props" Condition =" '$(MSBuildTaskHelpersImported)'!='true'" />
7
6
<Import Project =" $(MSBuildThisFileDirectory)..\src\Eto.Mac\build\Mac.props" />
8
7
<Import Project =" $(MSBuildThisFileDirectory)..\src\Eto.Mac\build\Mac.targets" />
9
8
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project ToolsVersion =" 15.0" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
- <Import Project =" $(MSBuildThisFileDirectory)MSBuildTaskHelper.props" Condition =" '$(MSBuildTaskHelpersImported)'!='true'" />
4
3
5
- <UsingTask TaskName =" FileUpdate" TaskFactory =" $(MSBuildTaskFactoryType) " AssemblyFile =" $(MSBuildTasksAssemblyFile) " >
4
+ <UsingTask TaskName =" FileUpdate" TaskFactory =" RoslynCodeTaskFactory " AssemblyFile =" $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll " >
6
5
<ParameterGroup >
7
6
<Files ParameterType =" Microsoft.Build.Framework.ITaskItem[]" Required =" true" />
8
7
<Pattern ParameterType =" System.String" Required =" true" />
@@ -111,7 +110,7 @@ public class FileUpdate : Task
111
110
]]> </Code >
112
111
</Task >
113
112
</UsingTask >
114
- <UsingTask TaskName =" IncrementVersion" TaskFactory =" $(MSBuildTaskFactoryType) " AssemblyFile =" $(MSBuildTasksAssemblyFile) " >
113
+ <UsingTask TaskName =" IncrementVersion" TaskFactory =" RoslynCodeTaskFactory " AssemblyFile =" $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll " >
115
114
<ParameterGroup >
116
115
<Version ParameterType =" System.String" Required =" true" />
117
116
<Increment ParameterType =" System.String" />
Original file line number Diff line number Diff line change @@ -77,8 +77,6 @@ You do not need to use any of the classes of this assembly (unless customizing t
77
77
<None Include =" build\*" Exclude =" build\Mac.*" Pack =" True" PackagePath =" build" />
78
78
<None Include =" build\Mac.targets" Pack =" True" PackagePath =" build\$(PackageId).targets" />
79
79
<None Include =" build\Mac.props" Pack =" True" PackagePath =" build\$(PackageId).props" />
80
-
81
- <None Include =" ..\..\build\MSBuildTaskHelper.props" Pack =" True" PackagePath =" build" />
82
80
</ItemGroup >
83
81
84
82
<Target Name =" CopyProjectReferencesToPackage" DependsOnTargets =" ResolveReferences" >
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ You do not need to use any of the classes of this assembly (unless customizing t
66
66
<None Include =" build\*" Exclude =" build\Mac.*" Pack =" True" PackagePath =" build" />
67
67
<None Include =" build\Mac.targets" Pack =" True" PackagePath =" build\Eto.Platform.XamMac2.targets" />
68
68
<None Include =" build\Mac.props" Pack =" True" PackagePath =" build\Eto.Platform.XamMac2.props" />
69
- <None Include =" ..\..\build\MSBuildTaskHelper.props" Pack =" True" PackagePath =" build" />
70
69
</ItemGroup >
71
70
72
71
<Import Project =" ..\..\build\Xamarin.Mac.targets" Condition =" !$(TargetFramework.Contains('-macos'))" />
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ You do not need to use any of the classes of this assembly (unless customizing t
63
63
<None Include =" build\*" Exclude =" build\Mac.*" Pack =" True" PackagePath =" build" />
64
64
<None Include =" build\Mac.targets" Pack =" True" PackagePath =" build\Eto.Platform.macOS.targets" />
65
65
<None Include =" build\Mac.props" Pack =" True" PackagePath =" build\Eto.Platform.macOS.props" />
66
- <None Include =" ..\..\build\MSBuildTaskHelper.props" Pack =" True" PackagePath =" build" />
67
66
</ItemGroup >
68
67
69
68
<Target Name =" CheckSDKVersion" BeforeTargets =" BeforeBuild" >
Original file line number Diff line number Diff line change 19
19
<DebugType Condition =" $(MacDebugEmbedded) == 'True'" >embedded</DebugType >
20
20
</PropertyGroup >
21
21
22
- <Import Project =" $(MSBuildThisFileDirectory)MSBuildTaskHelper.props" Condition =" '$(MSBuildTaskHelpersImported)'!='true'" />
23
-
24
22
<PropertyGroup Condition =" $(IsMac) == 'True'" >
25
23
<MacBuildDmgDependsOnTargets >MacCreateDmg;MacBeautifyDmg</MacBuildDmgDependsOnTargets >
26
24
<MacCodeSignDependsOnTargets >MacCodeSignApp;MacCodeSignDmg</MacCodeSignDependsOnTargets >
Original file line number Diff line number Diff line change 74
74
<RemoveDir Directories =" $(OutputAppPath)" />
75
75
</Target >
76
76
77
- <PropertyGroup Condition =" '$(MSBuildTaskFactoryType)'=='CodeTaskFactory'" >
78
- <_UpdatePListReference >System.Xml</_UpdatePListReference >
79
- </PropertyGroup >
80
- <PropertyGroup Condition =" '$(MSBuildTaskFactoryType)'!='CodeTaskFactory'" >
81
- <_UpdatePListReference >netstandard</_UpdatePListReference >
82
- </PropertyGroup >
83
-
84
77
<!-- Task to update the plist file with new values -->
85
- <UsingTask TaskName =" UpdatePList" TaskFactory =" $(MSBuildTaskFactoryType) " AssemblyFile =" $(MSBuildTasksAssemblyFile) " >
78
+ <UsingTask TaskName =" UpdatePList" TaskFactory =" RoslynCodeTaskFactory " AssemblyFile =" $(MSBuildToolsPath)\Microsoft.Build.Tasks.Core.dll " >
86
79
<ParameterGroup >
87
80
<PListFile ParameterType =" System.String" Required =" true" />
88
81
<TargetFileName ParameterType =" System.String" Required =" true" />
92
85
<IconFile ParameterType =" System.String" Output =" true" />
93
86
</ParameterGroup >
94
87
<Task >
95
- <Reference Include =" $(_UpdatePListReference) " />
88
+ <Reference Include =" netstandard " />
96
89
<Code Type =" Class" Language =" cs" ><![CDATA[
97
90
using System;
98
91
using System.IO;
Original file line number Diff line number Diff line change 2
2
3
3
<Import Sdk =" Microsoft.NET.Sdk" Project =" Sdk.props" />
4
4
5
- <Import Project =" ..\..\build\MSBuildTaskHelper.props" Condition =" '$(MSBuildTaskHelpersImported)'!='true'" />
6
5
<Import Project =" ..\..\src\Eto.Mac\build\Mac.props" Condition =" '$(ExcludeRestorePackageImports)' != 'true'" />
7
6
8
7
<PropertyGroup >
You can’t perform that action at this time.
0 commit comments