I am attempting to run a webforms application, when I run it in VS it runs fine , however when I publish it to IIS server I get the following errors even thought I have successfully installed the relevant packages.
"The type or namespace name 'Owin' does not exist in the namespace 'Microsoft' (are you missing an assembly reference"
or
" The type or namespace name 'AspNetCore' does not exist in the namespace 'Microsoft' (are you missing an assembly reference"