Running from Visual Studio VS Publish

ambersariya121 1 Reputation point
2021-06-10T10:42:43.417+00:00

When I run my application from Visual Studio 2015, it works perfectly, but when I publish, then I open my application in the same server I found some issues related to date. In Fact I found the date format in different

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,607 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
939 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
964 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 25,631 Reputation points Microsoft Vendor
    2021-06-11T02:44:41.927+00:00

    Hi @ambersariya121 ,

    Welcome to Microsoft Q&A!

    The issue has been reported in Stack Overflow:
    https://stackoverflow.com/questions/67912584/running-from-visual-studio-vs-publish

    You can try the workaround provided by samwu to set the Culture.

    Thanks for your understanding.

    Sincerely,
    Anna

    • If the answer is helpful, please click "Accept Answer" and upvote it.
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments