Skip to content

Errors after upgrading to 9.8 #4402

Answered by bdukes
allanedk asked this question in General
Jan 6, 2021 · 7 comments · 6 replies
Discussion options

You must be logged in to vote

Using the CodeDOM provider will allow you to use newer compiler features but isn't a complete fix. I think you will need to go ahead and add the netstandard reference if you're not going to compile your codebehind classes. You can add a config component to your manifest using the following XML Merge document:

<configuration>
  <nodes configfile="Web.config">
    <node path="/configuration/system.web/compilation/assemblies"
          action="update"
          key="assembly"
          collision="ignore">
      <add assembly="netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51" />
    </node>
  </nodes>
</configuration>

You can also run this manually in the Config …

Replies: 7 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@allanedk
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bdukes
Comment options

Comment options

You must be logged in to vote
3 replies
@bdukes
Comment options

@bdukes
Comment options

@bdukes
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@allanedk
Comment options

Answer selected by allanedk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants