What do we do if we have some devs working on 64 bit machines and some on 32 bit machines, but we need to reference unmanaged assemblies that need to be in x86 for half the team and x64 for the other half? Is there a solution besides manually updating the references every time someone on a 64 bit rig gets latest?
...
Hi,
I've got an old project written in Delphi 4.
I'm looking for a way to:
use that code with minimal changes from within .NET
use other .NET assemblies from that Delphi code
use Visual Studio to work on the solution which will
contain Delphi project and C#
projects.
Is that possible? What will i need for that?
Thanks
...
These days with Visual C# (Visual C# 2008 specifically) it seems that the default color for menustrips and menus is blue, which to me looks really strange and is something that I'd really like to override. I'm guessing that Visual Studio is picking up this blue color from my selected system theme or something, however no other Windows ap...
The process for releasing my application to the client is per the heading
Build
Clickonce deployment
Obfuscating the main executable with Dotfuscator
Signing the manifest and .application files with mage
Zip for delivery
I'd like to work on an opensource program to automate this as it uses a lot of time everytime a release is needed ...
I have a wrapper class that delegates its work to a pimpl, and the pimpl is a pointer to a baseclass/interface with no data that is specialized in several different ways.
Like this:
class Base
{
void doStuff=0;
};
class Derived
{
int x,y;
void doStuff()
{
x = (x+y*2)*x; //whatever
}
};
class Wrapper
{
Bas...
I'm making a small scripting engine in C# and I was wondering, is there some sort of #compiler directives or some sort of other header-like file I can compile with my script files to define what Managed Dlls my script files are referencing?
public static CompilerResults LoadScript(
string SourceCodeFile, string[] References)
{
v...
I have been trying to debug SQL Server 2005 stored procedures, in Visual Studio Team System 2008.
I connected to the database server and did a right-click "Execute", on the stored procedure. I even tried "Step Into Stored Procedure", with no luck.
The IDE shows it is running, but I can not seem to break or step into the stored proce...
I'm currently developing a visual studio add-in, however when I close visual studio and shutdown my machine and come back the next day, I cannot build the add-in because it is currently loaded in visual studio. How do i fix this problem so I don't have to manually remove delete and reinstall the add-in every time I wish to debug or chang...
Hi all
'Regular' windows application shortcuts have a target which is a path to an executable file. This path is visible (and editable) in the shortcut's properties dialog.
But many shortcuts have no such path, only a (read only) application name is displayed. All the MS Office programs, for example, have such shortcuts.
How do these ...
What is the registry change to tell Visual Studio to always position the current document in the window to the left.
The default implementation is such that if you have 10 documents open and you are editing the 5th one it's tab will be the 5th tab in the group. With the registry change when you click on the tab for the 5th document it b...
By default, Visual Studio 2008 puts the Unicode byte-order mark in front of any file you save. You can override this on a per-file basis by going to File > Advanced Save Options and picking a different encoding.
How do I tell VS to use a default encoding for all files in a particular project or solution? This is drastically screwing up ...
I usually prefer to code with a black background and white/coloured text but I had never taken the time to change my syntax-highlighting in Visual Studio.
Yesterday, when I finally got around to it one of my changes was to change User Types and User Types (Value Types) to different colors. Without realizing it, I had been using a struct...
Suppose you have an interface defined in C#. What is the easiest method to find all classes that provide an implementation of the interface?
The brute force method would be to use "Find References" in Visual Studio and manually look through the results to separate out the usages from the implementations, but for an interface in a large...
My current place of employment is primarily a Microsoft shop and we use Visual Studio pretty extensively. I've grown fond of the laziness of using "Add Service Reference" (formerly "Add Web Reference" in VS2005) to download WSDLs and form classes and methods in nice, convenient namespaces for me.
Since we have started to branch out into...
I've got a couple of solutions that represent a framework of code that I've built up at work. One solution called 'Framework' and another called 'Extensions'.
The reason I split them is that the 'Extensions' solution contain projects that consist of extension methods, and the projects are organized so that the resulting assemblies mi...
I am unable to add a remote server to the Visual Studio Server Explorer for my ASP.Net website which has been running for about 9 months.
I have added a connection to the database that is working well.
The error message leads me to think I may not have the path entered correctly. I have tried a number of combinations, including usin...
I have a solution that contains several c# projects and I would like to be able to set the output path and other properties on all the projects together in a single place. Property Sheets (vsprops) do not seem to be able available for C# projects and the $(SolutionDir) variable is ignored. Are there any other methods to set properties ac...
I just came to know that there are data breakpoints. I have worked for the last 5 years in C++ using Visual Studio, and I have never used data breakpoints.
Can someone throw some light on what data breakpoints are, when to use them and how to use them with VS?
As per my understanding we can set a data breakpoint when we want to check f...
I have read that removing unused references makes no difference to the compiler as it ignores assemblies that are not being referenced in the code itself.
But I find it hard to believe because then, what is the real purpose of Removing unused references? It doesn't have any noticeable effect on the size of the generated assembly or othe...
For C# Visual Studio uses 4 spaces by default, whereas for C++ it is hard-tabs. Why is it so? Why is it different?
My project consists of both C# and C++ code and the difference really annoys me. I want to set a common standard for all the sources, but I wonder if this would have any drawbacks.
...