/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/Compilers/CSharp/Portable/Microsoft.CodeAnalysis.CSharp.csproj
95 строк
6 KB
Copilot
Remove superfluous `src/Tools/Source` directory level (#83484)
30 апр 2026, 06:54
Не верифицирован
30 апр 2026, 06:54
2933275
Код
Авторство
О чём код?
<?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.CSharp</RootNamespace> <AllowUnsafeBlocks>true</AllowUnsafeBlocks> <TargetFrameworks>$(NetRoslynSourceBuild);netstandard2.0</TargetFrameworks> <GenerateMicrosoftCodeAnalysisCommitHashAttribute>true</GenerateMicrosoftCodeAnalysisCommitHashAttribute> <ApplyNgenOptimization Condition="'$(TargetFramework)' == 'netstandard2.0'">full</ApplyNgenOptimization> <!-- NuGet --> <IsPackable>true</IsPackable> <PackageDescription> .NET Compiler Platform ("Roslyn") support for C#, Microsoft.CodeAnalysis.CSharp.dll. </PackageDescription> <!-- Enable output of generated files back into our Generated directory --> <EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles> <CompilerGeneratedFilesOutputPath>$(MSBuildThisFileDirectory)\Generated</CompilerGeneratedFilesOutputPath> </PropertyGroup> <ItemGroup> <ProjectReference Include="..\..\Core\Portable\Microsoft.CodeAnalysis.csproj" /> <ProjectReference Include="..\..\..\Tools\CompilerGeneratorTools\Source\CSharpSyntaxGenerator\CSharpSyntaxGenerator.csproj"> <OutputItemType>Analyzer</OutputItemType> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> <!-- The generator project currently builds as both a console app and a source generator, depending upon which TFM is built. No matter what the this project builds as, we want to grab the generator.--> <SetTargetFramework>TargetFramework=netstandard2.0</SetTargetFramework> </ProjectReference> </ItemGroup> <ItemGroup> <None Include="BoundTree\BoundNodes.xml" /> <None Include="BoundTree\BoundNodes.xsd" /> <None Include="Generated\CSharp.Generated.g4" /> <AdditionalFiles Include="Syntax\Syntax.xml" /> <None Include="Syntax\Syntax.xsd" /> <None Include="UseSiteDiagnosticsCheckEnforcer\BaseLine.txt" /> <None Include="UseSiteDiagnosticsCheckEnforcer\Run.bat" /> <None Include="FlowAnalysis\Flow Analysis Design.docx" /> <PublicAPI Include="PublicAPI.Shipped.txt" /> <PublicAPI Include="PublicAPI.Unshipped.txt" /> <!-- Don't include the output from a previous source generator execution into future runs; the */** trick here ensures that there's at least one subdirectory, which is our key that it's coming from a source generator as opposed to something that is coming from some other tool. --> <Compile Remove="$(CompilerGeneratedFilesOutputPath)/*/**/*.cs" /> </ItemGroup> <ItemGroup> <EmbeddedResource Update="CSharpResources.resx" GenerateSource="true" /> </ItemGroup> <ItemGroup> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler" /> <InternalsVisibleTo Include="csc" /> <InternalsVisibleTo Include="csi" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Scripting" /> <InternalsVisibleTo Include="VBCSCompiler" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.UnitTests" /> <InternalsVisibleTo Include="VBCSCompiler.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Rebuild.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Emit.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.CSharp15.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.WinRT.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Test.Utilities" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.ExpressionEvaluator.ExpressionCompiler.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Test.Utilities" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Scripting.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Scripting.Desktop.UnitTests" /> <InternalsVisibleTo Include="InteractiveHost.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Features.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Features.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.CSharp.Features.UnitTests"/> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.EditorFeatures2.UnitTests" /> <InternalsVisibleTo Include="CompilerBenchmarks" /> <InternalsVisibleTo Include="Microsoft.Build.Tasks.CodeAnalysis.UnitTests" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.Features.Test.Utilities" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.LanguageServer.Protocol.Test.Utilities" /> <InternalsVisibleTo Include="Microsoft.CodeAnalysis.ExternalAccess.HotReload.UnitTests" /> <InternalsVisibleTo Include="SemanticSearch.BuildTask.UnitTests" /> <InternalsVisibleTo Include="Roslyn.Test.PdbUtilities"/> </ItemGroup> <Import Project="..\CSharpAnalyzerDriver\CSharpAnalyzerDriver.projitems" Label="Shared" /> </Project>