I understand how to do build steps using the BuildStep task in MSBuild and TFS as shown here:
http://stackoverflow.com/questions/226717/how-can-we-display-a-step-inside-visual-studio-build-process
What I would like to have is indented build steps like the default MSBuild/TFS build steps display:
I reviewed the MSDN documentation, ...
I have ReSharper 5.0 for C# running on VS 2008 SP1. Most key combinations like (Ctrl+R, Ctrl+R) for renaming an identifier or (Ctrl+Shift+T) for going to a file work.
I thought I would try some of the other refactorings like adding a parameter to a method, but I get the following error, when I put the cursor over a private method.
...
Hi,
I've replaced someone at this company, and he was their SourceSafe guy. He kind of sucked at it, but he knew more than anyone else (i.e. anything at all) and so I'm kind of stuck for places to ask this question. Sorry.
Anyway, I've got a StartUp project (StartupProjectA) in Visual Studio that references projects A, B and C. I've go...
I have a .NET application and a setup fot it. Built using VS 2005.
The development machine is Windows XP SP3.
Once somebody installed it under Windows7. And get the following errors
WinForm ThreadException
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication
that other memo...
Hi, I created a custom toolbar and a VbaProject.otm in Outlook 2007 and now I'm wondering how I can actually use those to create an Add-in? I know I have to use Visual Studio to create and deploy the add-in, but how do I actually import the form, code behind and the toolbar to the add-in dll?
...
Hi,
I am trying to connect to service which is accesssible over https and need authentication.
The error I get is:
Test method
TestProject1.UnitTest1.TestReharB2B
threw exception:
System.ServiceModel.Security.MessageSecurityException:
The HTTP request is unauthorized with
client authentication scheme
'Anonymous'. The a...
Hello.
when i am coding visual studio do not select best value.
if you look this image you will understand what i mean
microsoft visual studio 2010
...
I often work at the office using dual screen and at home using single screen. The window layout of Visual Studio 2010 is messing with me :(. I want to save/restore the layout so that I can quickly "switch" to the layout I want.
How can I do that? Is it possible? Any helps of yours are much appreciated!
...
I assumed when I have, say Project A and Project B, and Project B depends on Project A, I would be able to use in Project B the classes defined in Project A. So if I have
namespace HiFolks
{
public class SomeClass{}
}
in Project A, then I can use HiFlolks.SomeClass in Project B just as if it were defined in Project B. It worked l...
Possible Duplicate:
What tool to find code duplicates in C# projects?
I have to refactor a C# batch that has a lot of duplicates method in different files (Copy and Paste bonanza); essentially I would like to create a common librabry for all of this methods replicated on many .cs files.
Do you know if Visual Studio out of th...
Hello,
I have many XML files with "Build Action" set as "Resource". I can access them from code using the well known pack URI scheme, or just a relative URI (which is actually a valid pack URI, as stated by Microsoft in the pack URI msdn page, so everything is a pack uri :p), like this :
Uri uri1 = new Uri("pack://application:,,,/someF...
I have a setup project in VisualStudio 2005.
User is invited to fill-in the server address that will be stored in a registry key.
Now, I would like that if the user reinstalls this project, that the old server name be proposed by default as value in the setup interface.
Is is possible to keep the ancient registry key value, to propos...
Is one able to compile VB 6 code in Visual Studio.NET ? In other words, is it backwards compatible with older VB code?
Since I know there is a difference between managed code (.NET) and unmanaged code, I am wondering if Visual Studio.NET is able to compile unmanaged code as well?
Kind regards,
Kris
...
Hi all,
I want to install my app or (just access db)to AppData folder to enable write for it.
so, how can I do that in setup project.
Is there just parameter or should I wirte custom action.
Thx.
...
How to make live template in Visual studio 2010, I don't know is it really live template or macro, but what I wan't to do is when I'm write code and when I type let's say -> in, and press space, that program automatically insert code that look like this -> #include <>.
In c++ builder for that purpose we use xml file who is automatically ...
I would like to make a backup of my project, but the folder now exceeds 6.6 GB mainly through extra libraries like boost etc, but even if I just select the folders with my sources, I end up with big files like: .ipch, .sdf and potentially others. To make matters worse I use eclipse to code and VS to compile, so that adds to the mess, alt...
For example I have this code:
if (cond) {
lock (locker) {
foreach (var item in list) {
callFunc(item);
}
}
}
And I now want to remove all those brackets because they are too redundant. I always do it manually but I find myself doing this often so was wondering if there's a shortcut I missed or easy ...
What is the point of compiling assemblies to separate folders? At my work we have 50+ projects which live across a few different solutions. When projects are in the same solution you can set a Project Reference and it picks up the assembly in the \debug or \release folder accordingly. But when setting an external reference (via Browse...
I am new to the Visual Studio thingy.
I have MS SQL Server 2005 and 2008 preinstalled in my Windows Vista computer.
Are they real servers?
Or just some add-on for their server and I need to buy a server version of Windows for it?
If not,
how to run them?
How to add a database, etc.?
And basically how to connect Visual Studio 2008 to M...
I'm using Managed C++.
I need to extract the parent directory after OpenFileDialog returns the String^ file path.
System::String^ filestring = openFileDialog1->FileName;
The method that microsoft uses is Directory::GetParent but this must be saved as
System::IO::DirectoryInfo^ WhyIsThisNotAString = Directory::GetParent(files...