Can I get Visual Studio to transform the built-in aliases into the System types? For example, if I define the following interface
public interface IExample
{
Int32 DoWork(String input);
}
and use VS to automatically generate the interface, I get the built-in types.
public class Demo : IExample
{
public int DoWork(string input...
My co-workers rarely (if ever) use XML Comments when working on our software (I can't say I'm any better). I've recently seen the benefits of using them, but are they really worth it if the code they're documenting is written clearly (expressive/descriptive variable/function names, some in-line commenting)?
Thanks!
...
I am working on a large source base (approx 15K files) decomposed into about 25 projects. I want to keep the source in perforce (and am evaluating perforce to that end) but due to complications in the setup it isn't possible for me to keep the visual studio projects in source control, I know in theory the answer to this is to check the p...
I've changed from delphi to c#/visual studio and I see model maker code explorer (one of my favourite tools) is available for visual studio ... question is are there any better alternatives?
I've had a play around with resharper and it's good some good refactoring/code highlighting features ... but one thing I really like about code exp...
This morning, when I tried to add a new ASPX page to my project, Visual Studio decided that I no longer needed any .CS files associated with it. Trying to add a web control produced same results: .ascx file with no .cs. I've got two questions so far:
Considering that no changes have been made to the system over the weekend, what could ...
We are trying to build a Help Desk ticketing system just for intranet. Deciding upon the ASP .NET (C#) with Visual Studio 2008 Express (think we have a full version floating around if we need it). Nothing fancy, couple of pages grabbing NTLM information, system information and storing it along with their problem in a database. Goal is to...
I found this question but the referenced options don't say anything about supporting "blame". What I'm looking for is an integrated way to ask "Who edited the line under the cursor last?".
I know most/all SVN clients give this in some form but I'd like something that makes it easy enough that I can do it on a whim: "Humm, who wrote that...
Lately I've found myself constantly running ILDASM to study the MSIL output of my programs.
Are there any utilities to streamline this? Ideally, it would be nice to select some source code and have it compile, disassemble and emit the selected C# code in MSIL.
Anyone know of such a thing?
...
Hello,
The site that I am working on is at a remote server. I want to work on it locally. Are there any tools better then that in Visual Studio for working with a remote website?
...
Hello,
i recently stumbled upon a seemingly weird behavior that Google completely failed to explain.
using Microsoft.VisualStudio.TestTools.UnitTesting;
class TestClass
{
public override bool Equals(object obj)
{
return true;
}
}
[TestMethod]
public void TestMethod1()
{
TestClass t = new TestClass ();
Assert...
Is the following stored procedure code robust for multi-user application. It is working fine. I was wondering if there is any better way to do it and if there is any performance issues.
The proc has three sql statements together like 1.Updating hardware status in Allocation Table 2. Calculating Next appropriate Primary Key value for new...
I have come across a quirky "feature" in Visual Studio and I was interested in seeing if anyone else had noticed this. Or if it is specific to myself.
I have some methods that perform SQL queries on a database and then return an OracleDataReader
method()
{
OracleCommand cmd = new command(query, connection);
OracleDataReader r = cmd.Exe...
I am the only developer of a software project. I did not use any version control until now. I know I can put the last version of the project under version control. The question is whether it is possible to put older versions and branches of the project under version control. If it is possible, how ?
which version control software should...
Does anyone know how or where I can go to quickly extract a list of all of my project files from VS 2005? I need to bring the file names into Excel/Access/SharePoint for Project Management duties (i.e. update logs, etc.), so XML or some other text/delimited text format would be ideal.
I want to get the actual file names (i.e. Default1....
I have a header image that needs to be repeated in the header of multiple reports. I am aware that you can add an image to a report and point to a path where the image file reside, like file://C:\path\to\Reports\Images\logo.gif, but that path can and will change when the app is deployed.
I tried using a relative path like (assuming the ...
I have a static linkable library of C and Fortran routines compiled and linked together using the Visual Studio 2002 C (v7.0) Compiler and the Intel Fortran 9.0.018 Compiler.
The C code in my library calls and links to the Microsoft C-RunTime (MSCRT) 2002 static libraries (single-threaded). I believe the actual version number of the 200...
I have a number of DLLs that are merged using the ILMERGE.EXE tool from Microsoft. All the DLLs have 'optimize my code' unchecked.
When trying to debug code in a web application the modules screen (in Visual Studio) shows the dll has been optimized. This obviously causes a problem when trying to debug certain parts of the application.
...
How can I add AxWEBBrowser in my toolbox?
I tried to customized my toolbox by
TOOLS -> Customized toolbox -> Com components - >
but i didnt found any AxWEBBrowser.
I also include in my reference the AxInterop.SHDocVw and Interop.SHDocVw.
What else i need to do to add AxWEBBrowser?
Thanks..
...
I writing a C# App for a customer for the first time and I am not sure what to do about adopting a version control system.
My version control system is soley composed of making full copies of the source code every day so I never lose more than a day of work.
I would like to do something less primitive going forward. Which source c...
In MS VisualStudio (I'm using 2005), it's possible to right-click in some code file and 'insert tracepoint' right there.
The default message printed when the tracepoint is hit is Function: $FUNCTION, Thread: $TID $TNAME. I would rather have it different (e.g. Thread: $TID [{(void*)this}::$FUNCTION]). Now it's easy to just type in the ...