Fix copia de cshtml templates.
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 25m12s
All checks were successful
Build and Deploy / remote-build-and-deploy (push) Successful in 25m12s
This commit is contained in:
@@ -123,11 +123,11 @@ namespace GestionIntegral.Api.Controllers
|
||||
string nombrePlantaParam = "Consolidado";
|
||||
if (consolidado)
|
||||
{
|
||||
templatePath = Path.Combine("Controllers", "Reportes", "Templates", "ReporteExistenciaPapelConsolidado.cshtml");
|
||||
templatePath = "Controllers/Reportes/Templates/ReporteExistenciaPapelConsolidado.cshtml";
|
||||
}
|
||||
else
|
||||
{
|
||||
templatePath = Path.Combine("Controllers", "Reportes", "Templates", "ReporteExistenciaPapel.cshtml");
|
||||
templatePath = "Controllers/Reportes/Templates/ReporteExistenciaPapel.cshtml";
|
||||
if (idPlanta.HasValue)
|
||||
{
|
||||
var planta = await _plantaRepository.GetByIdAsync(idPlanta.Value);
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<PreserveCompilationContext>true</PreserveCompilationContext>
|
||||
<EnableDefaultContentItems>false</EnableDefaultContentItems>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@@ -22,11 +23,8 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Esto le dice a MSBuild que busque todos los archivos .rdlc -->
|
||||
<Content Include="Controllers\Reportes\RDLC\**\*.rdlc">
|
||||
<!-- Esto asegura que los archivos se copien a la carpeta de publicación -->
|
||||
<Content Include="Controllers\Reportes\Templates\**\*.cshtml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user