To support PowerShell modules built with .NET Windows Compatibility Pack, we decided that it was best to ship the WCP assemblies with PS Core. This also adds many new .NET APIs be default while only adding ~3.5 MB additional disk footprint (to a ~137 MB install currently). Also update the build to adopt the official .NET Core 2.1.
30 lines
1.3 KiB
XML
30 lines
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<Import Project="../Test.Common.props"/>
|
|
|
|
<PropertyGroup>
|
|
<Description>PowerShell xUnit Tests</Description>
|
|
<AssemblyName>powershell-tests</AssemblyName>
|
|
<RuntimeIdentifiers>win7-x86;win7-x64;osx-x64;linux-x64</RuntimeIdentifiers>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<DelaySign>true</DelaySign>
|
|
<AssemblyOriginatorKeyFile>../../src/signing/visualstudiopublic.snk</AssemblyOriginatorKeyFile>
|
|
<SignAssembly>true</SignAssembly>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../../src/Microsoft.PowerShell.SDK/Microsoft.PowerShell.SDK.csproj"/>
|
|
<ProjectReference Include="../../src/Microsoft.PowerShell.Commands.Diagnostics/Microsoft.PowerShell.Commands.Diagnostics.csproj"/>
|
|
<ProjectReference Include="../../src/Microsoft.WSMan.Management/Microsoft.WSMan.Management.csproj"/>
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="xunit" Version="2.4.0-beta.2.build4010" />
|
|
<PackageReference Include="Xunit.SkippableFact" Version="1.3.6" />
|
|
<!-- DotNetCliToolReference element specifies the CLI tool that the user wants to restore in the context of the project. -->
|
|
<DotNetCliToolReference Include="dotnet-xunit" Version="2.4.0-beta.1.build3958" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|