<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <TargetFramework>net5.0</TargetFramework>
        <AssemblyName>App.$(MSBuildProjectName)</AssemblyName>
        <RootNamespace>App.$(MSBuildProjectName)</RootNamespace>
        <IsPackable>false</IsPackable>
        <Authors>Oliver Hawk</Authors>
    </PropertyGroup>

    <ItemGroup>
      <Compile Include="Assembly.fs" />
      <Content Include="PluginResources\icon.png">
        <CopyToOutputDirectory>Always</CopyToOutputDirectory>
      </Content>
      <Compile Include="Common\PluginConstants.fs" />
      <Compile Include="Common\ObservableJobStatusMachine.fs" />
      <Compile Include="Common\Operators.fs" />
      <Compile Include="Caching\Caching.fs" />
      <Compile Include="PersistAppState\SerializableTypes.fs" />
      <Compile Include="PersistAppState\CustomConverters.fs" />
      <Compile Include="PersistAppState\AppStateSerializer.fs" />
      <Compile Include="PersistAppState\PersistAppState.fs" />
      <Compile Include="Preferences\PersistPreferences\ConfigSerializer.fs" />
      <Compile Include="Preferences\PersistPreferences\PersistPreferences.fs" />
      <Compile Include="Preferences\DefaultPreferences\DefaultPreferences.fs" />
      <Compile Include="Engine\EnginesDirectoryGetter\EnginesDirectoryGetter.fs" />
      <Compile Include="Engine\DownloadEngine\DownloadEngineJob.fs" />
      <Compile Include="Engine\DownloadEngine\DownloadEngine.fs" />
      <Compile Include="Engine\InstallEngine\InstallEngineJob.fs" />
      <Compile Include="Engine\InstallEngine\InstallEngine.fs" />
      <Compile Include="Engine\RemoveEngine\RemoveEngine.fs" />
      <Compile Include="Engine\RunEngine\RunEngine.fs" />
      <Compile Include="Project\ProjectsDirectoryGetter\ProjectsDirectoryGetter.fs" />
      <Compile Include="Project\CreateNewProject\SimpleCreateProjectJob.fs" />
      <Compile Include="Project\CreateNewProject\v3\ProjectFilesText_v3.fs" />
      <Compile Include="Project\CreateNewProject\v3\CreateNewProject_v3.fs" />
      <Compile Include="Project\AddExistingProject\v3\AddExistingProject_v3.fs" />
      <Compile Include="Project\RemoveProject\RemoveProject.fs" />
      <Compile Include="Project\OpenProject\OpenProject.fs" />
    </ItemGroup>

    <ItemGroup>
      <PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2">
          <PrivateAssets>compile</PrivateAssets>
      </PackageReference>
      <PackageReference Include="SharpConfig" Version="3.2.9.1">
          <PrivateAssets>compile</PrivateAssets>
      </PackageReference>
    </ItemGroup>

    <ItemGroup>
      <ProjectReference Include="..\..\Core\Core.PluginDefinitions\Core.PluginDefinitions.fsproj" />
    </ItemGroup>

</Project>
