locked
When i publish in VS 2015 i will get error, but when i debug no error. RRS feed

  • Question

  • Hi,
        I have asp.net web application, when i run and debug no error in Error List, but when i publish i will get error and i cant publish
    Screenshot -- http://prntscr.com/jub3uu, if i double click error, that error point to .vb page which is located in this folder path
    C:\Users\Ideapad\AppData\Local\Temp\WebSitePublish\webSample--269504369\obj\Debug\AspnetCompileMerge\Source.

    So how to clear this error and publish web site ?  i am publish like right click Solution --> Publish Web App

    Screenshot - http://prntscr.com/jub6g6

    Note: If i get error while debug, then error in code, but when publish i got error,so what is the problem.

    Regards,
    Aravind


    • Edited by Aravindpanchu Wednesday, June 13, 2018 4:56 AM change description
    Wednesday, June 13, 2018 4:55 AM

All replies

  • Hi,

    Welcome to MSDN forum.

    This forum is discussing visual studio IDE, please go to Microsoft asp.net forum to get more support about the problem. Thank you for your understanding.

    Best regards,

    Joyce


    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, June 13, 2018 8:31 AM
  • Ho sorry, 
    Wednesday, June 13, 2018 11:02 AM