Take the following function:
DataTable go()
{
return someTableAdapter.getSomeData();
}
When I set a breakpoint in this function, is there a possibility to inspect the returned value? The "go" function is directly coupled to a datagrid in an aspx page.
The only way to inspect the returned datatable, is to use a temporary variable......
Hi
I want to use Visual Studio snippets to generate SQL code, for example we have standard naming conventions for foreign keys etc and it would be great if I could just expand a snippet in my SQL script file.
However as far as I can tell the only languages that are supported by the Snippet manager are C#, VB J# and XML
http://msdn.mi...
How can I make ctrl k,d work in a pure C file?
I really enjoy the auto formatting in C#, and I would like to have the same functionality in C as well.
I am using VS2008, but it would probably be helpful if this worked in VS2005 as well.
...
I have an MSI file that I have created using a Visual Studio Setup Project. The installed generates an .InstallState file in the application directory. Is there a way to have this file generated in a different location rather than the default location?
...
I know about this question: http://stackoverflow.com/questions/100548/which-third-party-debug-visualizers-for-visual-studio-20052008-do-you-use
But I dont want to know what debug visualizers you use, I want to know wich debug visualizers are out there.
I have only found Mole (http://www.codeproject.com/KB/macros/MoleForVisualStudioEdit...
In Visual Studio I have set up a DetailsView and an ObjectDataSource which connects with my BLL.
<asp:DetailsView runat="server" ID="UserProfileview" DataSourceID="UserData" AutoGenerateRows="False">
<asp:ObjectDataSource ID="UserData" runat="server" TypeName="UoM.Business.Core.UserAccount" SelectMethod="Read">
<SelectParameters>
...
In .NET should you place unit test projects in with the rest of the solution? Or should there be a test solution that houses all the test projects?
We have all the test projects in with our code base solution...it seems a bit cumbersome.
What do you usually do?
...
Is there a way to run a project inside a solution that has more one project (read: web applications) and avoid the autostart feature of the integrated asp.net webserver in Visual Studio?
I have a big solution that has Windows forms projects, Windows Services projects, Web applications, Windows Libraries etc., sometimes I just want to de...
Hi All,
I have a collection of unmanaged dlls with a C# wrapper around them that I'm calling from a C# project. I've added a build event line that looks like:
mkdir ..\Release
mkdir ..\Debug
copy ..\..\Includes\*.dll ..\Release\*.dll
copy ..\..\Includes\*.dll ..\Debug\*.dll
Problem is, when I go to publish the application, those dll...
I usually create my SQL tables and stored procedures by writing a script inside Visual Studio. This works really well for me except for one simple annoyance: VS puts blue boxes around all the SQL queries and data-manipulation commands. The purpose of these boxes is to draw undue attention to the fact that VS thinks the query can be edite...
I've searched google for any add-ins that might add the height/width to the properties pane, but can not find anything. Before I set about coding an add-in myself, I thought I'd ask here to see if anyone knows of anything. Basically what I do now is either right click the image in browser > view image > view properties... or I open up th...
Autocompletion in the Visual Studio HTML editor inserts double quotes (e.g. <input type="text").
Does anyone know if there's a setting that will change the default to automatically insert single quotes (e.g. <input type='text')?
thanks,
Michael
...
Is there a way to download older versions of Visual C++ Express. I'm particularly interested in Visual C++ 2005 Express (PRIOR SP1) and Visual C++ Toolkit 2003. I tried googling for them, but all the sites linked to microsoft.com, from where microsoft (for some reason) has taken them down.
I would really appreciate if some could help me...
I'd like to track down a possible bug in Visual Studio, but that's awfully hard without the debug symbols for Visual Studio itself. Does Microsoft make these available?
...
Here's something I know is probably possible but I've never managed to do
In VS2005(C++), While debugging, to be able to invoke a function from the code which I'm debugging.
This feature is sometimes essential when debugging complex data structures which can't be explored easily using just the normal capabilities of the watch window.
The...
Has anyone found a plugin for Visual Studio to allow for PowerShell syntax highlighting or IntelliSense? If not, does anyone have any idea why not? I keep hoping someone else with copious free time would have tackled this by now. I have hope since other folks have managed to take the limited documentation and build custom IntelliSense p...
Does anyone have anyone have any resources for getting started with the Visual Studio Designer and the DesignSurface?
Edit:
Obviously I was too vague with my first question...what I am really interested in hosting a designsurface in my own application, the intention is to provide a basic form design application to users. I was not askin...
Whenever I have a library that use across different websites/ applications I've always just added the library's project into the same solution and reference it from there. This is great when needing to debug within the solution but in all other situations it seems pointless and more space taken up in the solution explorer.
Also another...
I am starting to work with Microsoft BI suite: Analysis services 2005, Business Intelligence Development Studio 2005, stuff like that. Of course my first wish was to set up the same source control/automated testing environment I have for my .NET projects.
But xml files used by Analysiss services (dwproj, cube, dim, ds, dsv) and Integ...
I'm trying to attach to a remote machine with code similar to the following:
Debugger2 db (Debugger2)dte.Debugger;
Transport trans = db.Transports.Item("Default");
Process2 proc2 = (Process2)db.GetProcesses(trans, "MACHINENAME").Item("SERVICENAME");
proc2.Attach2();
I've gotten it to work by logging on through remote desktop and manu...