Parser Error Message: Could not load type 'sometype'

前端 未结 19 1719
情话喂你
情话喂你 2020-12-09 15:46

I am experiencing an error that I am unable to resolve for some time now. I was wondering if someone can help identify the cause of this error? I am completely new to asp /

相关标签:
19条回答
  • 2020-12-09 16:06

    Please try to open your project as Project/Solution, most probably it will resolve the error. This type of error Could not load type.... occurs when we try to open project as website.

    I have tried to open my project as solution and it resolved my problem.

    0 讨论(0)
  • 2020-12-09 16:07

    I faced this issue and i got the solution from here and i would like to share it.

    SOLUTION Empty the bin folder. Build all the dependent class libraries and refer them in the main project and build the complete solution.

    I did this and it worked like a charm for me !!

    0 讨论(0)
  • 2020-12-09 16:09

    I added a new build profile and that defaulted to output of /bin/[new profile name] and when i was running debugger it was trying to look to just /bin

    0 讨论(0)
  • 2020-12-09 16:11

    Try replacing CodeBehind with CodeFile

    0 讨论(0)
  • 2020-12-09 16:11

    I had the same issue after renaming an aspx page Visual studio renamed it but dropped the namespace. Make sure the Inherits property contains the fully Qualified name including the namespace.

    0 讨论(0)
  • 2020-12-09 16:14

    I was fixing my namespaces in our Base Project, and I started seeing this error on another project that references it after that. I had to remove the reference to the Base Project and re-add it and then it started working again.

    0 讨论(0)
提交回复
热议问题