kunal-chowdhury.com

Visual Studio 2015

Showing posts with label Visual Studio 2015. Show all posts

In case you are facing the following error MSB4017: Could not run the "GenerateResource" task because MSBuild could not create or connect, while building your project/solution in Visual Studio, this could be because the build system is running out of the build process.

 

To resolve this error, there could be two different approaches. In this quick note, sharing both the solutions for your easy reference.

Published by on under Solution | Visual Studio 2015

Visual Studio 2017 provides you an easy way to upgrade your project's targeted language version, directly from the editor window. The Light Bulb, which is known as Quick Actions, automatically suggests you to upgrade the language version.

 

In this blog post, we will learn how to invoke it to perform the change for the associated project. Continue reading to learn more.

Published by on under Tips | Visual Studio 2015

Do you know that, Microsoft Visual Studio allows you to select the default language version of your project? The advanced project settings helps you to control the targeted C# language by changing the compiler version.

 

By default, the compiler accepts all valid language syntax that it can support. But if you want to change it to point to a specific version, let's learn how to do that.

Published by on under Visual Studio 2015 | Visual Studio 2015 Tips & Tricks

During application development, we often use XML files. To use XML files, we need XML objects; and to create the XML objects, we need to write the classes and properties based on the XML nodes/attributes, which we do manually.

 

Do you know that Visual Studio already provides an option to automatically create the entire class structure based on the XML input? Let's discuss this today.

Published by on under Visual Studio 2015 | Visual Studio 2015 Tips & Tricks

C# Interactive Window, inside Visual Studio, allows you to test code snippet without compiling the application. It supports several features like syntax highlighting, intellisense and more, and comes with a feature like 'Copy Code', that allows you to copy only the code part from that window.

 

In this quick blog post, we will discuss about the 'Copy Code' functionality part of the C# Interactive Window, inside Visual Studio.

Published by on under Tips | Visual Studio 2015

When you want certain constructors, methods or properties out of the debugger scope, you can use the DebuggerHidden attribute, part of the System.Diagnostics namespace. When a member has been marked as DebuggerHidden, breakpoints will not hit for that member.

 

If you are unaware of this attribute, let's go a step ahead to learn about this attribute and how it works. Continue reading to know more.

Published by on under Tips | Visual Studio 2013

If you are a web developer and designing any website or a page, you may want to run it in multiple browsers to check cross-browser issues. Visual Studio provides an easy way to run the web application in all the selected browsers at a single shot.

 

In this quick tip, today, we are going to learn how to run the web application in multiple browsers from the Visual Studio IDE. Continue reading to know more about it.

Published by on under Tips | Visual Studio 2013

If you are using BitBucket Git repositories for hosting and managing your code, Visual Studio 2015 and Visual Studio 2017 has the extension to easily manage your files, directly from the Team Explorer view of the IDE.

 

In this post, we are going to get you started with the extension and see the main features that the extension supports.

Published by on under Bitbucket | Git

Code lens is a feature, first introduced in Visual Studio 2013, which helps you to understand important aspects about your code without leaving your favorite editor. It tells us the code changes in a fantastic way, within the code editor.

 

In this small tips & tricks post on Visual Studio, we will learn how to change the font and color settings of Code Lens.

Published by on under Tips | Visual Studio 2013

Is your Visual Studio instance returning error code MSB3073 while executing the post build event? If you faced such error message and already spent time on investigating the root cause, you came to a proper landing page.

 

Recently, I too faced it and later noticed the cause which I am going to document here to save your further investigation time. Hope that helps.

Published by on under Tips | Visual Studio 2013

The Visual Studio LightSwitch team, in a blog post, announced an important update about the LightSwitch tool that was used to accelerate the development of line-of-business apps. They are going to draw a line to end this tool from the future versions of Visual Studio.

 

If you are developing apps using LightSwitch, it’s time for you to think and start planning for a smooth migration. Continue to read more about it.

Published by on under LightSwitch | News

Not many of us wants to work in the designer view of Visual Studio while working with the XAML files. This could be due to no requirements of changing the UI layout rather than few data bindings. By default, Visual Studio loads the XAML designer view.

 

In this post we are going to learn how to disable the designer view and/or change the way it loads the default document view.

Published by on under Tips | Visual Studio 2015

It’s now a connected world and the applications that you use these days should run in multiple devices. Thus needs a smooth synchronization of it’s data. Visual Studio 2015 provides a way to synchronize it’s settings to multiple connected devices through One Drive.

 

In this blog post, we will learn how to synchronize the Visual Studio settings so that, you can have the same settings in all devices that you use.

Published by on under Tips | Visual Studio 2015

Microsoft released a new patch for Visual Studio 2015 Update 3, pushing the IDE build version no. to: 14.0.25431.01. This is the fifth cumulative update for VS2015 Update 3 covering fixes for high-impact bugs noticed by product team and the community.

 

If you are using Visual Studio 2015 Update 3, you should download this patch (optional) and install it on your development environment to have a smooth IDE experience.

Published by on under News | Visual Studio 2015

Sometime when using NuGet packages, it may need additional packages as a reference. During installation of the main package, if it’s unable to install the dependent packages, Visual Studio 2015 allows you to auto download missing packages.

 

In this small blog post, we will learn how to enable this settings to retrieve the missing packages in various conditions. Continue reading to know more.

Published by on under NuGet | Tips

How many times it happened that, while writing code, you misspelled a type name? This is most common and this kind of typos can happen with everyone. Visual Studio 2015 provides a way to correct such spelling mistakes using “fuzzy matching” direct from the light bulb.

 

Today we are going to discuss on this topic and see how it can help you. Continue reading this post and don’t forget to check my other posts on Visual Studio 2015 Tips & Tricks.

Published by on under Tips | Visual Studio 2015

Microsoft released another patch for Visual Studio 2015 Update 3, pushing the IDE release version no. to: 14.0.25425.01. This is the fourth cumulative update for VS2015 Update 3 covering fixes for high-impact bugs noticed by product team and the community.

 

If you are using Visual Studio 2015 Update 3, you should download this patch and install in your development environment to have a smooth IDE experience.

Published by on under News | Visual Studio 2015

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

© 2008-2018 Kunal-Chowdhury.com | Designed by Kunal Chowdhury
Back to top