/
githubmirror
/
roslyn
Обзор
Документация
Войти
/
githubmirror
/
roslyn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/VisualStudio/IntegrationTest/Harness/SourceGeneratorUnitTests/Microsoft.VisualStudio.Extensibility.Testing.SourceGenerator.UnitTests.csproj
39 строк
1 KB
Jan Jones
Remove deprecated testing packages
16 янв 2026, 17:05
Не верифицирован
16 янв 2026, 17:05
ec516d0
Код
Авторство
О чём код?
<Project> <Import Sdk="Microsoft.NET.Sdk" Project="Sdk.props" /> <PropertyGroup> <TargetFramework>net472</TargetFramework> </PropertyGroup> <ItemGroup> <!-- This needs to be a package reference to avoid attempting to use a newer compiler version than either the CLI or IDE has. --> <PackageReference Include="Microsoft.CodeAnalysis.CSharp" /> <PackageReference Include="Microsoft.CodeAnalysis.CSharp.SourceGenerators.Testing" /> <PackageReference Include="Newtonsoft.Json" /> <PackageReference Include="xunit" /> </ItemGroup> <ItemGroup> <Compile Remove="Resources\**\*.cs" /> <EmbeddedResource Include="Resources\**\*.cs" /> </ItemGroup> <ItemGroup> <None Update="xunit.runner.json"> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> </None> </ItemGroup> <ItemGroup> <ProjectReference Include="..\XUnit\Microsoft.VisualStudio.Extensibility.Testing.Xunit.csproj" OutputItemType="CurrentContent" ReferenceOutputAssembly="false" SkipGetTargetFrameworkProperties="true" /> <ProjectReference Include="..\SourceGenerator\Microsoft.VisualStudio.Extensibility.Testing.SourceGenerator.csproj" /> </ItemGroup> <Import Sdk="Microsoft.NET.Sdk" Project="Sdk.targets" /> <Target Name="UpdateContentPaths" AfterTargets="ResolveProjectReferences"> <ItemGroup> <Content Include="@(CurrentContent)" Link="Current\%(Filename)%(Extension)" CopyToOutputDirectory="PreserveNewest" /> </ItemGroup> </Target> </Project>