. NET MVC project failed to start, auto-load and then auto-unload

Source: Internet
Author: User

Copy one from the previous project, delete the unused parts on this basis, and modify all the namespaces and filenames to become a new project.

However, the startup fails.

And no error, no log, only see the output is automatically loaded a bunch of DLLs, and suddenly automatically unloaded.

It was later thought that the error was displayed when customerrors was opened in Web. config and reset to off.

references found in assembly "Yc.Oms.Web" Start Type "Yc.Oms.Web.Startup" Owinstartup Property with Assembly "Yc.Hcs.Web" in reference to Startup type " Yc.Hcs.Web.Startup "Property conflicts because they have the same FriendlyName" ".

Yc.Oms.Web is the name of the previous project, but I have changed all the areas involved in Oms, where will it be set up?

Later opened the bin directory, found inside there are Yc.Oms.Web.dll. Should be a legacy of previous copies.

Empty the bin and start again, everything is fine.

It appears that direct copy of source is not the correct method and should be extracted directly from the version management software.

. NET MVC project failed to start, auto-load and then auto-unload

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.