Today when I started Visual Studio 2012 at work I found some new colored bars.
We work on a shared remote server through RDP, so I asked around if someone has installed or updated anything. It seems no one has done "anything".
There are the bars I'm seeing:
The leftmost bars, the green and yellow one, I know about. They show where the file has been edited since its opening (yellow means the changes has not been saved yet, green means they have been saved).
The rightmost one, I'm lost about them. They seem to usually mirror the leftmost, but not always. They persist through file close-reopen.
Through some tinkering, it seems the green rectangles means new lines added, the blue rectangles means existing lines modified and the red triangles means removed lines.
These are the information form Visual Studio's About window:
Microsoft Visual Studio Premium 2012
Version 11.0.60315.01 Update 2
Microsoft .NET Framework
Version 4.5.50709
Installed Version: Premium
LightSwitch for Visual Studio 2012 04941-004-0044006-02568
Microsoft LightSwitch for Visual Studio 2012
Office Developer Tools 04941-004-0044006-02568
Microsoft Office Developer Tools
Team Explorer for Visual Studio 2012 04941-004-0044006-02568
Microsoft Team Explorer for Visual Studio 2012
Visual Basic 2012 04941-004-0044006-02568
Microsoft Visual Basic 2012
Visual C# 2012 04941-004-0044006-02568
Microsoft Visual C# 2012
Visual C++ 2012 04941-004-0044006-02568
Microsoft Visual C++ 2012
Visual F# 2012 04941-004-0044006-02568
Microsoft Visual F# 2012
Visual Studio 2012 Code Analysis Spell Checker 04941-004-0044006-02568
Microsoft® Visual Studio® 2012 Code Analysis Spell Checker
Portions of International CorrectSpell™ spelling correction system © 1993 by Lernout & Hauspie Speech Products N.V. All rights reserved.
The American Heritage® Dictionary of the English Language, Third Edition Copyright © 1992 Houghton Mifflin Company. Electronic version licensed from Lernout & Hauspie Speech Products N.V. All rights reserved.
Visual Studio 2012 SharePoint Developer Tools 04941-004-0044006-02568
Microsoft Visual Studio 2012 SharePoint Developer Tools
Git Source Control Provider 1.0.0.0
JetBrains ReSharper 7.0.1 C# Edition build 7.0.1098.2760 on 2012-08-27T14:31:12
JetBrains ReSharper 7.0.1 package for Microsoft Visual Studio. For more information about ReSharper, visit http://www.jetbrains.com/resharper/. Copyright © 2003–2013 JetBrains, Inc.
JetBrains TeamCity Addin 7.1 build 7.1.667.137 on 2013-02-05T12:20:56 [Not Loaded]
JetBrains TeamCity Addin 7.1 package for Microsoft Visual Studio. For more information about TeamCity, visit http://www.jetbrains.com/teamcity/. Copyright © 2000–2013 JetBrains, Inc.
NuGet Package Manager 2.2.40116.9051
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.0
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 11.1.20627.00
Microsoft SQL Server Data Tools
StyleCop 4.7.41.0
Provides source code style and consistency tools. See http://www.stylecop.codeplex.com/ for more details.
Web Developer Tools 1.2.40308.0
Microsoft Web Developer Tools contains the following components:
Page Inspector: Tool that offers an efficient way to decompose Web Applications and diagnose front-end issues.
Web Publishing: Extensions required for Web Publishing for both hosted servers as well as on premises.
Web Form Templates: Includes the default templates for Web Form Applications.
Editor Extensions: Includes HTML, CSS, and JS editor extensions that greatly enhance the development experience.
Git source control provider
Demo.
I have these extensions installed:
Can someone shed some light on this, and how can I disable them? My OCD is complaining about the conflicting information...
They come from the GIT source control provider. I suppose your project is versioned, so those bars give you information about lines that are changed in some way, and what is the nature of the change.
Go to Edit menu
Advanced /
View White Space Ctrl+E,S
Related
VS started to "synchronize" the namespace of a file with the folder structure when moving files into another folder. I could not find a setting for this in the options menu and also searching for it online did not result in any useful information.
How can I turn this off?
VS info:
Microsoft Visual Studio Professional 2022
Version 17.4.3
VisualStudio.17.Release/17.4.3+33205.214
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Professional
Visual C++ 2022 00476-80000-00000-AA471
Microsoft Visual C++ 2022
ASP.NET and Web Tools 17.4.326.54890
ASP.NET and Web Tools
AvaloniaPackage Extension 1.0
AvaloniaPackage Visual Studio Extension Detailed Info
Azure App Service Tools v3.0.0 17.4.326.54890
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools 17.4.326.54890
Azure Functions and Web Jobs Tools
C# Tools 4.4.0-6.22580.4+d7a61210a88b584ca0827585ec6e871c6b1c5a14
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Entity Framework Core Power Tools 2.5
Adds useful design-time EF Core DbContext features to the Visual Studio Solution Explorer context menu.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager 6.4.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
NUKE Support 0.1.0
Task Runner integration for execution of targets and code snippets for authoring
Razor (ASP.NET Core) 17.0.0.2246202+61cc048d36a3fc9246d2f04625988b19a18ab8f0
Provides languages services for ASP.NET Core Razor.
SQL Server Data Tools 17.0.62207.28050
Microsoft SQL Server Data Tools
Switch Startup Project 4.2.76
Provides a toolbar dropdown box to switch between startup projects.
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 17.0.10921.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 4.4.0-6.22580.4+d7a61210a88b584ca0827585ec6e871c6b1c5a14
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 17.4.0-beta.22512.4+525d5109e389341bb90b144c24e2ad1ceec91e7b
Microsoft Visual F# Tools
Visual Studio IntelliCode 2.2
AI-assisted development for Visual Studio.
Visual Studio Tools for Unity 17.4.3.0
Visual Studio Tools for Unity
VsChromium 0.9.39
Collection of tools to help contributing code to the Chromium project.
VSColorOutput64 2022.2
Color output for build and debug windows - https://mike-ward.net/vscoloroutput
JetBrains ReSharper 2022.3.1 Build 223.0.20221218.114821 built on 2022-12-18
dotCover 2022.3.20221220.121240
dotTrace 2022.3.20221220.121254
ReSharper 2022.3.20221218.162156
dotMemory 2022.3.20221220.121254
The explanation document for this operation "enable namespace update when moving files" is here:Sync namespace and folder name.
You can find it and close it in the following operations.
Tools->Options->Projects and solutions->General->Enable namespace update when moving files
I have a dacpac on my local machine I am trying to deploy it using code and it fails. with the following error
I code I am using to deploy the dacpac is as follows
private static void CreateDatabase()
{
using (var dacPackage = DacPackage.Load(DacPacFullPath))
{
var dacServices = new DacServices(Shared.Environment.Settings.RadanDbNameOrConnectionString());
dacServices.Deploy(dacPackage, DatabaseName, true);
}
}
The things I have checked
DacPacFullPath is correct
dacServices is correct i.e, the connectionstring is formed correctly.
Used the credentials used in the connection string to login onto SQL and it
works fine
I manually deployed the dacpac in management studio and it works
I am using SQL Server 2016 and Visual Studio 2015 Detailed info as follows
SQL Server
Microsoft SQL Server Management Studio 13.0.16106.4
Microsoft Analysis Services Client Tools 13.0.1700.441
Microsoft Data Access Components (MDAC) 10.0.16299.15
Microsoft MSXML 3.0 4.0 6.0
Microsoft Internet Explorer 9.11.16299.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.3.16299
Visual Studio 2015
Microsoft Visual Studio Professional 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.7.02556
Installed Version: Professional
LightSwitch for Visual Studio 2015 00322-40000-00000-AA922
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015 00322-40000-00000-AA922
Microsoft Visual Basic 2015
Visual C# 2015 00322-40000-00000-AA922
Microsoft Visual C# 2015
Visual C++ 2015 00322-40000-00000-AA922
Microsoft Visual C++ 2015
Application Insights Tools for Visual Studio Package 7.0.20622.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2015.1 (Beta8) 14.1.11107.0
ASP.NET and Web Tools 2015.1 (Beta8)
ASP.NET Web Frameworks and Tools 2012.2 4.1.41102.0
For additional information, visit http://go.microsoft.com/fwlink/?LinkID=309563
ASP.NET Web Frameworks and Tools 2013 5.2.40314.0
For additional information, visit http://www.asp.net/
Common Azure Tools 1.8
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service 2.0
JavaScript Language Service
JavaScript Project System 2.0
JavaScript Project System
JetBrains ReSharper Ultimate 2016.2.2 Build 106.0.20160913.91321
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2018 JetBrains, Inc.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
NuGet Package Manager 3.4.4
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.
SQL Server Data Tools 14.0.60519.0
Microsoft SQL Server Data Tools
TypeScript 1.8.36.0
TypeScript tools for Visual Studio
Any help is greatly appreciated.
I want to develop Android apps using C# with Xamarin in Visual Studio.
However, they provide an installer which will download required files only. How can I download a full offline (incl. its requirements) installer?
I have the following software already installed:
- Java 8u101
- Java SE Development Kit 8u91
- .NET Framework 4.6 with SDK
- Microsoft Visual Studio 2010 Express (I don't know if Xamarin will work with this - please let me know)
- Android SDK (installed earlier for Android Studio)
If you know where I can download an offline installer for Xamarin.Android, please let me know. I cannot download through the Universal Installer since I have a poor connection.
I apologize if I have posted in the wrong place.
Thank you
Update: i have VS 2015 ENTERPRISE EDITION
If you log in to your Xamarin account page and go to the downloads section [1].
You'll be able to get everything you need for an offline install if you click the "Show all versions" link underneath the large blue button.
Grab the Xamarin.iOS or Xamarin.Android Windows installer (they're the same thing) - that's it!
Seeing as you need Visual Studio 2015 (as you have 2010 and Xamarin is not compatible with 2010 anymore), you can also grab a copy of the VS 2015 Community ISO [2].
[1] https://store.xamarin.com/account/my/subscription/downloads
[2] https://www.microsoft.com/en-us/download/details.aspx?id=48146
If You want to install it by Visual Studio installer:
Try download it manually. View file Catalog.json at installation root. Find string containing "Xamarin.VisualStudio":
{"id":"Xamarin.VisualStudio","version":"4.6.3.4","type":"Vsix","payloads":[{"fileName":"Xamarin.VisualStudio.vsix","sha256":"c082f47bc00da4420cd1e90f167ad4285688b5c5df1d115c5dda1f1ec2aa1ffb","size":492545242,"url":"https://download.visualstudio.microsoft.com/download/pr/11327837/d68d54e233c956ff79799fdf63753c54/Xamarin.VisualStudio.vsix"}],"vsixId":"Xamarin.VisualStudio",
here
4.6.3.4 - version of Xamarin;
https://download.visualstudio.microsoft.com/download/pr/11327837/d68d54e233c956ff79799fdf63753c54/Xamarin.VisualStudio.vsix - try download this file, then check file size and checksum, here sha256.
If all ok, change file name to "Xamarin.VisualStudio.vsix" and put it to folder at root of instalation, and name it using id and version, here :
Xamarin.VisualStudio,version=4.6.3.4
Please check here
http://www.c-sharpcorner.com/article/quick-start-tutorial-manual-or-quick-way-of-xamarin-and-simulator-installation/
No Idea Microsoft Visual studio 2010 express is support Instead of use
Visual Studio Community 2015 its free
Preamble
I know, that this question seems to have anwsers here:
Resharper runs UnitTest from different location
Resharper Unit Test Runner Can't Find Content Files
I have nearly the same problem like ReSharper 10 test runner failing to find AppSettings referenced from external file.
But these answer stated, that the problem should be gone with ReSharper 10.0.2
Question
I included a custom.xml files with custom settings, and I need to read them from my unit test. But my file is not found.
I looked, where the process runs, and included this line
var curdir = Directory.GetCurrentDirectory();
So I found out, that curdir is C:\\Users\\MYUSER\\AppData\\Local\\JetBrains\\Installations\\ReSharperPlatformVs11_000
Now it is obvious that my file cannot be found. After googling it, it found the above mentioned questions. But none of these solutions works for me.
These are my settings:
Visual Studio Configuration
Microsoft Visual Studio Ultimate 2012
Version 11.0.61219.00 Update 5
Microsoft .NET Framework
Version 4.6.01038
Installierte Version: Ultimate
Architecture and Modeling Tools 04940-004-0038003-02857
Team Explorer für Visual Studio 2012 04940-004-0038003-02857
Microsoft Team Explorer für Visual Studio 2012
Visual Basic 2012 04940-004-0038003-02857
Microsoft Visual Basic 2012
Visual C# 2012 04940-004-0038003-02857
Microsoft Visual C# 2012
Visual C++ 2012 04940-004-0038003-02857
Microsoft Visual C++ 2012
Visual F# 2012 04940-004-0038003-02857
Microsoft Visual F# 2012
Windows Phone SDK 8.0 - DEU 04940-004-0038003-02857
Windows Phone SDK 8.0 - DEU
ASP.NET and Web Tools 2012.3.41009
GenerateUnitTest 1.0
Git Source Control Provider 1.0.0.0
JetBrains ReSharper Ultimate 10.0.2 Build 104.0.20151218.120627
Microsoft Advertising SDK for Windows Phone 6.2.923.0
Microsoft Advertising SDK for Windows Phone Build 6.2.923.0
Microsoft XNA Game Studio 4.0
Microsoft XNA Game Studio 4.0
NuGet-Paket-Manager 2.8.60318.667
PreEmptive Analytics Visualizer 1.0
SQL Server Data Tools 11.1.20627.00
Microsoft SQL Server Data Tools
Git Extensions
You don't list any version of NUnit installed, but you tagged this 'nunit' so I'm going to make an assumption you are using it! Further, I'm assuming NUnit >= 3.0... ignore this if otherwise. :-)
NUnit 3.0 stopped changing current directory. It's a bad idea for us to do that anyway and it's a really bad idea with 3.0, when multiple assemblies in differing directories may be running at the same time.
So, assuming still it's an NUnit problem, instead of using a relative path, use TestContext.CurrentContext.TestDirectory as the location of your file.
try this:
Directory.SetCurrentDirectory(AppDomain.CurrentDomain.BaseDirectory);
In my case was fixed when I changed to this setting
The thing that helped me with such issue - I just turned off NUnit 2.x support in ReSharper settings (ReSharper -> Options... -> Tools -> Unit Testing -> NUnit).
I also turned off NUnit 2.x support and even if it has obviously nothing to do with the problem, it solved it (I have ReSharper 2017.3.20180201.111630)
We are using TestCaseSource in our tests.
So the fix for me in Rider version 2021.1.3 was to change Build-->Unit Testing-->NUnit to Test Runner
Is it still possible to configure the Visual Studio 2015 debugger to display objects including a "base" entry, that shows inherited members in layers?
Or did ReSharper do this to me?
No, it did not.
this is how i want it to look again:
This is how it looks like:
Edit: My VS setup is:
Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081
Installierte Version: Enterprise
Architecture and Modeling Tools 00322-80000-00000-AA968
Microsoft Architecture and Modeling Tools
UML® und Unified Modeling Language™ sind Marken oder eingetragene Marken der Object Management Group, Inc. in den Vereinigten Staaten
und anderen Ländern.
LightSwitch for Visual Studio 2015 00322-80000-00000-AA968
Microsoft LightSwitch for Visual Studio 2015
Visual Basic 2015 00322-80000-00000-AA968
Microsoft Visual Basic 2015
Visual C# 2015 00322-80000-00000-AA968
Microsoft Visual C# 2015
Visual C++ 2015 00322-80000-00000-AA968
Microsoft Visual C++ 2015
Allgemeine Azure-Tools 1.5
Bietet allgemeine Dienste für die Verwendung durch Azure Mobile Services und Microsoft Azure-Tools.
AnkhSVN - Subversion Support for Visual Studio 2.5.12582.28
AnkhSVN - Subversion Support for Visual Studio 2.5.12582.28
* Ankh.Package 2.5.12582.28
* Subversion 1.8.11 via SharpSvn 1.8011.3473.77
SharpSvn is linked to: Apr 1.5.1, Apr-util 1.5.4, Cyrus Sasl 2.1.25, eXpat 2.1.0, OpenSSL 1.0.1l 15 Jan 2015, serf 1.3.8, SQLite 3.7.17, Subversion 1.8.11-SharpSvn-1.8.11, ZLib 1.2.8
SharpSvn is optionally linked to: Berkeley DB 4.4.20, SharpPlink 1.8011.3473.77
ASP.NET- und Webtools 14.0.20626.0
ASP.NET- und Webtools
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
JetBrains ReSharper Ultimate 2015.1.3 Build 102.0.20150724.141603
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit
http://www.jetbrains.com/resharper. Copyright © 2015 JetBrains, Inc.
Komponententest generieren 1.0
Generiert Komponententestcode für Methoden in zu testenden Klassen.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Code Digger 0.9
Microsoft Code Digger
Microsoft.Pex.VisualStudio 1.0
Pex
NuGet-Paket-Manager 3.2.0
NuGet-Paket-Manager in Visual Studio. Weitere Informationen zu NuGet finden Sie unter "http://docs.nuget.org/".
Office Developer Tools for Visual Studio 2015 ENU 14.0.23025
Microsoft Office Developer Tools for Visual Studio 2015 ENU
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio-Erweiterung zur Visualisierung aggregierter Zusammenfassungen vom PreEmptive Analytics-Produkt.
SQL Server Data Tools 14.0.50616.0
Microsoft SQL Server Data Tools
Syntax Visualizer 1.0
An extension for visualizing Roslyn SyntaxTrees.
TortoiseGitToolbar 1.0
Lightweight toolbar for launching commonly used TortoiseGit functionality from within Visual Studio.
Workflow Manager Tools 1.0 1.0
Dieses Paket enthält die erforderlichen Visual Studio-Integrationskomponenten für Workflow Manager.
This could be a VS2015 bug, here's a blog post on how to log a bug, rather "send a frown". Be warned, that by default, sending a bug report in that manner will also send a screen capture of your entire desktop so if you have any bugs in your source, make sure they look pretty ;-)
If you have a VM around, you can try a clean install of VS2015, then apply your add-ins, one at a time, to see if any are the culprits.
Still waiting for Update 1 to get released... there's a few bugs in the debugger that will hopefully get fixed soon.
Enterprise installed with all options (I think I checked everything at install), versions are the same as yours, but with the following components list:
Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00081
Installed Version: Enterprise
Architecture and Modeling Tools 00322-90000-33329-AA260
Microsoft Architecture and Modeling Tools
UML® and Unified Modeling Language™ are trademarks or registered...
Visual Basic 2015 00322-90000-33329-AA260
Microsoft Visual Basic 2015
Visual C# 2015 00322-90000-33329-AA260
Microsoft Visual C# 2015
Visual C++ 2015 00322-90000-33329-AA260
Microsoft Visual C++ 2015
Visual F# 2015 RC 00322-90000-33329-AA260
Microsoft Visual F# 2015 RC
Application Insights Tools for Visual Studio Package 1.0
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 14.0.20626.0
ASP.NET and Web Tools
ASP.NET Web Frameworks and Tools 2013 5.2.30624.0
For additional information, visit http://www.asp.net/
Color Theme Designer 1.0
Designer for creating new color themes
Common Azure Tools 1.5
Provides common services for use by Azure Mobile Services and Microsoft...
GenerateUnitTest 1.0
Generates unit test code for methods in classes under test.
Microsoft Azure Mobile Services Tools 1.4
Microsoft Azure Mobile Services Tools
Microsoft Code Digger 0.9
Microsoft Code Digger
Microsoft.Pex.VisualStudio 1.0
Pex
NuGet Package Manager 3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet...
PreEmptive Analytics Visualizer 1.2
Microsoft Visual Studio extension to visualize aggregated summaries from...
SQL Server Data Tools 14.0.50616.0
Microsoft SQL Server Data Tools
Visual Studio Tools for Universal Windows Apps 14.0.23121.00 D14OOB
The Visual Studio Tools for Universal Windows apps allow you to build ...
No clue what the 00322-90000-33329-AA260 string is, perhaps EN version of Enterprise? But the top versions are the same as yours. You can never have enough version strings for your app suite.