visual-studio-2019

Visual Studio 2019 - SSDT

情到浓时终转凉″ 提交于 2019-12-11 08:45:17
问题 I have recently installed Visual Studio 2019 and installed the "Data Storage and processing" Workload to give me access to SSDT so I can create Reporting Services Projects. When clicking File > New > Project I don't get the ability to either create SSRS/SSIS/SSAS projects? I was under the impression that these would now automatically be installed when selecting "Data Storage and processing" during the Install. How can I get these project templates installed? Thanks 回答1: As per the

Visual Studio builds solution automatically on launching

牧云@^-^@ 提交于 2019-12-11 07:31:43
问题 I faced the problem: whenever I open my working solution Visual Studio automatically starts build. I cannot find configurations to turn off this. It looks like that problem is in solution, because I opened another solution and build did not start automatically. 回答1: This strange behavior is not expected one for VS2019. Please try: 1. Tools=>Import and Export Settings=>Reset all settings=>No, just reset settings to reset current VS settings to default. 2.Use vs installer to repair your VS if

Context menu's 'Edit csproj' intermittently not working in Visual Studio 2019

浪尽此生 提交于 2019-12-11 06:49:13
问题 Visual Studio 2019 has the very useful facility to edit the project's csproj file without first unloading the project via the context menu (or 'right click menu' to aid the search feature): However, I'm finding this isn't working intermittently, a lot of the time it just does nothing when I click the option. Later it will start working again without restarting the project. This is for a solution with multiple .NET Core Web projects and multiple .NET Standard libraries. Does anyone know the

WiX - VS Schema and Visual Studio 2019

落爺英雄遲暮 提交于 2019-12-11 05:26:35
问题 I'm having trouble upgrading a setup project that referenced Visual Studio 2017 and now I want to reference Visual Studio 2019. Product.wxs references the following properties (as documented here): VS2019_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED VS2019_EXTENSIONS_DIR When building the setup I get the following error: Unresolved reference to symbol 'Property:VS2019_IDE_VCSHARP_PROJECTSYSTEM_INSTALLED' in section 'Product:*'. Unresolved reference to symbol 'Property:VS2019_EXTENSIONS_DIR' in section

How to nest interfaces using File Nesting in ASP.Net Core

好久不见. 提交于 2019-12-11 04:26:18
问题 I want to use Microsoft's custom file nesting option in Visual Studio to nest implementation class files with their "parent" interfaces, so in this example, I would like ReportRepository.cs to appear nested under IReportRepository.cs in the solution explorer. The same should be for all repositories. I have created the .filenesting.json file in the root of the solution, but I have no idea how to use it and documentation is very sparse. Does anyone know how I can achieve this in Visual Studio

How can I change Intellisense tooltip colors

对着背影说爱祢 提交于 2019-12-11 02:52:52
问题 How can I change the colors of the tooltip shown by Intellisense under Visual Studio? I've customized my editor colors to get white text on a dark background, by keeping VS theme to "Blue" (I find that the Dark theme lacks contrast), but now the Intellisense tooltip is unreadable. 回答1: The quickest and easiest fix is to change the following colors: Tools → Options → Environment → Fonts and Colors → Show settings for "Environment": ToolTip ToolTip Border Tools → Options → Environment → Fonts

What other dependencies do I need to install in Visual Studio 2019 Express / Community to open a dtsx SISS file in the GUI?

六月ゝ 毕业季﹏ 提交于 2019-12-10 19:35:06
问题 When I installed VS2019 Express I made sure to include the Data storage and processing Workload, I also created an SQL Server Database Project , but when I add the .dtsx (SSIS) file to my project it still doesn't open in the GUI. I know there is GUI information included in the file because I can see the XML character entities where separate diagram XML is written with them. There also appears to be something that looks like a .NET assembly in there with some C# code and some kind of Base64

Unit testing features missing for .NET Core in VS 2019 and Visual Studio Installer?

a 夏天 提交于 2019-12-10 15:54:18
问题 I just added a MSTest .NET Core unit test project to a solution in VS 2019 but there now don't appear to be any features for adding a new unit test file to that project. Missing Add > Unit test... context menu option Steps to reproduce missing context menu issue: In Visual Studio 2019, add a new 'MSTest Project (.NET Core)' project to an existing solution Right click on the name of the new test project in Solution Explorer See if the option for 'Add > Unit test...' is present? That option,

Blazor the type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)

ε祈祈猫儿з 提交于 2019-12-10 15:39:06
问题 I have setup the basic application in Blazor in Microsoft Visual Studio Community 2019 Version 16.1.3 and I have tried both of the versions of .NET Core SDK 3.0.100-preview5-011568 and SDK 3.0.100-preview6-012264. Also I have installed the Blazor extension but when I am building without any modification in any files, the build fails with the following error: "The type or namespace "App" could not be found. Any help will be highly appreciated. Thanks. 回答1: To use Blazor you need to have VS2019

What Replaces Code Analysis in Visual Studio 2019?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 12:50:29
问题 I'm toying with getting our team and projects ready for VS 2019. Right away, trying to set up Code Analysis for a new project, I find this: So, if this is deprecated (and apparently can't even be used, so I'm thinking "deprecated" really means "gone"), where are we supposed to set up our Rule Sets? Is there some other location, or perhaps an altogether new solution to the problem of style and code quality? 回答1: Going forward, static analysis will be provided by Roslyn analyzers: https:/