MVC Template Cache problem
Hi,
I have a project with SF 9.0.6000.0 version. I have created a MVC template following this instructions docs.sitefinity.com/feather-create-layout-files.
The problem is that when I modify the .cshtml file the changes are not applied until project rebuild.
Feather is installed. I have tried to clear the browser's cache.
There is something interesting: in another project with SF 8.1.5824.0 the modified Layout file is immediately updated when I check it in Design > Page templates section.
So can you help me to find which setting can cause that behavior? I need to see changes immediately after changing the content of the.
Just found a work-around.
removing this two lines from .csproj file fixed the issue.
<
Import
Project
=
"..\packages\RazorGenerator.MsBuild.2.4.1\build\RazorGenerator.MsBuild.targets"
Condition
=
"Exists('..\packages\RazorGenerator.MsBuild.2.4.1\build\RazorGenerator.MsBuild.targets')"
/>
<
Import
Project
=
"..\packages\Telerik.Sitefinity.Feather.1.5.470.0\build\Telerik.Sitefinity.Feather.targets"
Condition
=
"Exists('..\packages\Telerik.Sitefinity.Feather.1.5.470.0\build\Telerik.Sitefinity.Feather.targets')"
/>