I'm using Visual Studio 2010 and AnkhSvn. There's a panel called PendingChanges (it's main panel). I use it to switch to different branches. There is a combo-box with path to current branch and "Other..." entry. I think when I switch to different branch it supposed to remember path to previously loaded branch so I can quickly switch back...
I'm working with WPF and often have the need to get the namespace and assembly name of a given class. But I don't know how to do this.
So, how can we get the names when browsing the classes in the Solution Explorer or/and when editing the class's codes? Please help!
...
Can I build a web application project with aspnet_compiler or do I need to use devenv too? If I use devenv, do I then need aspnet_compiler?
I'm a little confused as to whether I need aspnet_compiler or not with the new web application projects.
...
We want to have our build server send the output of each build to
C:\Projects\{project name}\build\{build configuration}\.
To accomplish this, I set the Build Output path property for my projects to that in Visual Studio 2010, and build locally to make sure everything works. When I do so, visual studio changes the path to a relative one...
Hello,
Is it possible to save the layout diagram from a DBML file as a jpeg/png or any other image format?
A manager wants to know what we are storing in our database and the print out wasn't enough he wants an electronic version.
I know I can use a screen-shot but wonder if there are any other options? I've just thought about printin...
While writing a post about project euler's 14th problem I ran into a difference in behaviour between VC9 and VC10.
The following code runs OK in VC9 but in VC10 std::unordered_map throws a bad_alloc exception.
The strange thing is that if I recover from the exception future allocations will succeed (the size of the container continues t...
It often happens that a single C# solution contains some projects that are x86-specific (usually by having native dependencies) and others that are AnyCPU.
Up until recently I've always gone into the configuration manager and made sure that the solution platform was AnyCPU. This isn't too much of a problem; it requires occasional tweaks...
I have a .NET 3.5 web application that I am trying to run in my local development environment.
Every time I hit F5 to run the application, I get the following error:
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been remo...
In a Windows Phone 7 Silverlight project, I had a service reference to a WCF service. This morning when I opened up the project, suddenly the namespaces for my WCF service were unknown. The option for "Update Service Reference" in Solution Explorer was not there, so I deleted the Service Reference with the intent of re-adding it. But ...
I'm trying to learn TFSBuild 2010 and workflows and I found using the designer was very confusing. Then I realized from seeing screenshots of other peoples workflows, my designer is clearly messed up. Take a look at this:
http://imgur.com/uoKJ8.png
Something is very strange here. As I click on each task the borders for that task show...
I have a document that I have included in my VS 2010 solution. It is in a folder called "MyFolder" the file itself is called "MyDoc.docx". I've tried the following ways to open the file but none work:
Stream s = File.OpenRead("/MyFolder/MyDoc.docx");
and
Stream s = File.OpenRead("MyFolder/MyDoc.docx");
and
Stream s = File.OpenRe...
Hi,
I've got a problem with Silverlight, or maybe more with VS2010 Ultimate. I was fooling around playing with it, when in one moment a fix that I wrote didn't fix anything. Investigating why I found out that VS is not running the new version which it just compiled, but rather an old version of application - that's why my changes don't ...
I'm about to start a project where I will be likely to use a lot of C++/CLI. I really miss C++/CLI Intellisense in VS 2010. I've heard of some Resharper-like products for C++, but wonder if they provide complete Intellisense. Do they also work with C++/CLI?
What are people doing to overcome this limitation?
...
I'm using Visual Studio 2010 and C# to write a web service that requires special handling that I'm solving by rolling my own SoapExtension. This SoapExtension is of course implementing the ProcessMessage method.
This is all fine, but for some reason this ProcessMessage is being called twice (two, 2 times) for each of the Stages of the S...
It has nothing to do with the question per se, but I guess I'd rather state my reason for wanting to.
I'm not developing an API to be consumed by a lot of other .NET languages or anything like that, but it's rather a matter of style and readability.
I don't like how the C# aliases are 1. colored in VS like reserved words instead of typ...
I'm trying to write an Outlook Addin in C# using Visual Studio 2010 and WPF and it's turning out to be difficult to debug. I would like to have VS automatically attach to OUTLOOK.EXE upon startup so that I can hit breakpoints easily. So, I went into the project's properties > Debug tab > Start Action and changed this setting from "Star...
I think this is what the asker of this question is getting at, but its hard to tell and there's no accepted answer...
I have a C# app built using visual studios application settings. A really useful feature would be the ability to export the settings in one file. Similarly it would be useful to be able to import configuration files exp...
I have a large number of documents present in a file share that I would like to add as document links in a DocLib instead of uploading them all into SharePoint. Unfortunately, the OOB Document Link content type only accepts URLs beginning with http: or https:… no file://
Any workarounds?
...
I've read a fair amount about the improvements of the extensibility story in VS2010 being much improved (i.e. MEF based, etc.), but have yet to get my hands dirty. I've recently ran across a real world scenario that's making me want to dive in, but I'm surprised to not find a lot of helpful info on getting up and running with what I wan...
I'm creating a custom Visual Studio editor and am currently trying to enable find and replace.
In the IVsFindTarget.Find method it says to return __VSFINDRESULT.Found and I'm assuming __VSFINDRESULT.AndReplace flags when a find and replace request it called. The issue is that AndReplace is defined:
VSFR_AndReplace = -2147483648
But...