43 lines
1.5 KiB
XML
43 lines
1.5 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<Import
|
|
Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), PowerShellEditorServices.Common.props))\PowerShellEditorServices.Common.props" />
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net8.0</TargetFrameworks>
|
|
<IsPackable>false</IsPackable>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Debug" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="Newtonsoft.Json" />
|
|
<PackageReference Include="xunit" />
|
|
<PackageReference Include="xunit.runner.visualstudio" />
|
|
<PackageReference Include="Xunit.SkippableFact" />
|
|
</ItemGroup>
|
|
|
|
<Choose>
|
|
<When Condition=" '$(LocalOmniSharp)' == 'true' ">
|
|
<ItemGroup>
|
|
<ProjectReference
|
|
Include="..\..\..\csharp-language-server-protocol\src\Client\Client.csproj" />
|
|
<ProjectReference
|
|
Include="..\..\..\csharp-language-server-protocol\src\Dap.Client\Dap.client.csproj" />
|
|
</ItemGroup>
|
|
</When>
|
|
<Otherwise>
|
|
<ItemGroup>
|
|
<PackageReference Include="OmniSharp.Extensions.LanguageClient" />
|
|
<PackageReference Include="OmniSharp.Extensions.DebugAdapter.Client" />
|
|
</ItemGroup>
|
|
</Otherwise>
|
|
</Choose>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\PowerShellEditorServices\PowerShellEditorServices.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
</Project>
|