How to enable CodeLens for Visual Studio 2017 Community [duplicate]

You can see the officially enabled set of features per Visual Studio edition on the Compare Offerings page of the Visual Studio website. A note on CodeLens + SSDT in particular: CodeLens was not officially supported as part of Visual Studio 2015 Community, nor is it supported in Visual Studio 2017. While some earlier versions … Read more

Turning off “Language Service Disabled” error message in VS2017

To solve this issue do the following: Create file in root directory of your project and call it tsconfig.json Add this: { “compilerOptions”: { “allowJs”: true, “noEmit”: true, “module”: “system”, “noImplicitAny”: true, “removeComments”: true, “preserveConstEnums”: true, “sourceMap”: true }, “include”: [ “scripts” ], “exclude”: [ ], “typeAcquisition”: { “enable”: true } } Please have a … Read more

Guidance for running tests using MSTest v1 in Visual Studio 2017 15.8.1

I was getting a similar issue running Xamarin.UITests and resolved it by installing the “NUnit 2 Test Adapter” Extension in Visual Studio. In Visual Studio 2017 you do this from Tools > > Extensions and Updates… > Online > Search “NUnit Adapter” > click the NUnit 2 Test Adapter then the Download button to install. … Read more

How to edit (customize) Color Themes in VS2017 Preview

The actual extension is now live for VS 2017. – vaindil The official Visual Studio 2017 Color Theme Editor has arrived! I recommend using it instead of the hack below. Since the hacked version has some downsides that the official plugin does not have: it requires restarting visual studio when importing themes, plugin updates cause … Read more

VisualStudio Build Tools 2017 offline installer

All steps to install build tools: Download build tools Download layout files for offline installation: Possible workloads are specified here. Following command contains workloads for msbuild and C++ build tools. Run (exe file will have some version numbers in name): vs_BuildTools.exe –layout c:\BT2017offline –add Microsoft.VisualStudio.Workload.MSBuildTools –add Microsoft.VisualStudio.Workload.VCTools –add Microsoft.VisualStudio.Workload.WebBuildTools –add Microsoft.VisualStudio.Workload.NetCoreBuildTools –lang en-US Copy c:\BT2017offline … Read more

Command line warning D9035: option ‘Gm’ has been deprecated and will be removed in a future release

Try selecting <inherit from parent or project defaults> for the Enable Minimal Rebuild option (under C/C++ > Code Generation). After this, the option should show No (/Gm-), not in bold. Make sure you do this for your project(s) (you could have several projects in the solution), and all property pages they inherit from. I had … Read more

SSDT installation issue (Failed to execute EXE package.)

The answer from Nick is very helpful, but I still failed at SSDT-Setup-ENU.exe /repair with the same error Error 0x800703e9: Failed to execute EXE package.. Then I tried it with a very straightforward way: (Disable UserAccountControl first) copy SSDT-Setup-ENU.exe to c:\temp and execute SSDT-Setup-ENU.exe /layout to download a local copy of the bundle. open C:\temp\redist … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)