|
|
|
|
@ -1,45 +1,70 @@ |
|
|
|
|
<Project Sdk="Microsoft.NET.Sdk"> |
|
|
|
|
|
|
|
|
|
<PropertyGroup> |
|
|
|
|
<OutputType>WinExe</OutputType> |
|
|
|
|
<TargetFramework>net6.0-windows</TargetFramework> |
|
|
|
|
<Nullable>enable</Nullable> |
|
|
|
|
<UseWPF>true</UseWPF> |
|
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<None Remove="Assets\mdi-console-white.png" /> |
|
|
|
|
<None Remove="Assets\mdi-import.png" /> |
|
|
|
|
<None Remove="Assets\mdi-keyboard.png" /> |
|
|
|
|
<None Remove="Assets\mdi-network.png" /> |
|
|
|
|
<None Remove="Assets\mdi-serial-port.png" /> |
|
|
|
|
<None Remove="Assets\mid-serial-port.png" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" /> |
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" /> |
|
|
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<ProjectReference Include="..\Common\Common.csproj" /> |
|
|
|
|
<ProjectReference Include="..\MultiTerm.Core\MultiTerm.Core.csproj" /> |
|
|
|
|
<ProjectReference Include="..\MultiTerm.Wpf.CustomControl\MultiTerm.Wpf.CustomControl.csproj" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<Resource Include="Assets\mdi-console-white.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-import.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-keyboard.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-network.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-serial-port.png" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<Compile Update="View\SettingsView\TcpClientSettingsView.xaml.cs"> |
|
|
|
|
<SubType>Code</SubType> |
|
|
|
|
</Compile> |
|
|
|
|
</ItemGroup> |
|
|
|
|
<PropertyGroup> |
|
|
|
|
<OutputType>WinExe</OutputType> |
|
|
|
|
<TargetFramework>net6.0-windows</TargetFramework> |
|
|
|
|
<Nullable>enable</Nullable> |
|
|
|
|
<UseWPF>true</UseWPF> |
|
|
|
|
<ApplicationIcon>Assets\console.ico</ApplicationIcon> |
|
|
|
|
<IsPublishable>True</IsPublishable> |
|
|
|
|
</PropertyGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<None Remove="Assets\mdi-console-white.png" /> |
|
|
|
|
<None Remove="Assets\mdi-import.png" /> |
|
|
|
|
<None Remove="Assets\mdi-keyboard.png" /> |
|
|
|
|
<None Remove="Assets\mdi-network.png" /> |
|
|
|
|
<None Remove="Assets\mdi-serial-port.png" /> |
|
|
|
|
<None Remove="Assets\mid-serial-port.png" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<Content Include="Assets\console.ico" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<Content Include="..\MultiTerm.Protocols\UsbHid\hidapi.dll" Link="hidapi.dll"> |
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
|
|
|
|
</Content> |
|
|
|
|
<Content Include="..\MultiTerm.Protocols\UsbHid\hidapi.lib" Link="hidapi.lib"> |
|
|
|
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
|
|
|
|
</Content> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" /> |
|
|
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" /> |
|
|
|
|
<PackageReference Include="Microsoft.Xaml.Behaviors.Wpf" Version="1.1.39" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<ProjectReference Include="..\Common\Common.csproj" /> |
|
|
|
|
<ProjectReference Include="..\MultiTerm.Core\MultiTerm.Core.csproj" /> |
|
|
|
|
<ProjectReference Include="..\MultiTerm.Wpf.CustomControl\MultiTerm.Wpf.CustomControl.csproj" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<Resource Include="Assets\mdi-console-white.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-import.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-keyboard.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-network.png" /> |
|
|
|
|
<Resource Include="Assets\mdi-serial-port.png" /> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
<Compile Update="View\SettingsView\TcpClientSettingsView.xaml.cs"> |
|
|
|
|
<SubType>Code</SubType> |
|
|
|
|
</Compile> |
|
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
|
|
<!-- Overwrite AssemblyVersion with Published version, since in NET6 there is no access to the ApplicationDeployment class--> |
|
|
|
|
<Target Name="SetAssemblyVersion" BeforeTargets="BeforeCompile"> |
|
|
|
|
<FormatVersion Version="$(ApplicationVersion)" Revision="$(ApplicationRevision)"> |
|
|
|
|
<Output PropertyName="AssemblyVersion" TaskParameter="OutputVersion" /> |
|
|
|
|
</FormatVersion> |
|
|
|
|
<FormatVersion Version="$(ApplicationVersion)" Revision="$(ApplicationRevision)"> |
|
|
|
|
<Output PropertyName="FileVersion" TaskParameter="OutputVersion" /> |
|
|
|
|
</FormatVersion> |
|
|
|
|
</Target> |
|
|
|
|
|
|
|
|
|
</Project> |
|
|
|
|
|