Microsoft.AspNetCore.Antiforgery was not found

后端 未结 7 2040
终归单人心
终归单人心 2020-12-20 12:48

I\'m deploying a asp.net core 2.0 website to IIS 10.

I\'ve made sure that my app is using the correct configuration for ISS in the program.settings file.

<         


        
7条回答
  •  自闭症患者
    2020-12-20 13:11

    If you are actually using this library, make sure that your *.csproj file has the corresponding explicit reference:

    
    

    Then, play with the PublishWithAspNetCoreTargetManifest property to resolve the aforementioned issue with a mismatched manifest. Check out the following threads to learn more about possible issues while its deployment:

    An assembly specified in the application dependencies manifest (RhWeb.deps.json) was not found

    published application is missing assembly (missing runtime store associated ...) [2.0.0-preview2-005905]

    HTTP Error 502.5 - Microsoft.AspNetCore.Antiforgery.dll

提交回复
热议问题