/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/Core/MSBuildTask/MSBuild/Microsoft.Build.Tasks.CodeAnalysis.csproj
22 строки
1 KB
Jeremy Kuhne
Make Microsoft.Build.Tasks.CodeAnalysis AOT and single-file clean (#84335)
10 июл 2026, 21:28
Не верифицирован
10 июл 2026, 21:28
be8a845
Код
Авторство
О чём код?
<?xml version="1.0" encoding="utf-8"?> <!-- 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. --> <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Library</OutputType> <RootNamespace>Microsoft.CodeAnalysis.BuildTasks</RootNamespace> <TargetFrameworks>$(NetRoslynSourceBuild);net472</TargetFrameworks> <DefineConstants>$(DefineConstants);MICROSOFT_CODEANALYSIS_CONTRACTS_NO_VALUE_TASK</DefineConstants> <!-- A .NET copy of this task assembly is included in the .NET SDK's Native AOT CLI, so it must be clean for trimming, AOT, and single-file publishing. IsAotCompatible (enabled only for the .NET build, not net472) turns on the trim, AOT, and single-file analyzers. --> <IsAotCompatible Condition="'$(TargetFramework)' == '$(NetRoslynSourceBuild)'">true</IsAotCompatible> </PropertyGroup> <ItemGroup> <InternalsVisibleTo Include="Microsoft.Build.Tasks.CodeAnalysis.UnitTests" /> </ItemGroup> <Import Project="..\..\..\..\Dependencies\Contracts\Microsoft.CodeAnalysis.Contracts.projitems" Label="Shared" /> </Project>