/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Tools/BuildValidator/BuildValidator.csproj
44 строки
2 KB
Jan Jones
Skip building test projects in official builds (#82818)
19 мар 2026, 17:02
Не верифицирован
19 мар 2026, 17:02
79038db
Код
Авторство
О чём код?
<?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>Exe</OutputType> <TargetFrameworks>net472;$(NetRoslyn)</TargetFrameworks> <PlatformTarget>AnyCPU</PlatformTarget> <Nullable>enable</Nullable> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> <IsShipping>false</IsShipping> <ExcludeFromDotNetBuild Condition="'$(DotNetBuildTests)' != 'true'">true</ExcludeFromDotNetBuild> <ExcludeFromBuild Condition="'$(DotNetBuildTests)' == 'false'">true</ExcludeFromBuild> <!-- Explicit AnyCPU so it runs as AnyCPU even on Debug builds --> <PlatformTarget>AnyCPU</PlatformTarget> </PropertyGroup> <ItemGroup Label="Project References"> <ProjectReference Include="..\..\Compilers\Core\Portable\Microsoft.CodeAnalysis.csproj" /> <ProjectReference Include="..\..\Compilers\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.csproj" /> <ProjectReference Include="..\..\Compilers\VisualBasic\Portable\Microsoft.CodeAnalysis.VisualBasic.vbproj" /> <ProjectReference Include="..\..\Compilers\Core\Rebuild\Microsoft.CodeAnalysis.Rebuild.csproj" /> </ItemGroup> <ItemGroup> <PackageReference Include="Microsoft.Extensions.Logging" /> <PackageReference Include="Microsoft.Extensions.Logging.Console" /> <PackageReference Include="Microsoft.Win32.Registry" /> <PackageReference Include="System.Reflection.Metadata" /> <PackageReference Include="Microsoft.Metadata.Visualizer" /> <PackageReference Include="Microsoft.DiaSymReader.Converter.Xml" /> <PackageReference Include="Newtonsoft.Json" /> <PackageReference Include="System.CommandLine" /> <!-- Make sure that we restore Desktop reference assemblies, so that we index them when validating assemblies we built that target net472 --> <PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies.net472" /> </ItemGroup> <ItemGroup> <EmbeddedResource Update="BuildValidatorResources.resx" GenerateSource="true" /> </ItemGroup> <Import Project="$(RepositoryEngineeringDir)targets\ILDAsm.targets" /> </Project>