Skip to content

A Swiss Army knife for developers.

1.3 KB
Raw Blame
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>$(NetCore)</TargetFramework>
    <UseAppHost>True</UseAppHost>
  </PropertyGroup>

  <PropertyGroup Condition="$(_IsPublishing) == ''">
    <PluginsInstallationFolder>$(OutputPath)\$(TargetFramework)\Plugins</PluginsInstallationFolder>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="CommunityToolkit.Common" />
    <PackageReference Include="CommunityToolkit.Diagnostics" />
    <PackageReference Include="System.CommandLine" />
    <PackageReference Include="System.ComponentModel.Composition" />
    <PackageReference Include="Microsoft.Extensions.Logging.Debug" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\..\DevToys.Api\DevToys.Api.csproj" />
    <ProjectReference Include="..\..\..\DevToys.Core\DevToys.Core.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="Strings\CliStrings\CliStrings.Designer.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>CliStrings.resx</DependentUpon>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="Strings\CliStrings\CliStrings.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>CliStrings.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>
</Project>