77 Zeilen
2.8 KiB
XML
77 Zeilen
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<UseWindowsForms>true</UseWindowsForms>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<RootNamespace>PrinterMonitor</RootNamespace>
|
|
<AssemblyName>PrinterMonitor</AssemblyName>
|
|
<Version>1.0.2</Version>
|
|
<ApplicationIcon>Resources\app.ico</ApplicationIcon>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- WinForms global using entfernen um Konflikt mit WPF-Namespaces zu vermeiden -->
|
|
<Using Remove="System.Windows.Forms" />
|
|
<Using Remove="System.Drawing" />
|
|
</ItemGroup>
|
|
|
|
<!-- OPC UA Test Ordner aus Kompilierung ausschließen (eigenes separates Projekt) -->
|
|
<ItemGroup>
|
|
<Compile Remove="OPC UA Test\**" />
|
|
<EmbeddedResource Remove="OPC UA Test\**" />
|
|
<None Remove="OPC UA Test\**" />
|
|
</ItemGroup>
|
|
|
|
<!-- OPC UA Assemblies aus lokalem lib/ Ordner (keine NuGet-Verbindung nötig) -->
|
|
<ItemGroup>
|
|
<Reference Include="Opc.Ua.Core">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\Opc.Ua.Core.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Opc.Ua.Client">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\Opc.Ua.Client.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Opc.Ua.Configuration">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\Opc.Ua.Configuration.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Opc.Ua.Types">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\Opc.Ua.Types.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Opc.Ua.Security.Certificates">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\Opc.Ua.Security.Certificates.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="BitFaster.Caching">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\BitFaster.Caching.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\Newtonsoft.Json.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Formats.Asn1">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\System.Formats.Asn1.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Diagnostics.DiagnosticSource">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.Collections.Immutable">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\System.Collections.Immutable.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System.IO.Pipelines">
|
|
<HintPath>$(MSBuildThisFileDirectory)lib\System.IO.Pipelines.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
<Resource Include="Resources\app.ico" />
|
|
<None Update="appsettings.json">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
|
|
</Project>
|