Publish with Remove additional files at destination option
Publish in Visual Studio. “Remove additional files at destination” option Remove additional files at destination The most common and easiest way to resolve this error is to re-publish your code, but with the options to “Remove additional files at destination” turned on. This will ensure that Visual Studio’s web deploy process will delete all existing... » read more
Deploy Blazor App to Azure
Make sure you check the following before deploying (Publish) to a Azure hosted web site. When creating a new App Service in Azure Portal, select .NET 5. When creating a new Blazor WebAssembly App in Visual Studio, select .NET 5 framework. When deploying from Visual Studio, deploy the .Server project and not the .Client project.... » read more
No connection could be made because the target machine actively refused it
Error: An unhandled exception occurred while processing the request. SocketException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken) HttpRequestException: No connection could be made because the target machine actively refused it. System.Net.Http.ConnectHelper.ConnectAsync(string host, int port, CancellationToken cancellationToken) Fix: In solutions with both web api and... » read more
Update-Database
Package Manager Console … Updates the “Identity” database to the last migration or to a specified migration. Note: You will run into errors if there is already existing identity tables from previous versions. Recommend creating a new database to create the identity tables and then apply updates to the existing identity database. The Update command will create... » read more
EF Core tools version is older than that of the runtime
Error: Getting the following error in NuGet Package Manager Console … The EF Core tools version '3.1.3' is older than that of the runtime '3.1.5'. Update the tools for the latest features and bug fixes. Fix: Run the following in NuGet Package Manager Console … Install-Package Microsoft.EntityFrameworkCore -Version 3.1.5Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.5 Note: Make sure... » read more
Could not load file or assembly Microsoft.Build.Framework Version=15.1.0.0
Issue: When trying to run debugger, get the following error message… FileNotFoundException: Could not load file or assembly 'Microsoft.Build.Framework, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Fix: Close all running instances of Visual Studio Launch the Visual Studio Developer Command Prompt as Admin Add DLL to GAC... » read more
Reporting Services Project Templates for Visual Studio
For Analysis Services, Integration Services, or Reporting Services projects, you can install the appropriate extensions from within Visual Studio with Extensions > Manage Extensions. Download the Reporting service project templates from Manage Extensions of Visual Studio. Visual Studio -> Extensions -> Manager Extensions Search for “Reporting” and download “Microsoft Reporting Services Projects”.
Reporting Services in SQL Server Data Tools (SSDT)
SQL Server Data Tools (SSDT) is a Microsoft Visual Studio environment for creating business intelligence solutions. SSDT features the Report Designer authoring environment, where you can open, modify, preview, save, and deploy Reporting Services paginated report definitions, shared data sources, shared datasets, and report parts. SQL Server Data Tools (SSDT) is not included with SQL... » read more
Uninstall Visual Studio
You can also find the Visual Studio Installer in the following location: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe Sources: https://docs.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2019