48 lines
2.7 KiB
XML
48 lines
2.7 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>WinExe</OutputType>
|
|
<TargetFramework>net10.0-windows</TargetFramework>
|
|
<UseWPF>true</UseWPF>
|
|
<Nullable>enable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<ApplicationManifest>app.manifest</ApplicationManifest>
|
|
<ApplicationIcon>..\..\explorer-workbench-icons\explorer-workbench.ico</ApplicationIcon>
|
|
<RootNamespace>Explorer.App</RootNamespace>
|
|
<AssemblyName>Explorer.App</AssemblyName>
|
|
<ApplicationTitle>Explorer Workbench</ApplicationTitle>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Resource Include="..\..\explorer-workbench-icons\explorer-workbench.ico" Link="Assets\explorer-workbench.ico" />
|
|
<Resource Include="..\..\explorer-workbench-icons\explorer-workbench-20.png" Link="Assets\explorer-workbench-20.png" />
|
|
<EmbeddedResource Include="..\..\docs\Documentation.md" LogicalName="Explorer.Documentation.md" />
|
|
<Content Include="..\..\docs\Documentation.md" Link="Documentation.md" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0" />
|
|
<PackageReference Include="Serilog" Version="4.3.0" />
|
|
<PackageReference Include="Serilog.Extensions.Hosting" Version="9.0.0" />
|
|
<PackageReference Include="Serilog.Extensions.Logging" Version="9.0.0" />
|
|
<PackageReference Include="Serilog.Sinks.File" Version="7.0.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Explorer.Application\Explorer.Application.csproj" />
|
|
<ProjectReference Include="..\Explorer.Host\Explorer.Host.csproj">
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
<GlobalPropertiesToRemove>SelfContained;RuntimeIdentifier;PublishSingleFile</GlobalPropertiesToRemove>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Explorer.Hosting.Client\Explorer.Hosting.Client.csproj" />
|
|
<ProjectReference Include="..\Explorer.Presentation\Explorer.Presentation.csproj" />
|
|
<ProjectReference Include="..\Explorer.Windows\Explorer.Windows.csproj" />
|
|
</ItemGroup>
|
|
<Target Name="CopyExplorerHost" AfterTargets="Build">
|
|
<PropertyGroup>
|
|
<_HostDir>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)..\Explorer.Host\bin\$(Configuration)\net10.0-windows\'))</_HostDir>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<_HostFiles Include="$(_HostDir)*.*" Condition="Exists('$(_HostDir)Explorer.Host.exe')" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(_HostFiles)" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" Condition="'@(_HostFiles)' != ''" />
|
|
</Target>
|
|
</Project>
|