Skip to content
This repository has been archived by the owner on Feb 13, 2024. It is now read-only.

Updated __debug.ascx Requires Files added to /bin #78

Open
jeremy-farrance opened this issue Sep 23, 2023 · 1 comment
Open

Updated __debug.ascx Requires Files added to /bin #78

jeremy-farrance opened this issue Sep 23, 2023 · 1 comment

Comments

@jeremy-farrance
Copy link
Member

UNFINISHED, NOT WORKING YET

Solutions:

  • rewrite so we do not have to fix things up at deploy?
  • convert to a DNN SkinObject with an installer that takes care of these things? (versions??)
  • follow steps below

To manually update the project after putting __debug.ascx in place and getting Could not load file or assembly errors:

  1. copy the following files to /bin from [DS2030]
  • System.Memory.dll, 4.6.31308,1
  • System.Runtime.CompilerServices.Unsafe.dll, 6.0.21.52210
  • System.Text.Json.dll, 7.0.323.6910
  1. add binding redirects to web.config (see below)

Note that this one is hard because DNN and 2SC use different versions

      <dependentAssembly xmlns="urn:schemas-microsoft-com:asm.v1">
        <assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" />
        <bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" xmlns="urn:schemas-microsoft-com:asm.v1" />
        <codeBase version="4.0.4.1" href="bin\Imageflow\System.Runtime.CompilerServices.Unsafe.dll" xmlns="urn:schemas-microsoft-com:asm.v1" />
        <bindingRedirect oldVersion="4.0.4.2-32767.32767.32767.32767" newVersion="6.0.0.0" />
      </dependentAssembly>
@jeremy-farrance
Copy link
Member Author

When I setup RRMA2024 and hooked up the newer __debug.ascx into the footer, I only needed .Memory and .Text.Json to get it working.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant