You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

BlackRock.Reporting.API.csproj 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <Project Sdk="Microsoft.NET.Sdk.Web">
  2. <PropertyGroup>
  3. <TargetFramework>net6.0</TargetFramework>
  4. <Nullable>enable</Nullable>
  5. <ImplicitUsings>enable</ImplicitUsings>
  6. </PropertyGroup>
  7. <!--
  8. 1. Install npm packages
  9. "Inputs" and "Outputs" are used for incremental builds. If all output items are up-to-date, MSBuild skips the target.
  10. The first time the task is executed. Then, it only runs when you change the package.json file.
  11. Documentation: https://docs.microsoft.com/en-us/visualstudio/msbuild/incremental-builds?WT.mc_id=DT-MVP-5003978
  12. -->
  13. <Target Name="NpmInstall" Inputs="package.json" Outputs="node_modules/.install-stamp">
  14. <!--
  15. Use npm install or npm ci depending on RestorePackagesWithLockFile value.
  16. Uncomment the following lines if you want to use this feature:
  17. <PropertyGroup>
  18. <RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
  19. </PropertyGroup>
  20. -->
  21. <Exec Command="npm ci" Condition="$(RestorePackagesWithLockFile) == 'true'" />
  22. <Exec Command="npm install" Condition="$(RestorePackagesWithLockFile) != 'true'" />
  23. <!-- Write the stamp file, so incremental builds work -->
  24. <Touch Files="node_modules/.install-stamp" AlwaysCreate="true" />
  25. </Target>
  26. <!--
  27. 2. Run npm run build before building the .NET project.
  28. MSBuild runs NpmInstall before this task because of the DependsOnTargets attribute.
  29. -->
  30. <Target Name="NpmRunBuild" DependsOnTargets="NpmInstall" BeforeTargets="BeforeBuild">
  31. <Exec Command="npm run build" />
  32. </Target>
  33. <ItemGroup>
  34. <PackageReference Include="AutoMapper" Version="10.1.1" />
  35. <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.1.1" />
  36. <PackageReference Include="iTextSharp" Version="5.5.13.2" />
  37. <PackageReference Include="MediatR" Version="9.0.0" />
  38. <PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="9.0.0" />
  39. <PackageReference Include="Microsoft.AspNet.WebApi.Core" Version="5.2.7" />
  40. <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.0" />
  41. <PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.0" />
  42. <PackageReference Include="Microsoft.Build.Tasks.Core" Version="17.0.0" />
  43. <PackageReference Include="Microsoft.EntityFrameworkCore" Version="6.0.0" />
  44. <PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="6.0.0" />
  45. <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
  46. <PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
  47. <PrivateAssets>all</PrivateAssets>
  48. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  49. </PackageReference>
  50. <PackageReference Include="PuppeteerSharp" Version="5.1.0" />
  51. <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
  52. </ItemGroup>
  53. </Project>