How to connect to LocalDB in Visual Studio Server Explorer?

In Visual Studio 2012 all I had to do was enter: (localdb)\v11.0 Visual Studio 2015 and Visual Studio 2017 changed to: (localdb)\MSSQLLocalDB as the server name when adding a Microsoft SQL Server Data source in: View/Server Explorer/(Right click) Data Connections/Add Connection and then the database names were populated. I didn’t need to do all the … Read more

From MinGW static library (.a) to Visual Studio static library (.lib)

The archives of static libraries generated with MinGW are generally compatible with Visual C++ compiler/linker. So, you should be able to use them directly by adding .a files to linker input in your project properties in Visual Studio: Go to project Properties (Alt-F7). On the left box, open Configuration Properties->Linker->Input Add list of all .a … Read more

Visual Studio 2015 or 2017 shows IntelliSense errors but solution compiles

I had thousands of intellisense errors and 0 build errors. After deleting .suo file and restarting VS intellisense errors are gone. Suo file is located relatively to source in: .vs\SolutionName\v14\.suo According to comment: Beware that *.suo is a hidden file. Edit: According to comments, VS2017 has the same issue, so you can use similar solution: … Read more

Equivalent to AssemblyInfo in dotnet core/csproj

As you’ve already noticed, you can control most of these settings in .csproj. If you’d rather keep these in AssemblyInfo.cs, you can turn off auto-generated assembly attributes. <PropertyGroup> <GenerateAssemblyInfo>false</GenerateAssemblyInfo> </PropertyGroup> If you want to see what’s going on under the hood, checkout Microsoft.NET.GenerateAssemblyInfo.targets inside of Microsoft.NET.Sdk.