VisualStudio

Showing posts with label VisualStudio. Show all posts

Debugging a piece of code is always difficult and it is more difficult when you are debugging on someone else’s code. In all such cases, you will need to set the breakpoints and check the values that it returns before proceeding next.

 

Visual Studio 2015 makes it easier by providing you an option to call a specific method once you reach the breakpoint and based on requirement, print something on the output stream.

Published by on under Tips | Visual Studio 2015

If you are installing Visual Studio 2015 with Office Developer Tools and/or LightSwitch, you may encounter an issue saying "Microsoft Identity Extensions" package failed to install. Though the Visual Studio installation succeeds, you may get this warning message after the installation completes.

 

If you encounter this, there is an workaround to resolve the installation problem. Read more to know about the root cause behind this issue and the solution.

Published by on under Tips | Visual Studio 2015

If you are using Visual Studio 2015 and want to change the existing installation from the Programs and Features item in Control Panel, you may see an error message "Failed to install setup update - Error code: -2147205120" after you accept an online update.

 

If you face this issue while modifying your existing installation, here is the simple solution for you as a workaround to proceed with. Read more to know about the solution.

Published by on under Tips | Visual Studio 2013

Visual Studio 2015 supports automatic updation of extensions. When the auto update extensions settings is enabled, the extensions will be automatically updated when a new update of the extension is available; that means, you don't have to perform any manual action.

 

Today we will discuss about it. In case it is disabled on your system, you will be able to reactivate it to get the auto update feature of extensions.

Published by on under Tips | Visual Studio 2015

Microsoft released another build 14.0.25424.00 for Visual Studio 2015 Update 3, which is a patch under the KB article KB3165756. This patch builds are cumulative service updates and cover fixes for high-impact bugs noticed by product team and the community.

 

If you have Visual Studio 2015 Update 3, you should download and install these patch builds in order to work smooth with your favourite IDE installation.

Published by on under News | Visual Studio 2015

The .NET Framework is a software development framework developed by Microsoft which runs primarily on Windows operating systems. But these days, it is used by millions of developers to create apps and services on any device and operating systems with amazing performance.

 

In this post, I am going to bookmark most of the .NET redistributables for references in future. Bookmark this for your future references too.

Published by on under .Net | C#

If you are a developer and using C# .NET to build your application, you may need to access the Application Data (AppData) folder of all the user accounts currently created in a specific system. The .NET framework exposes API to detect only the logged-in user's AppData folder.

 

To get the path for all the users of the system, you have to find it from the Windows Registry. Today we will discuss on that topic with a piece of code. Continue reading.

Published by on under .Net | C#

Today, Microsoft released a patch for Visual Studio 2015 Update 3, which was released on 27th June 2016. It is a cumulative update with fixes to the existing Microsoft Visual Studio 2015 Update 3 installation. If you have installed Update 3, install the patch KB3165756 mentioned below.

 

Though it is not mandatory, but good to have install this patch as it addresses many fixes related to memory leaks, crash and other issues.

Published by on under News | Visual Studio 2015

Sometime we need to retrieve the Visual Studio installation directory programmatically using the C#/.NET code and there’s no direct API call available to retrieve this information and also you don’t know the exact path where it has been installed.

 

Every installation of Visual Studio puts a specific registry path to keep track of the installation directory. If you know that, it’s easy to retrieve the information. Let’s discuss on this topic today.

Published by on under Tips | Visual Studio 2013

If you face the error message “An error occurred while validating. HRESULT = '8000000A'” while building Visual Studio setup project from command line in Visual Studio 2012 or above IDE environment, the reason is because the new IDEs do not support build outside the own process.

 

But there is a tweak which will help you to enable the same and you will now be allowed to build the MSI setup project from the command line itself.

Published by on under Tips | VisualStudio

On 27th June 2016, Microsoft released Visual Studio 2015 Update 3, Team Foundation Server (TFS) 2015 Update 3 along with .NET Core 1.0. This build focuses on fixes of issues already reported in earlier releases, including the memory consumption issue noticed in Update 2.

 

This build also has some known issues, which will be fixed in subsequent builds. In this post, sharing the links to download the web installer, ISO image for offline installation.

Published by on under News | Visual Studio 2015

Microsoft .NET Framework is a programming infrastructure created by Microsoft for building, deploying and running applications & services that use .NET technologies, such as desktop applications, web applications and Web services.

 

In this post, I am going to list down the history of .NET Framework along with the key features which has been introduced with each version of the framework.

Published by on under .Net | C#

Sometime we work on a Visual Studio solution file that has a huge nos. of projects and folders. Keeping all of them in the Solution Explorer, makes it difficult to manage. Visual Studio provides a way to make it simpler and cleaner.

 

Though it is available since Visual Studio 2012, but if you are not aware of this feature, let's discuss on this. Continue reading the post to learn about it.

Published by on under Tips | Visual Studio 2013

If you are using Visual Studio 2015, you might have encountered this error “Internal error in the expression evaluator” while debugging your code; the debugger and the watch window will start throwing this error instead of returning the value.

 

If you encounter this issue and came to this page by searching online, just hold your breath. We will show you, how to fix this error and continue working with Visual Studio normally.

Published by on under Tips | Visual Studio 2015

Visual Studio 2015 Update 2, released during //BUILD/2016 developer conference, provides an easy way to execute code directly on the Interactive Window inside the Visual Studio IDE. Along with that, the interactive window is now also capable of color highlighting.

 

Today in this blog post, we will learn how to execute code directly in the interactive window, in just a single click. Continue reading and let us know, how much you like this enhanced feature.

Published by on under DZone | Tips

Visual Studio "15" is an early preview build of the next major release of Visual Studio, which has been released by Microsoft on 30th March 2016, during //BUILD/2016 developer conference at San Fransisco. It provides early adopters to try out the new features and provide continuous feedback.

 

To know more about the preview release and to get the links of the web installer and/or the ISO image for offline installation, continue reading the post.

Published by on under News | VisualStudio

On 30th March, during Build Developer Conference 2016, Microsoft released Visual Studio 2015 Update 2. This release focuses on stability and more on the users feedback received on RTM and Update 1. Along with these, it also includes performance improvements and responsiveness to our favorite IDE.

 

This build also has some known issues, which will be fixed in subsequent builds. In this post, sharing the links to download the web installer, ISO image for offline installation.

Published by on under News | Visual Studio 2015

The giant company released the RC build (Release Candidate) of Visual Studio 2015 Update 2, focusing mainly on stability and user's feedback received via the Update 1 RTM channel. Microsoft marked this as "Go Live", though it is still under prerelease and has few known issues.

 

If you want to explore the new changes, read more to find the download links as well as the link towards release notes and a list of bug fixes, known issues.

Published by on under .Net | News

Whenever you create a new code file in Visual Studio, it adds a default set of using namespaces automatically to faster the development process in common name resolution. Not all of them are mandatory to use and can be remove at later point of time or before code check-in.

 

Visual Studio 2015 provides us an easy way to organize the using namespaces within the active code file, project and/or solution. You will really love this new feature. Continue reading to learn more about it.

Published by on under Tips | Visual Studio 2015

Apart from the other cool new features, the giant company also added a feature in Microsoft Visual Studio named “Layout Management”. This is a nice feature for people working on multiple devices with Visual Studio 2015. Using this you will be able to save and sync your IDE layout across devices.

 

Today in this post, we are going to discuss this and will learn how to save and sync the Window Layout. Continue reading and let us know, how this can benefit you.

Published by on under Tips | Visual Studio 2015