Fixed an issue where CodeDom would be disabled post-upgrade by valadas · Pull Request #7222 · dnnsoftware/Dnn.Platform · GitHub
Skip to content

Fixed an issue where CodeDom would be disabled post-upgrade#7222

Merged
bdukes merged 1 commit into
dnnsoftware:developfrom
valadas:issue/7213
Apr 21, 2026
Merged

Fixed an issue where CodeDom would be disabled post-upgrade#7222
bdukes merged 1 commit into
dnnsoftware:developfrom
valadas:issue/7213

Conversation

@valadas

@valadas valadas commented Apr 20, 2026

Copy link
Copy Markdown
Contributor

Fixes #7213
A two step process was put in place to disable CodeDom compilation before its upgrade and re-enable it aftewards. This was implemented in #6455

However when upgrading from-to the same version, something did not go right and no changes were detected upon the last step of that process. With this PR the change detection appears to be fixed and the web.config saves after the second XmlMerge.

I have tested upgrades from 10.2.4 and 10.3.0 as well as a clean install and the web.config is fine after each of those scenarios.

This PR includes the changes from #7221 as I could not build without it, so merging the other first will make this one easier to review.

@valadas valadas added this to the 10.3.2 milestone Apr 20, 2026
Fixes dnnsoftware#7213
A two step process was put in place to disable CodeDom compilation before its upgrade and re-enable it aftewards. This was implemented in dnnsoftware#6455

However when upgrading from-to the same version, something did not go right and no changes were detected upon the last step of that process. With this PR the change detection appears to be fixed and the web.config saves after the second XmlMerge.

I have tested upgrades from 10.2.4 and 10.3.0 as well as a clean install and the web.config is fine after each of those scenarios.

This PR includes the changes from dnnsoftware#7221 as I could not build without it, so merging the other first will make this one easier to review.
@bdukes bdukes added this pull request to the merge queue Apr 21, 2026
Merged via the queue into dnnsoftware:develop with commit 3e26080 Apr 21, 2026
9 checks passed
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]: Two step upgrade to v10.3.1 breaks CodeDom .NET Compiler

3 participants