Keep the GUI as the index writer for now; mutex, named pipe, and opt-in logon autostart prepare Explorer.Host.exe without two SQLite writers. Co-authored-by: Cursor <cursoragent@cursor.com>
60 lines
3.6 KiB
XML
60 lines
3.6 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.Sinks.File" Version="7.0.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Explorer.Analysis\Explorer.Analysis.csproj" />
|
|
<ProjectReference Include="..\Explorer.Application\Explorer.Application.csproj" />
|
|
<ProjectReference Include="..\Explorer.Domain\Explorer.Domain.csproj" />
|
|
<ProjectReference Include="..\Explorer.FileOperations\Explorer.FileOperations.csproj" />
|
|
<ProjectReference Include="..\Explorer.Host\Explorer.Host.csproj">
|
|
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
|
|
</ProjectReference>
|
|
<ProjectReference Include="..\Explorer.Hosting\Explorer.Hosting.csproj" />
|
|
<ProjectReference Include="..\Explorer.Indexing\Explorer.Indexing.csproj" />
|
|
<ProjectReference Include="..\Explorer.Plugin.Abstractions\Explorer.Plugin.Abstractions.csproj" />
|
|
<ProjectReference Include="..\Explorer.Plugin.GoogleDrive\Explorer.Plugin.GoogleDrive.csproj" />
|
|
<ProjectReference Include="..\Explorer.Plugin.Nextcloud\Explorer.Plugin.Nextcloud.csproj" />
|
|
<ProjectReference Include="..\Explorer.Plugin.OneDrive\Explorer.Plugin.OneDrive.csproj" />
|
|
<ProjectReference Include="..\Explorer.Presentation\Explorer.Presentation.csproj" />
|
|
<ProjectReference Include="..\Explorer.Search\Explorer.Search.csproj" />
|
|
<ProjectReference Include="..\Explorer.Storage.Sqlite\Explorer.Storage.Sqlite.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)Explorer.Host.exe" />
|
|
<_HostFiles Include="$(_HostDir)Explorer.Host.dll" />
|
|
<_HostFiles Include="$(_HostDir)Explorer.Host.deps.json" />
|
|
<_HostFiles Include="$(_HostDir)Explorer.Host.runtimeconfig.json" />
|
|
<_HostFiles Include="$(_HostDir)Explorer.Host.pdb" />
|
|
</ItemGroup>
|
|
<Copy SourceFiles="@(_HostFiles)" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true" Condition="Exists('$(_HostDir)Explorer.Host.exe')" />
|
|
</Target>
|
|
</Project>
|