Base solution for your next web application
Open Closed

For some reason when we build/run our project in visual studio it gives us an runtime error #11881


User avatar
0
Sunflower created

we encountering an issue when attempting to build/run my project in Visual Studio. The error message we are receive is as follows:

for web.host

for web.mvc

Interestingly, the project runs without any issues when I build/run it from VS Code. Can you provide some guidance on how to troubleshoot and resolve this error in Visual Studio?

Thank you!


6 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    What is your Abp NuGet package version ? Upgrading it to 9.x should solve this problem, see https://github.com/aspnetboilerplate/aspnetboilerplate/issues/6755

  • User Avatar
    0
    kansoftware created

    Same issue i am facing after system format. Before format (yesterday) it was working fine. Is any system related setting require? and my project version is 12.x and i ran bundles command also. or its related to VS update issue.

  • User Avatar
    0
    kansoftware created

    Its resolved after update VS 2022 version 17.10 preview but in second time run its still giving error

  • User Avatar
    0
    Sunflower created

    no not working i updated everything to the latest that work under .NET 7

  • User Avatar
    0
    kansoftware created

    Its resolved by update Castle.Windsor.MsDependencyInjection to 4.1.0 in core csproj and update both abp and Abp.Zero.Common to 8.4.0 in core.share csproj

  • User Avatar
    0
    rickfrankel created

    I believe I've had a similar issue. https://support.aspnetzero.com/QA/Questions/11843/Receiving-this-error-httpsgithubcomaspnetboilerplateaspnetboilerplateissues6755

    It was related to the version of Visual Studio I was running. In particular preview versions. I believe if you want to run the latest preview version of visual studio you will need to upgrade to 13.1 (which is not yet release) which has the fixes for this in it.

    However I haven't yet tested it all yet as I'm waiting for 13.1 to come up fully and not be release candidate.