ET.ExcelExporter.csproj 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFramework>net8.0</TargetFramework>
  5. <ImplicitUsings>false</ImplicitUsings>
  6. <Nullable>disable</Nullable>
  7. <RootNamespace>ET</RootNamespace>
  8. <LangVersion>12</LangVersion>
  9. <PackageId>Apps.Tool</PackageId>
  10. <AssemblyName>ET.ExcelExporter</AssemblyName>
  11. </PropertyGroup>
  12. <PropertyGroup>
  13. <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
  14. <SatelliteResourceLanguages>en</SatelliteResourceLanguages>
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  17. <OutputPath>./Exe</OutputPath>
  18. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  19. <DefineConstants>DOTNET</DefineConstants>
  20. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  21. </PropertyGroup>
  22. <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
  23. <OutputPath>./Exe</OutputPath>
  24. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  25. <DefineConstants>DOTNET</DefineConstants>
  26. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  27. </PropertyGroup>
  28. <ItemGroup>
  29. <PackageReference Include="EPPlus" Version="7.1.2" />
  30. <PackageReference Include="Microsoft.CodeAnalysis.Common" Version="4.9.2" />
  31. <PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.9.2" />
  32. </ItemGroup>
  33. <ItemGroup>
  34. <None Update="Template.txt">
  35. <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  36. </None>
  37. </ItemGroup>
  38. <ItemGroup>
  39. <Compile Include="..\Scripts\Model\Share\**\*.cs">
  40. <Link>Config\%(RecursiveDir)%(FileName)%(Extension)</Link>
  41. </Compile>
  42. </ItemGroup>
  43. <ItemGroup>
  44. <ProjectReference Include="..\..\cn.etetet.core\DotNet~\ET.Core.csproj" />
  45. </ItemGroup>
  46. </Project>