forked from dotnet/msbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMSBuildTaskHost.csproj
More file actions
270 lines (260 loc) · 11.3 KB
/
Copy pathMSBuildTaskHost.csproj
File metadata and controls
270 lines (260 loc) · 11.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
<Project Sdk="Microsoft.NET.Sdk">
<!-- The .NET Core version of MSBuild doesn't support targeting .NET Framework 3.5. So in that case, we import
a .props file that prevents building the project from doing much of anything. -->
<Import Project="$(RepoRoot)eng\ProducesNoOutput.Settings.props" Condition="'$(MSBuildRuntimeType)' == 'Core'" />
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<OutputType>Exe</OutputType>
<PlatformTarget Condition="'$(Platform)' == 'x64'">x64</PlatformTarget>
<PlatformTarget Condition="'$(Platform)' == 'AnyCPU'">x86</PlatformTarget>
<!-- Set RuntimeIdentifiers so that NuGet will restore for both AnyCPU as well as x86 and x64.
This is important for the MSBuild.VSSetup project, which "references" both the x86 and x64
versions of this project -->
<RuntimeIdentifiers Condition="'$(DotNetBuildSourceOnly)' != 'true'">win7-x86;win7-x64</RuntimeIdentifiers>
<UseRidGraph>true</UseRidGraph>
<EnableDefaultItems>false</EnableDefaultItems>
<DefineConstants>$(DefineConstants);CLR2COMPATIBILITY;TASKHOST;NO_FRAMEWORK_IVT</DefineConstants>
<!-- Need pointers for getting environment block -->
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<!-- It is vital that msbuildtaskhost.exe is allowed to use the full 4GB on 64 bit machines in order to help avoid
out of memory problems on large trees -->
<LargeAddressAware>true</LargeAddressAware>
<ApplicationIcon>..\MSBuild\MSBuild.ico</ApplicationIcon>
<!-- workaround for https://github.com/dotnet/msbuild/issues/5620 -->
<BypassFrameworkInstallChecks>true</BypassFrameworkInstallChecks>
<DebugType>full</DebugType><!-- Work around arcade stomping on symbols for same-program-different-arches. -->
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.Build.Framework, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
<SpecificVersion>true</SpecificVersion>
</Reference>
</ItemGroup>
<ItemGroup>
<!-- Source Files -->
<Compile Include="..\GlobalUsings.cs">
<Link>GlobalUsings.cs</Link>
</Compile>
<Compile Include="..\Shared\BuildEnvironmentHelper.cs">
<Link>BuildEnvironmentHelper.cs</Link>
</Compile>
<Compile Include="..\Framework\BuildEnvironmentState.cs">
<Link>BuildEnvironmentState.cs</Link>
</Compile>
<Compile Include="..\Shared\AssemblyNameComparer.cs">
<Link>AssemblyNameComparer.cs</Link>
</Compile>
<Compile Include="..\Framework\BuildEngineResult.cs">
<Link>BuildEngineResult.cs</Link>
</Compile>
<Compile Include="..\Framework\IBuildEngine3.cs">
<Link>IBuildEngine3.cs</Link>
</Compile>
<Compile Include="..\Framework\RunInSTAAttribute.cs">
<Link>RunInSTAAtribute.cs</Link>
</Compile>
<Compile Include="..\Framework\ITaskItem2.cs">
<Link>ITaskItem2.cs</Link>
</Compile>
<Compile Include="..\Framework\IExtendedBuildEventArgs.cs">
<Link>IExtendedBuildEventArgs.cs</Link>
</Compile>
<Compile Include="..\Framework\AssemblyUtilities.cs" />
<Compile Include="..\Framework\Polyfills\*.cs" />
<Compile Include="..\Framework\ResponseFileUsedEventArgs.cs" />
<Compile Include="..\Shared\BufferedReadStream.cs" />
<Compile Include="..\Shared\CollectionHelpers.cs" />
<Compile Include="..\Shared\CopyOnWriteDictionary.cs">
<Link>CopyOnWriteDictionary.cs</Link>
</Compile>
<Compile Include="..\Shared\Constants.cs" />
<Compile Include="..\Shared\IsExternalInit.cs" />
<Compile Include="..\Shared\EnvironmentUtilities.cs" Link="EnvironmentUtilities.cs" />
<Compile Include="..\Shared\ReadOnlyEmptyDictionary.cs" />
<Compile Include="..\Framework\ErrorUtilities.cs">
<Link>ErrorUtilities.cs</Link>
</Compile>
<Compile Include="..\Shared\ErrorUtilities.cs">
<Link>SharedErrorUtilities.cs</Link>
</Compile>
<Compile Include="..\Shared\EscapingUtilities.cs">
<Link>EscapingUtilities.cs</Link>
</Compile>
<Compile Include="..\Shared\ExceptionHandling.cs">
<Link>ExceptionHandling.cs</Link>
</Compile>
<Compile Include="..\Framework\FileUtilities.cs">
<Link>FileUtilities.cs</Link>
</Compile>
<Compile Include="..\Shared\FileUtilities.cs">
<Link>SharedFileUtilities.cs</Link>
</Compile>
<Compile Include="..\Shared\FileUtilitiesRegex.cs">
<Link>FileUtilitiesRegex.cs</Link>
</Compile>
<Compile Include="..\Shared\INodeEndpoint.cs">
<Link>INodeEndpoint.cs</Link>
</Compile>
<Compile Include="..\Shared\INodePacket.cs">
<Link>INodePacket.cs</Link>
</Compile>
<Compile Include="..\Shared\INodePacketFactory.cs">
<Link>INodePacketFactory.cs</Link>
</Compile>
<Compile Include="..\Shared\INodePacketHandler.cs">
<Link>INodePacketHandler.cs</Link>
</Compile>
<Compile Include="..\Framework\ITranslatable.cs">
<Link>ITranslatable.cs</Link>
</Compile>
<Compile Include="..\Framework\ITranslator.cs">
<Link>ITranslator.cs</Link>
</Compile>
<Compile Include="..\Shared\TranslatorHelpers.cs" />
<Compile Include="..\Framework\InternalErrorException.cs">
<Link>InternalErrorException.cs</Link>
</Compile>
<Compile Include="..\Shared\InterningBinaryReader.cs">
<Link>InterningBinaryReader.cs</Link>
</Compile>
<Compile Include="..\Framework\BinaryReaderFactory.cs">
<Link>BinaryReaderFactory.cs</Link>
</Compile>
<Compile Include="..\Shared\BinaryReaderExtensions.cs">
<Link>BinaryReaderExtensions.cs</Link>
</Compile>
<Compile Include="..\Shared\BinaryWriterExtensions.cs">
<Link>BinaryWriterExtensions.cs</Link>
</Compile>
<Compile Include="..\Shared\LogMessagePacketBase.cs">
<Link>LogMessagePacketBase.cs</Link>
</Compile>
<Compile Include="..\Shared\Modifiers.cs">
<Link>Modifiers.cs</Link>
</Compile>
<Compile Include="..\Shared\NamedPipeUtil.cs" />
<Compile Include="..\Framework\NativeMethods.cs">
<Link>NativeMethodsShared.cs</Link>
</Compile>
<Compile Include="..\Framework\Logging\AnsiDetector.cs">
<Link>AnsiDetector.cs</Link>
</Compile>
<Compile Include="..\Shared\NodeBuildComplete.cs">
<Link>NodeBuildComplete.cs</Link>
</Compile>
<Compile Include="..\Shared\NodeEndpointOutOfProcBase.cs">
<Link>NodeEndpointOutOfProcBase.cs</Link>
</Compile>
<Compile Include="..\Shared\NodeEngineShutdownReason.cs">
<Link>NodeEngineShutdownReason.cs</Link>
</Compile>
<Compile Include="..\Shared\NodePacketFactory.cs">
<Link>NodePacketFactory.cs</Link>
</Compile>
<Compile Include="..\Framework\BinaryTranslator.cs">
<Link>BinaryTranslator.cs</Link>
</Compile>
<Compile Include="..\Framework\BuildException\BuildExceptionBase.cs">
<Link>BuildExceptionBase.cs</Link>
</Compile>
<Compile Include="..\Framework\BuildException\BuildExceptionRemoteState.cs">
<Link>BuildExceptionRemoteState.cs</Link>
</Compile>
<Compile Include="..\Framework\BuildException\BuildExceptionSerializationHelper.cs">
<Link>BuildExceptionSerializationHelper.cs</Link>
</Compile>
<Compile Include="..\Framework\BuildException\GenericBuildTransferredException.cs">
<Link>GenericBuildTransferredException.cs</Link>
</Compile>
<Compile Include="..\Shared\NodeShutdown.cs">
<Link>NodeShutdown.cs</Link>
</Compile>
<Compile Include="..\Shared\ReadOnlyEmptyCollection.cs">
<Link>ReadOnlyEmptyCollection.cs</Link>
</Compile>
<Compile Include="..\Shared\ResourceUtilities.cs">
<Link>ResourceUtilities.cs</Link>
</Compile>
<Compile Include="..\Framework\StringBuilderCache.cs">
<Link>StringBuilderCache.cs</Link>
</Compile>
<Compile Include="..\Framework\SupportedOSPlatform.cs">
<Link>SupportedOSPlatform.cs</Link>
</Compile>
<Compile Include="..\Shared\TaskEngineAssemblyResolver.cs">
<Link>TaskEngineAssemblyResolver.cs</Link>
</Compile>
<Compile Include="..\Shared\TaskParameterTypeVerifier.cs">
<Link>TaskParameterTypeVerifier.cs</Link>
</Compile>
<Compile Include="..\Framework\Traits.cs">
<Link>FrameworkTraits.cs</Link>
</Compile>
<Compile Include="..\Framework\VisualStudioLocationHelper.cs">
<Link>VisualStudioLocationHelper.cs</Link>
</Compile>
<Compile Include="..\Shared\XMakeAttributes.cs">
<Link>XMakeAttributes.cs</Link>
</Compile>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="AssemblyResources.cs" />
<Compile Include="..\Framework\ChangeWaves.cs">
<Link>ChangeWaves.cs</Link>
</Compile>
<Compile Include="Concurrent\ConcurrentDictionary.cs" />
<Compile Include="Concurrent\ConcurrentQueue.cs" />
<Compile Include="Immutable\ImmutableDictionary.cs" />
<Compile Include="NullableAttributes.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="TypeLoader.cs" />
<Compile Include="OutOfProcTaskHost.cs" />
<Compile Include="..\Shared\CommunicationsUtilities.cs" />
<Compile Include="..\Shared\TaskHostConfiguration.cs" />
<Compile Include="..\Shared\TaskHostTaskComplete.cs" />
<Compile Include="..\Shared\OutOfProcTaskHostTaskResult.cs">
<Link>OutOfProcTaskHostTaskResult.cs</Link>
</Compile>
<Compile Include="..\Shared\TaskLoader.cs" />
<Compile Include="..\Shared\LoadedType.cs" />
<Compile Include="..\Shared\AssemblyLoadInfo.cs" />
<Compile Include="..\Shared\TaskHostTaskCancelled.cs" />
<Compile Include="..\Shared\TaskParameter.cs" />
<Compile Include="..\Shared\AssemblyNameExtension.cs" />
<Compile Include="..\Framework\InterningReadTranslator.cs" />
<Compile Include="..\Framework\InterningWriteTranslator.cs" />
<Compile Include="..\Framework\InternPathIds.cs" />
<Compile Include="..\Framework\TaskHostParameters.cs" />
<Compile Include="..\Framework\IConstrainedEqualityComparer.cs" />
<Compile Include="..\Framework\ImmutableDictionaryExtensions.cs" />
<Compile Include="..\Framework\MSBuildNameIgnoreCaseComparer.cs" />
<Compile Include="..\Framework\SerializableMetadata.cs" />
<Compile Include="..\Shared\FileSystem\IFileSystem.cs" />
<Compile Include="..\Shared\FileSystem\FileSystems.cs" />
<Compile Include="FileSystem\MSBuildTaskHostFileSystem.cs" />
<Compile Include="..\MSBuild\NodeEndpointOutOfProcTaskHost.cs" />
<Compile Include="..\MSBuild\OutOfProcTaskHostNode.cs" />
<Compile Include="..\MSBuild\OutOfProcTaskAppDomainWrapperBase.cs">
<Link>OutOfProcTaskAppDomainWrapperBase.cs</Link>
</Compile>
<Compile Include="OutOfProcTaskAppDomainWrapper.cs" />
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="..\Shared\Resources\Strings.shared.resx">
<LogicalName>$(AssemblyName).Strings.shared.resources</LogicalName>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Content Include="..\MSBuild\MSBuild.ico" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\StringTools\StringTools.csproj" />
</ItemGroup>
<ItemGroup>
<!-- Disabled PdbGit because of warnings; it could/should be brought back.
<PackageReference Include="PdbGit" /> -->
<PackageReference Include="LargeAddressAware" PrivateAssets="All" />
</ItemGroup>
</Project>