Its quite annoying.
Example:
private const string someUrl = "http://foo.com";
I don't want the text to be turned into a hyperlink in the code editor.
Any ideas how to turn this off?
...
It's annoying to have to separately maintain a .filters file to make Visual Studio happy, as well as my project's on-disk layout. Is it possible to tell VS to use real folders, like it does for C#?
...
Suppose with VS 2010 I open a file contained in my project. It shows the top few lines like 1 , 2 ,3 , ...
I want to set something so that if I open a file, the editor is focused on the bottom lines. So if the file contains 5675 lines, focus is on line 5675.
Can I do this? If yes, then how?
...
Visual Studio 2010 - release - takes about 5 seconds to open a xaml file.
It does it on some machine, not all of them!
.cs files open instantly. It only happens to XAML.
We tried the following, unsuccessful:
Run VS as Administrator
import user settings from a machine that didn't have the problem
clear the borked registry using cclea...
Hi , How do we hide the Crystal Reports tab for Main Report in a Web form? I am programming in Visual Studio 2010. The TabControl is not available in Web form but only in Windows Form. Thanks in advance. - Sushmita
...
My Visual Studio 2010 Professional has started to produce incorrect designer files when editing aspx or ascx files. Visual Studio decides to use the System.Web.UI.DataVisualization.Charting namespace for all controls in the aspx/ascx files.
Example:
<asp:DropDownList ID="test" runat="server" />
ends up being this in the designer file:...
After doing some search on SO, Google and MSDN forums I've become frustrated that there is so little information for what might seem like an obvious question and possibly a dumb question.
I need to use source control in Visual Studio 2010 Professional. I do not have separate Team Foundation Server 2010. Some people have mentioned Source...
I have a c# class providing some simple classes and some base class extensions such as this one..
public static Boolean ToBooleanOrDefault(this String s, Boolean Default)
{
return ToBooleanOrDefault((Object)s, Default);
}
public static Boolean ToBooleanOrDefault(this Object o, Boolean Default)
{
Boolean ReturnVal = Default;
...
I frequently use the "Remove and sort usings" feature of VS/PowerCommands - in fact, with the help of R#, I make VS do this for me every time i save the document, which I almost reflexively do almost every time I finish writing a code line without errors.
However, there are a couple of namespaces that, if they are there, I don't want to...
I have had a problem where VS2010 will not build my projects before debugging. Even when they have never been built before (i.e. on a fresh checkout from source control).
I will either find I am stepping through on the wrong lines of code (because the symbols are out of date), or an error message if there is no build output (bin\debug ...
I'm running some code to get a publishing page at a certain url. In some cases the page will exist and in most it won't.
Sometimes when the page doesn't exist, the following line of code just sits there being executed:
PublishingPage pubPage = pubWeb.GetPublishingPage("http://some/long/url.aspx");
There is no exception being thrown ...
On almost all of my vb files, at some point I have to enter some code which is about 30 characters long. Rather than me having to type all this out, or copy/paste from an existing file, I was wondering whether its possible, in Visual Studio 2010, to assign a Hot-Key to this value such as Ctrl+A+B which will paste this code in for me?
...
Please help I am pulling my hair out over this:
I have a Visual Studio ASP.NET MVC solution in which a project references a third party DLL, log4net in this case. My solution tree is as follows:
GenericLibrary
MyApp.NHibernate
MyApp.Library
MyApp.WebUI
MyApp.WebUI is the main start-up MVC web project and has references to GenericLib...
I have just installed Visual C++ 2010 Express and I have the impression that the default mode includes C++0x features and the std::tr1 library.
error C2872: 'is_same' : ambiguous symbol
could be 'C:\Program Files\Microsoft Visual Studio 10.0\VC\INCLUDE\type_traits(941) : std::tr1::is_same'
Could you confirm that? If this is th...
Similar to http://stackoverflow.com/questions/1928957/debugging-asp-net-with-iis but for different version of visual studio, different OS and his fix didn't work.
Before I shut down my computer last night everything worked fine. This morning I rebooted and I started getting the error message below when I tried to start debugging my web...
This one should be an easy one.
An example would be the following:
The user clicks a button titled "Ping" and it uses the command prompt "ping" to ping the server. The output is captured in a string and displayed in the windows forms app to the user.
...
When I start debugging my web application either from Start with Debugging (F5) or attaching to the ASP.NET worker process it will load the assemblies from the application very slowly that I can individual read the names of them as they scroll through the status bar of VS2010.
When I start debugging I see that MSVSMON.exe uses 50% CPU a...
Im just wondering how good the MSVC++ Compiler can optimize code(with Code examples) or what he can't optimize and why.
For example i used the SSE-intrinsics with something like this(var is an __m128 value)(it was for an frustrum-culling test):
if( var.m128_f32[0] > 0.0f && var.m128_f32[1] > 0.0f && var.m128_f32[2] > 0.0f && var.m128_f...
How can I change color of lines in Visual Studio 2010 based on some custom pattern? For example, I want to change color of all lines that start with logger. . Is it possible at all?
I have ReSharper 5 installed too.
...
I must be missing something, i have VS2010 Premium.
Under Templates, Test Projects -> Test Documents, there is only 1 thing listed called 'Test Project' If i select his, it adds the Unit testing framework to the solution, but the project it adds is for VB.NET --- does c# not have this option?
thanks :-)
...