Visual Studio Community Edition 2017 – Stop debugger when browser windows is closed, close browser when debugging stops

If you want to test threading that will still perform after closing down your browser, you need to still have the debugger running. In order to do that, you need to uncheck the box in the Tools/Options/Web Projects section that states:Stop debugger when browser windows is closed, close browser when debugging stops.

Read the rest

MVC 5 – Third Party Date Picker that works in IE

First, send back the browser type from the controller to the browser.

ViewBag.Browser = Request.Browser.Browser; 

Add the following javascript:

 
<script type="text/javascript" src="https://cdn.jsdelivr.net/jquery/latest/jquery.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/
npm/daterangepicker/daterangepicker.min.js
"></script>
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.
Read the rest

SQL Server Reporting Services – Opening an RDL in Older Version of Visual Studio Opens as XML

In order to fix this issue, you need to remove a few lines of code from the XML.

    1. Replace xmlns with:
      <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
    2. Remove only the Report Section header and footer tags (leave the child elements)
      <ReportSections>
      <ReportSection>
      
      ..................................
      
      
Read the rest

Visual Studio Community Edition 2017 – Locked File or Folder with Visual Studio Installer

https://stackoverflow.com/questions/45839250/unable-to-update-visual-studio-installer

Quote: “The solution I found was to close down visual studio, go to “c:\Program Files (x86)\Microsoft Visual Studio\Installer”, rename the folder “Installer” to something else then run vs_installer.exe from the renamed folder.“… Read the rest