I love resharper it makes refactoring other peoples code also most fun.
www.jetbrains.com/resharper
And ghost doc is another great tool.
http://submain.com/GhostDoc
I would love to use redgates sql prompt but my company wont pay for it ? so free tools are the best :)
My question is what other great tool are in the c#/sql dev toolbar?
...
I have an win-forms application that takes an existing exe which we do not have the source code for. We do, however, develop several Dlls that plug-in to the application to provide the core back-end functionality.
I'd like to be able to configure ClickOnce to deploy this app, but I'm not sure if this is possible given that the main exe...
Is LINQ a new feature in .NET 4.0? Older versions like .NET 3.5 doesn't have?
I am interested to know about this as it seemed to be somehow related to my the project I am working on.
What is LINQ useful for? It seemed to be able to build Expression Tree. What is an actually Expression Tree? Is LINQ able to extract info like class, met...
I have a native c++ app, and I want to use some managed types that are in a separate managed dll. I believe that one way to do this and still keep the c++ app totally native is to use COM interop with .NET. However my problem is that my app has to initially run on machines that don't have the CLR installed, so I don't want the CLR to be ...
Could anyone be kind, and tell me how to make a exe file in visual studio 2008 for a win32 console based, c++ program? Thanks
...
We have the following code structure:
$
|-Core
| |- Project1
| |-CoreFile.cs
| |- Project2
| |- ...
|
|-NewProject
|- Project1
| |-CoreFile.cs
| |-NewFile.cs
|- Project2
|- ...
We have branched core into Project as a starting point and are adding files into NewProject solution's projects.
What we...
Can someone briefly explain to me the difference between Visual Studio's solution file (.sln) and project file (.vcproj).
It seems to me opening either one open the correct solution/project in Visual Studio. Is one the super-set of the other?
Note: I am currently using Visual Studio 2008 working on a project that was brought forward f...
Hi!
I've found information about this feature on SO some time ago, but the topic was a duplicate of Hidden Features of Visual Studio (2005-2008)? and I can't find it anymore.
I want to use something like this:
#ifdef DEBUG
#define break_here(condition) if (condition) ... // don't remember, what must be here
#else
#define break_here(co...
Is it possible to switch off managed code (and switch on unmanaged code) for c++ coding, so that programs (exes) made are run direct to native machine code in Visual Studio 2008?
Also, is it true that after the first time a .net (managed) exe runs (say written in C#) the exe gets converted to a native code one (like the old c++ ones pre...
Does anybody know if the Visual Studio Team System/Explorer has a way of doing the equivalent of SVN's svn:external? I don't need it to reference a location outside of the Team Project, just locally in the project.
Given the following example source code directory structure:
\root
\tags
\ModuleA
...
I'm using guidelines right now, but I do not think there is any way to disable them for certain projects (my project with tests).
In general, how do you reconcile long, descriptive test method names with a line length limit for non-test code (both of which I think are good)? If you feel the same way and have solved this, what solution ...
I'm a relatively new employee at my current company, so I'm still "drinking from the fire hose" in terms of learning my way around the software and architecture. I've found myself dealing with some very large objects while writing unit tests, let's say for discussion a "SavedOrder", and I need to find where to find a particular piece of ...
I want to taking paging off of my gridview. I am doing this in javascript by redirecting. I'll explain below. But i would rather take off paging and have just my Gridview reload in the update panel. How can that be done?
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.Params(...
Resharper Unit Test Runner runs significantly slower than nunit-console or nunit gui.
For example, 3800 tests take just over 60 seconds via nunit-console, but those same tests take over 5 minutes to run in Resharper Unit Test runner. Why such a significant difference?
Since our test code base has grown significantly, this is really ...
I am working on a Windows form application with C#,and it would be really helpful if I could modify a value in "setting.setting" file in the program properties. In fact I want to put connection string for SQL database in this file and get it when needed so I need to change it if the connection changed.
...
At work I use Visual Studio 2008 and at home I use Xcode 3.2 (and I love both of them). But a major annoyance is the difference in keyboard shortcuts - I will be happily coding and then attempt to perform an autocomplete (Ctrl+Space in Visual Studio, Esc in Xcode) and a GeneralTypingFault will throw a SwearAndHitYourDeskInAnger exceptio...
What is the maximun that LINQ expression Tree can do?
Can it define a class?
How about a method, with all the declared name, modifiers, parametertype and return type?
Must the program always define the tree himself? Is it possible to generate the tree from a given C# file?
Where can I get resources to learn about writing basic to adv...
I have an IValueConverter in WPF that converts a relative file path to a BitmapImage.
The Code:
public class RelativeImagePathToImage : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
var relativePath = (string)value;
if (string.IsNullOrEmpty(relati...
When generating a COM dll with VisualStudio, all I really need is the DllCanUnloadNow symbol (and three related ones) to be exported from the dll itself. Nobody is going to link against my library, so I'm not (at all) interested in a .lib file, nor in an .exp file.
However, I don't manage to inhibit creation of these files. (note: I...
Settings.settings generates Settings.Designer.cs which presumably generates app.config which then is copied to output directory as Foo.exe.config. When I distribute the application without the config file, nothing bad seems to happen. So, what is that file for?
...