Visual Studio 2015 Update 3 – Setup Blocked

You’ve downloaded the offline installer for the Update. This offline installer will update a previous version of Visual studio 2015 to Update 3. Major Visual Studio versions are installed side-by-side. So your 2013 installation will be left untouched by the 2015 update installer You’ll need to download the offline installer of “Visual Studio 2015 with … Read more

Could not load file or assembly ‘System.Memory, Version=4.0.1.’ in Visual Studio 2015

If this error is appearing in an IIS app such as ASP.NET, then there is a high probability that you are missing a binding redirect in the web.config. When you install from Nuget, you should see a binding redirect in the web.config. If you deploy the application to another machine but fail to set up … Read more

Why does adding a dependency in my Web API (ASP.NET v5) project not work fully?

When you build, check out the “Project” column – it notes that the build that is failing is “ASP.NET Core 5.0” (not “ASP.NET 5.0”). In the upper left dropdown of the code editor, you can choose different views – if you select the “ASP.NET Core 5.0” one, you’ll see that the NodaTime namespace is undefined. … Read more

How to debug Typescript in Visual Studio 2015 asp.net 5?

Debugging TypeScript with Visual Studio works with the right settings. First you make sure that you create source maps when compiling TypeScript to JavaScript. So you should have an xxx.js.map file near every xxx.js. Getting source maps by running the TypeScript compiler outside of Visual Studio does not cause any difficulty, at the tsc command … Read more

Why has a lambda with no capture changed from a static in C# 5 to an instance method in C# 6?

Roslyn (the C# compiler used by VS 2015) changed all lambda methods to non-static methods, whether they capture variables or not. See Delegate caching behavior changes in Roslyn. As I explain, this is an allowed behavior because anonymous methods (like those at issue here) that don’t capture variables have fewer lifetime requirements than those that … Read more

tech