VisualStudio

Showing posts with label VisualStudio. 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

While working in Windows, you may face the following error that says "Event ID 10016: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID ... from address LocalHost (Using LRPC) running in the application container".

 

This could occur due to the security permission set to the Component Services of the COM Server that uses the specified CLSID and/or APPID.

Published by on under Solution | VisualStudio

Early this week, Microsoft released an update (version: 15.6.3) of Visual Studio 2017 with a list of fixes. The team has now released one more update to it, incrementing the version number to: 15.6.4. This new update contains a set of new fixes, reported by the customers.

 

Before upgrading to this build, you may want to know what has been changed/fixed. Continue reading more to know about the changes.

Published by on under News | Visual Studio 2017

Within a week after releasing the Visual Studio 2017 version 15.6 Update 2 (15.6.2), Microsoft pushed another new update which incremented the build number by one. With this update, the latest version of Visual Studio 2017 is going to be the version 15.6.3.

 

The latest build version of Visual Studio 2017 contains a set of fixes for the user reported issues. Read more to know about the fixes.

Published by on under News | Visual Studio 2017

You may face the error WixAttachedContainer - The system cannot find the file specified when you run Visual Studio 2015 installer from the Control Panel in maintenance mode by clicking the Modify/Repair option.

 

Today in this post, we will discuss the cause behind this issue and how to resolve it. Continue reading to know more.

Published by on under Solution | Tips

Microsoft released a new update (version: 15.6.2) to the Visual Studio 2017. This build addresses customer reported issues, along with a security vulnerability in the public versions of .NET Core which could cause a DoS attack.

 

If you are using Visual Studio 2017, make sure to update to this build. Listing herewith the issues fixed in this build.

Published by on under News | Visual Studio 2017

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

Microsoft released a new update of Visual Studio 2017, which bumped up the latest build version number to 15.5.7. This new build contains few changes to Team Explorer focusing to Git, and fixes to some customer-reported issue.

 

To know about what has been changed and fixed in this release, continue reading this blog post. Don't forget to check the 'Known Issues' before upgrading.

Published by on under News | Visual Studio 2017

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

Followed by the Visual Studio 2017 updates (version: 15.5.3 and 15.5.4) in this January, Microsoft released another build with some new fixes and improvements. Heading towards the next major update, this bumps up the version number to 15.5.5.

 

To know what are the new fixes part of this new update (version: 15.5.5), check out this post. Don't forget to check the 'Known Issues' before upgrading.

Published by on under News | Visual Studio 2017

Microsoft released a new update (version 15.5.3) for its existing Visual Studio 2017 installation. If you are currently using Visual Studio 2017, you may like to update it, as it contains few fixes on top of the previous build.

 

If you like to check, what has been fixed in this new update, here's a list of these fixes. Don't forget to check the 'Known Issues' section.

Published by on under News | Visual Studio 2017

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

Microsoft has released the next major version of Visual Studio 2017. This new build version 15.5 consists of many new improvements and fixes, that you would like to have. Check out this post to know what's new in this build and the top issues fixed in this build.

 

Don't forget to checkout the known issues and available workarounds in Visual Studio 2017 version 15.5, before upgrading to this build.

Published by on under News | Visual Studio 2017

Microsoft released a new update for Visual Studio 2017, increasing the version to 15.4. If you have already installed Visual Studio 2017, you will get the update notification under the notification icon. You can also check for updates inside the Extensions and Updates dialog.

 

Check out this blog post to know what has been newly added/updated in this build. It also lists the issues that has been fixed.

Published by on under News | Visual Studio 2017

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

Lightweight solution loading is a new concept in Visual Studio 2017, when enabled, Visual Studio loads a small subset of the projects instead of loading all the projects available in a large solution. Thus, it loads solutions twice faster.

 

You need to manually enable/disable this feature. But in version 15.3 and above, you can ask Visual Studio to decide whether to enable it or not. Let's discuss the steps.

Published by on under Tips | Visual Studio 2017