File tree Expand file tree Collapse file tree 4 files changed +17
-8
lines changed
Compilers/Core/MSBuildTask
Tools/SemanticSearch/BuildTask Expand file tree Collapse file tree 4 files changed +17
-8
lines changed Original file line number Diff line number Diff line change
1
+ <!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
2
+ <Project >
3
+
4
+ <!--
5
+ Included in projects that define msbuild tasks.
6
+ -->
7
+
8
+ <ItemGroup >
9
+ <PackageReference Include =" Microsoft.Build.Framework" ExcludeAssets =" Runtime" />
10
+ <PackageReference Include =" Microsoft.Build.Tasks.Core" ExcludeAssets =" Runtime" />
11
+ <PackageReference Include =" System.Memory" Condition =" '$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
12
+ <PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Condition =" '$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
13
+ </ItemGroup >
14
+ </Project >
Original file line number Diff line number Diff line change 1
1
<!-- Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information. -->
2
2
<Project >
3
3
<Import Project =" $([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
4
+ <Import Project =" $(RepositoryEngineeringDir)targets\BuildTask.props" />
4
5
5
6
<PropertyGroup >
6
7
<DefaultLanguage >en-US</DefaultLanguage >
Original file line number Diff line number Diff line change 2
2
<!-- Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license. See the LICENSE file in the project root for more information. -->
3
3
<Project >
4
4
<ItemGroup >
5
- <PackageReference Include =" Microsoft.Build.Framework" ExcludeAssets =" Runtime" />
6
- <PackageReference Include =" Microsoft.Build.Tasks.Core" ExcludeAssets =" Runtime" />
7
- <PackageReference Include =" System.Memory" Condition =" '$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
8
- <PackageReference Include =" System.Runtime.CompilerServices.Unsafe" Condition =" '$(TargetFrameworkIdentifier)' != '.NETCoreApp'" />
9
5
<CompilerVersionTargetsFile Include =" $(IntermediateOutputPath)Microsoft.Managed.Core.CurrentVersions.targets" />
10
6
</ItemGroup >
11
7
<Target Name =" GenerateCompilerVersionTargets" BeforeTargets =" AssignTargetPaths" DependsOnTargets =" GenerateCompilerVersionTargetsFile" >
Original file line number Diff line number Diff line change 5
5
<AutoGenerateAssemblyVersion >true</AutoGenerateAssemblyVersion >
6
6
<AllowUnsafeBlocks >true</AllowUnsafeBlocks >
7
7
</PropertyGroup >
8
- <ItemGroup >
9
- <PackageReference Include =" Microsoft.Build.Framework" Version =" $(RefOnlyMicrosoftBuildFrameworkVersion)" />
10
- <PackageReference Include =" Microsoft.Build.Tasks.Core" Version =" $(RefOnlyMicrosoftBuildTasksCoreVersion)" />
11
- </ItemGroup >
12
8
<ItemGroup >
13
9
<ProjectReference Include =" ..\..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" Private =" true" />
14
10
<ProjectReference Include =" ..\..\..\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj" Private =" true" />
15
11
</ItemGroup >
16
12
<ItemGroup >
17
13
<InternalsVisibleTo Include =" SemanticSearch.BuildTask.UnitTests" />
18
14
</ItemGroup >
15
+
16
+ <Import Project =" $(RepositoryEngineeringDir)targets\BuildTask.props" />
19
17
<Import Project =" ..\..\..\Dependencies\Contracts\Microsoft.CodeAnalysis.Contracts.projitems" Label =" Shared" />
20
18
</Project >
You can’t perform that action at this time.
0 commit comments