/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Features/CSharpTest/Microsoft.CodeAnalysis.CSharp.Features.UnitTests.csproj
45 строк
3 KB
Jared Parsons
Port remaining unit test projects to Linux (#83153)
17 апр 2026, 19:00
Не верифицирован
17 апр 2026, 19:00
8b511b9
Код
Авторство
О чём код?
<?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> <!-- Test our primary scenarios: VS OOP, VS Code, devenv --> <TargetFrameworks>$(NetVSShared);net472</TargetFrameworks> <RootNamespace>Microsoft.CodeAnalysis.CSharp.UnitTests</RootNamespace> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> </PropertyGroup> <ItemGroup Label="Project References"> <ProjectReference Include="..\..\Compilers\Test\Utilities\CSharp\Microsoft.CodeAnalysis.CSharp.Test.Utilities.csproj" /> <ProjectReference Include="..\CSharp\Portable\Microsoft.CodeAnalysis.CSharp.Features.csproj" /> <ProjectReference Include="..\DiagnosticsTestUtilities\Microsoft.CodeAnalysis.Features.DiagnosticsTests.Utilities.csproj" /> <ProjectReference Include="..\TestUtilities\Microsoft.CodeAnalysis.Features.Test.Utilities.csproj" /> </ItemGroup> <ItemGroup> <!-- Not using ProjectReference since it does not execute the specified targets when building in VS. See https://github.com/microsoft/msbuild/issues/5434. --> <CopyPublishedOutputProjectReference Include="..\..\Tools\SemanticSearch\ReferenceAssemblies\SemanticSearch.ReferenceAssemblies.csproj"> <OutputItemType>SemanticSearch_RefAssemblies</OutputItemType> <SetTargetFramework>TargetFramework=$(NetVS)</SetTargetFramework> </CopyPublishedOutputProjectReference> </ItemGroup> <ItemGroup> <PackageReference Include="Basic.Reference.Assemblies.Net60" /> <PackageReference Include="Basic.Reference.Assemblies.Net80" /> <PackageReference Include="Basic.Reference.Assemblies.Net90" /> </ItemGroup> <Import Project="..\..\Analyzers\CSharp\Tests\CSharpAnalyzers.UnitTests.projitems" Label="Shared" /> <Target Name="_DeploySemanticSearchRefAssemblies" AfterTargets="ResolveProjectReferences" Condition="'$(DesignTimeBuild)' != 'true'"> <MSBuild Projects="@(CopyPublishedOutputProjectReference)" Targets="PublishVsixItems" BuildInParallel="$(BuildInParallel)" Properties="%(CopyPublishedOutputProjectReference.SetTargetFramework)"> <Output TaskParameter="TargetOutputs" ItemName="%(CopyPublishedOutputProjectReference.OutputItemType)" /> </MSBuild> <ItemGroup> <Content Include="@(SemanticSearch_RefAssemblies)" Link="SemanticSearchRefs\%(FileName)%(Extension)" CopyToOutputDirectory="PreserveNewest" /> </ItemGroup> </Target> </Project>