Skip to content

Fix Simple Web Farm Caching Provider not getting packaged#7177

Merged
mitchelsellers merged 2 commits intodnnsoftware:developfrom
bdukes:fix-simple-web-farm-caching-provider-path
Apr 1, 2026
Merged

Fix Simple Web Farm Caching Provider not getting packaged#7177
mitchelsellers merged 2 commits intodnnsoftware:developfrom
bdukes:fix-simple-web-farm-caching-provider-path

Conversation

@bdukes
Copy link
Copy Markdown
Contributor

@bdukes bdukes commented Apr 1, 2026

Summary

Fixes #7170.

There were two issues. The first is that the project was using <Target Name="AfterBuild" DependsOnTargets="Package" /> in order to run the Package task after the Build task. However, this no longer works in SDK-style projects (because these auto-generate a different AfterBuild task). The correct way to add a task into the pipeline is to use BeforeTargets="Build", instead of relying on a conventional target name. Somehow that had been fixed for all other projects but got missed in this one.

The second issue that, once the project was actually trying to package itself (or to copy DLLs to the website output during a Debug build), it was failing to find the DLLs, because, again, SDK-style projects use a different default output path, and so that needed to be overridden.

Thanks @dimarobert for tracking this down and starting the fix!

dimarobert and others added 2 commits April 1, 2026 12:47
… SDK.

+ Restore the path to match the one in the .dnn manifest file.
+ By default SDK projects add the target framework to the output path.
+ Because the dlls where no longer there, it appears that the packaging was somehow silently skipped.
@mitchelsellers mitchelsellers merged commit dfb436d into dnnsoftware:develop Apr 1, 2026
7 checks passed
@mitchelsellers mitchelsellers deleted the fix-simple-web-farm-caching-provider-path branch April 1, 2026 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: SimpleWebFarmCachingProvider package no longer present in Install or Upgrade packages since v10.2.1

4 participants