Questions tagged [visual-studio-2015]

Visual Studio 2015 is the version of Microsoft's Visual Studio product suite which follows 2013 version (also known as "Dev14", includes C++ compiler version 19.0). Use this tag if you have a specific question about Visual Studio 2015 features and functionality, not just a question reading your code.

The version of Visual Studio which follows . The Release to Market (RTM) version of Visual Studio 2015 has been made available from July 20th 2015.

Visual Studio 2015 includes a variety of improvements, including better use of the Roslyn compiler tools, simplified community versions and plugin support for the community edition, better cross-platform development support and an improved debugger1.

Visual Studio is followed by , which was released on March 7th 2017

###More Information:

19634 questions
9
votes
2 answers

"Remove unnecessary usings" not working in Visual Studio 2015

I have a solution with a few projects. Remove unnecessary usings is working in all projects except for one. Why does the Remove unnecessary usings command not work in some projects? Edit - As you can see in the Before image there is no Remove…
david.s
  • 11,283
  • 6
  • 50
  • 82
9
votes
4 answers

Visual Studio 2015 - Adding virtual directory not possible

we are running some of our sites as Web Site projects in Visual Studio. We recently upgraded to VS2015. Now we can't add virtual directories to new websites. We already tried right-click "Add new virtual direcory" where we get an error message as…
Dominik G
  • 1,459
  • 3
  • 17
  • 37
9
votes
4 answers

Visual Studio 2015 - C# Windows Universal App missing assembly reference

Today I cloned my windows universal app project from github onto a new machine running a new install of Visual Studio 2015. After the project loaded, I noticed that all of my pages and properties were underlined red with many errors CS0246 C# The…
rcbevans
  • 7,101
  • 4
  • 30
  • 46
9
votes
1 answer

How can a Gated Check-in be configured in tfs 2015 "vNext" builds?

The new build system is pretty exciting. But... I would like to know if there's any way to create a build definition with a gated checkin using TFS Version Control like it's available in XAML build definition? Is it a hidden option or difficult to…
9
votes
1 answer

"A value of type FixedToolBar cannot be added to a collection or dictionary of type 'UIElementCollection'" but FixedToolBar is a subclass of UIElement

We have a custom control called FixedToolBar defined in a class library which is referenced by a second assembly which uses it via XAML. However, VS2015 is showing the error: A value of type FixedToolBar cannot be added to a collection or…
Mark A. Donohoe
  • 28,442
  • 25
  • 137
  • 286
9
votes
1 answer

Should bit-fields less than int in size be the subject of integral promotion?

Let's say I have following struct: struct A { unsigned int a : 1; unsigned int b : 1; }; What interests me is the type of expression a + b. While technically bit-fields have "type" with size less than int so integral promotion probably…
9
votes
1 answer

Unable to set next statement when debugging

I am debugging my project in VS2015 and an exception is thrown in my code. When I try to set the next statement I get the error message displayed below. When I debug the same solution in VS2013 I am able to set the next statement without any…
9
votes
3 answers

Exclude auto properties from Code Coverage in Visual Studio 2015

I just upgraded a bunch of projects to VS2015/C#6. Now MSTest's Code Coverage analysis is reporting that some auto properties aren't covered by unit tests. This wasn't the case in Visual Studio 2013, and I suspect it may be something to do with the…
Iain Galloway
  • 18,669
  • 6
  • 52
  • 73
9
votes
2 answers

UWP : How to set the main icon

I actually build my first universal app on windows 10, and I don't konw to change the main icon of the application (icon visible on taskbar) ? I've setted icon in visual assets with no visible change. Can you help me ? Thanks Mickaël
user3166910
  • 91
  • 1
  • 2
9
votes
2 answers

ReSharper big font in Visual Studio 2015

not sure if that big font comes from my Windows 10 setting or ReSharper still is not fully integrated with Visual Studio 2015. Does anyone else have the same problem?
Yar
  • 7,020
  • 11
  • 49
  • 69
9
votes
0 answers

Show Dependencies manager In Solution Explorer for VS2015

In Visual Studio 2015, when you create a new Web Application template using the starter web template, you get an item in solution explorer called "Dependencies" which helps you manage your bower/npm packages. However, if you create a new Web…
ShadowMinhja
  • 293
  • 2
  • 10
9
votes
3 answers

Cannot compile modules unless the --module flag is provided

UPDATE:The issue I had at the time was due to a bug in VS/Typescript. This issue is now resolved. Currently, the only reason for this error to occur is that no module type has been selected in Typescript properties. See accepted answer. VS 15:…
Greg Gum
  • 33,478
  • 39
  • 162
  • 233
9
votes
2 answers

Use code analysis with Visual Studio DNX project (.xproj)

Within the properties of an "ordinary" Visual Studio project (.csproj) it's possible to say Enable Code Analysis on Build (formerly known as FxCop). Since I've started playing around with new DNX projects (.xproj) I'm searching for something…
9
votes
1 answer

How to disable SonarLint for test projects

I installed SonarLint in VS 2015 and it looks like a great extension with lots of potential. At the moment the extension is also analysing my test projects and giving warnings about this. How can I disable inspection of specific (test)…
Niek Jannink
  • 1,056
  • 2
  • 12
  • 24
9
votes
1 answer

Visual Studio 2015 changes config from debug to release when i publish

I have a project set to Debug config for normal coding. When I publish using the 'Publish Web' button, the config automatically changes to Release after the publish is completed. If I open 'Edit Publish Profile' and publish from the dialog box,…
nycdan
  • 2,819
  • 2
  • 21
  • 33