When I now folder publish from Visual studio, then it ignores *.html files from the App_Plugins folder...
It works fine in 9.4.3.
I have now tried to install a clean 9.4.3 and a clean 9.5.0..
9.4.3 folder publish works fine. Html copied to deploy folder..
9.5.0 folder publish ignores the html files from my test project..
Anyone that have tried that ?
Can you tell me why this is needed? I thought the idea of csproj files was that files were automatically included unless they were specifically excluded.
And won't this also include .cs files in the App_Plugins folder? Which I would not want to publish.
But you shouldn't have any .cs files in your App_Plugins folder. This folder is intended for frontend assets. Server-side logic should be placed in a separate class library project, or at least in a separate folder (structure) within the web project.
I personally use this approach to show files for my custom plugins in Solution Explorer, but hide files from packages (like Contentment):
I've already replied on the github issue. But I'm experiencing the same thing. This also happens when publishing in a (Linux) docker container or Azure Pipeline
I've checked my .proj file and all the .html files are included there, but they are not published.
For testing I ran it my project in a docker locally, and indeed the .html files aren't published in my docker container.
Umbraco 9.5.0 Visual studio publish issue
I have a strange issue..
After I have updated to Umbraco 9.5.0...
When I now folder publish from Visual studio, then it ignores *.html files from the App_Plugins folder...
It works fine in 9.4.3. I have now tried to install a clean 9.4.3 and a clean 9.5.0.. 9.4.3 folder publish works fine. Html copied to deploy folder.. 9.5.0 folder publish ignores the html files from my test project.. Anyone that have tried that ?
Edit the project file and make sure App_Plugins is included:
Can you tell me why this is needed? I thought the idea of csproj files was that files were automatically included unless they were specifically excluded.
And won't this also include .cs files in the App_Plugins folder? Which I would not want to publish.
I think it's best explained by this comment on Github:
https://github.com/umbraco/Umbraco-CMS/issues/12572#issuecomment-1413706045
But you shouldn't have any .cs files in your App_Plugins folder. This folder is intended for frontend assets. Server-side logic should be placed in a separate class library project, or at least in a separate folder (structure) within the web project.
I personally use this approach to show files for my custom plugins in Solution Explorer, but hide files from packages (like Contentment):
I've already replied on the github issue. But I'm experiencing the same thing. This also happens when publishing in a (Linux) docker container or Azure Pipeline
I've checked my .proj file and all the .html files are included there, but they are not published.
For testing I ran it my project in a docker locally, and indeed the .html files aren't published in my docker container.
is working on a reply...