Files
Dongbo Wang 77e256abcb Update build to use net462 (#3285)
net461 is reaching end of support on 4/26/2022.
2022-04-20 16:01:19 -07:00

31 lines
1.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0">
<PropertyGroup>
<ProjectGuid>{08218B1A-8B85-4722-9E3F-4D6C0BF58AD8}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>MockPSConsole</RootNamespace>
<AssemblyName>MockPSConsole</AssemblyName>
<TargetFrameworks>net462;net6.0</TargetFrameworks>
<FileAlignment>512</FileAlignment>
<ApplicationManifest>Program.manifest</ApplicationManifest>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Include="System.Xml.XDocument" version="4.3.0" />
<PackageReference Include="System.Data.DataSetExtensions" version="4.5.0" />
<PackageReference Include="Microsoft.CSharp" version="4.7.0" />
<PackageReference Include="PowerShellStandard.Library" version="5.1.0" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
<PackageReference Include="Microsoft.PowerShell.SDK" version="7.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\PSReadLine\PSReadLine.csproj">
<Project>{615788cb-1b9a-4b34-97b3-4608686e59ca}</Project>
<Name>PSReadLine</Name>
</ProjectReference>
</ItemGroup>
</Project>