OrchardCore
OrchardCore copied to clipboard
FE theme dlls missing in custom bin folder in release build
Describe the bug
As I have two versions of my main project file in the same folder, I configured a custom build target folder (instead of 'bin') for one of these project files. This works fine for DEBUG builds, but in RELEASE the front end theme dlls are missing.
Orchard Core version
2.0.0-preview-18248
To Reproduce
Steps to reproduce the behavior:
- Create a full git checkout of OC
- Go to
OrchardCore.Cms.Web
project folder - Copy the project file and rename it to
OrchardCore.Cms.Web.Nuget
- Include the new project in the solution and open its property page
- Change output path from "bin" to "bin-nuget"
- Remove the project reference
OrchardCore.Application.Cms.Targets
fromOrchardCore.Cms.Web.Nuget
project - Add nuget package
OrchardCore.Application.Cms.Targets
toOrchardCore.Cms.Web.Nuget
project - Build
OrchardCore.Cms.Web.Nuget
as debug and build as release - Compare files in
bin-nuget\Debug\net8.0\
andbin-nuget\Release\net8.0\
- Here the front end theme files are present in debug build, but missing in release build.
Expected behavior
theme files should be present also in the release build directory.