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";
|
string nombrePlantaParam = "Consolidado";
|
||||||
if (consolidado)
|
if (consolidado)
|
||||||
{
|
{
|
||||||
templatePath = Path.Combine("Controllers", "Reportes", "Templates", "ReporteExistenciaPapelConsolidado.cshtml");
|
templatePath = "Controllers/Reportes/Templates/ReporteExistenciaPapelConsolidado.cshtml";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
templatePath = Path.Combine("Controllers", "Reportes", "Templates", "ReporteExistenciaPapel.cshtml");
|
templatePath = "Controllers/Reportes/Templates/ReporteExistenciaPapel.cshtml";
|
||||||
if (idPlanta.HasValue)
|
if (idPlanta.HasValue)
|
||||||
{
|
{
|
||||||
var planta = await _plantaRepository.GetByIdAsync(idPlanta.Value);
|
var planta = await _plantaRepository.GetByIdAsync(idPlanta.Value);
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<PreserveCompilationContext>true</PreserveCompilationContext>
|
<PreserveCompilationContext>true</PreserveCompilationContext>
|
||||||
|
<EnableDefaultContentItems>false</EnableDefaultContentItems>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@@ -22,11 +23,8 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<!-- Esto le dice a MSBuild que busque todos los archivos .rdlc -->
|
<Content Include="Controllers\Reportes\Templates\**\*.cshtml">
|
||||||
<Content Include="Controllers\Reportes\RDLC\**\*.rdlc">
|
|
||||||
<!-- Esto asegura que los archivos se copien a la carpeta de publicación -->
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
Reference in New Issue
Block a user