Tags » Visual Studio

Delete an inline function, save 794 kB

In the previous episode of “Simple Changes to Shrink Chrome” I discussed how deleting ‘const’ from a few key locations could lead to dramatic size savings, due to a VC++ compiler quirk. 1,619 more words

Programming

Add a const here, delete a const there…

I just completed a series of changes that shrunk the Chrome browser’s on-disk size on Windows by over a megabyte, moved about 500 KB of data from its read/write data segments to its read-only data segments, and reduced its private working set by about 200 KB per-process. 2,526 more words

Programming

VC++ /arch:AVX option – unsafe at any speed

Microsoft’s VC++ compiler has an option to generate instructions for new instruction sets such as AVX and AVX2, which can lead to more efficient code when running on compatible CPUs. 1,475 more words

Programming

ASP.NET: Install Nuget Package .nupkg file locally

There are two common ways to install local .nupkg nuget package in Visual Studio.

Solution 1:

Step1: Note down path of your local NUGET package… 133 more words

.NET Tips/Tricks

Visual Studio: Keep IIS Express running site after stopping debugger in Visual Studio 2012-2013-2015

In order to keep IIS Express running after stopping debugger, Everyone knows the simple solution which is:

“in the Debug menu > Start without debugging (Ctr + F5)” 191 more words

Visual Studio

LightSwitch - Application Hangs when exiting "Add/Edit Details Screen"

Background

Upon launching an Add/Edit Details Screen and clicking the Save or Discard button, the Application Hangs.

Reproduction Steps

AddEdit Screen / Before Changes

Add Edit Screen / Post Clicking on Save or Discard Button… 817 more words

Microsoft

Visual Studio: Ignore files on TFS using .tfignore file for Visual Studio

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
bin
obj

#include nuget executable
!NuGet.exe

#nuget packages directory
packages

#include package target files which may be required for msbuild
!packages/*.targets

# ReSharper
_ReSharper*/
*.ReSharper

# TeamCity
_TeamCity*

# DotCover is a Code Coverage Tool
*.dotCover

# Click-Once directory
publish/

# Publish Web Output
*.Publish.xml
*.pubxml

# Backup & report files from converting an old project file to a newer
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm

# Windows image file caches
Thumbs.db
ehthumbs.db

# Folder config file
Desktop.ini

# VS 2015 folder
.vs

# node
node_modules/
Visual Studio