When using the NUnit GUI to run unit tests, is there a way to either:
Set breakpoints inside the tests,
or break into the Visual Studio Just-in-Time debugger upon failure of a test?
...
In VC++ I can press CTRL+F7 to compile a single file, or right click on a source file ot compile it.
Is it possible to compile a single file (or current file) in C#?
I would like to for example know if my current file has any errors in it without having to compile everything.
...
I will be creating a series of projects set up to build COM objects. I attempting to create a property sheet (.vsprops file) which will set up the builds for each project. One of the things I am doing with the properties file is customizing the location and names of the files created by the MIDL compiler. Here's the code I use for thi...
I've seen a couple of examples such as this:
[DllImport("user32.dll")]
static extern bool TranslateMessage([In] ref Message lpMsg);
[DllImport("user32.dll")]
static extern IntPtr DispatchMessage([In] ref Message lpmsg);
But, what I don't understand is why someone would do that as apposed to just referencing the DLL like they do other...
While debugging an F# application, I would like to be able to invoke an F# method from the VS2010 immediate window but it doesn't seem to work. The problem appears to be that F# methods are actually FSharpFunc objects. I tried using the "Invoke" method but the interactive window doesn't recognize it.
...
So here's the deal.
I'm attempting to use Visual Studio to connect to an AXIS web service. Unfortunately, the Web Service does not have a public WSDL file available on the server. I know the location of the Web Service, but it will not let me open the WSDL file from a browser.
Luckily, I do have a local copy of the WSDL file that the...
Using the BlockUI JQuery plugin I find strange behaviour from within an ASP.Net page.
I've implemented one of the BlockUI plugin demos (you can try out the original here - http://malsup.com/jquery/block/#dialog ) within an ASP.Net page.
When I serve this page from Visual Studio (MVWD 2010 Express) the 'Would you like to continue' dialo...
Prior to Visual Studio 2005, the bookmark feature worked perfectly. Then starting with VS 2005, I noticed that requesting the "next" or "previous" bookmark stopped working correctly. Sure it will take you to a different bookmark, but it takes you to a bookmark location that is the least relevant or most obscure based on your current lo...
Hello
I hate code that is not indented. But i'm using Visual Studio 2005 for a web app project in asp.net. Is there any VS 2005 add-in that can help me to format javascript/css/asp markup in one key stroke like the native Ctrl K + Ctrl D in Visual Studio?
Thank you
NLV
...
Hi, I'm using MS Visual Studio 2008 professional edition on windows 7 64bit. I installed the 64 bit compilers along with the standard 32bit ones.
I have used http://argtable.sourceforge.net/ for windows 32bit programs before
I have no problems building my application (Which is just written in plain and simple C89) to use argtable2.lib ...
Hi
I have web application project and i want to edit aspnetdb Database, but id does not appear in App_Data folder.I even cant see web.config file for subfolerds.
When i create web site project in vs, i can see the aspnetdb Database.
What is the problem?
...
Hello everybody.
I know that for clarity in codes, I have to write first fields then constructor and then methods etc. But how can i automate it in Visual Studio?
...
i started off with a new silverlight 4 project in a seperate solution while my web app, database, bll/dal and web services are in a seperate solution. I quickly ran into the whole clientaccesspolicy.xml problem when silverlight client tried connecting to my other solution running in http://localhost:4415/ but that just doesn't work with ...
Does anyone know of a tutorial or guide for HgScc (Mercurial)?
I've installed and integrated HgScc with VS2010, but having never used any source control other than TFS, I'm not all that sure what I'm doing.
For instance, I've committed more than one version of a file but Revert is still greyed-out in the context menu. And how do I assi...
How do I display that schema of tables in my database and foreign keys that links them in VS ?
Example of such schema is used in this question mattlant's answer.
...
I want to create Table-Per-Type database table inheritance.
Simply base table RowElement will have 2 children tables. First child table Lyrics will inherit all parents RowElement's columns and will just add one more column. Second child table ChordUse will only many-to-one relationship to table Chord.
This is how my database schema lo...
Hello,
I have some questions about editing files with c#.
I have managed to read a file into a byte[]. How can I get the ASCII code of each byte and show it in the text area of my form?
Also, how can I change the bytes and then write them back into a file?
For example:
I have a file and I know the first three bytes are letters. How ...
Hi,
This is the setup:
I have multiple projects that references 3rd party assemblies (Infragistics).
I reference only a few assemblies in each project, but these assemblies have references in them to other assemblies.
For example:
I reference only "3rdPartyDll-1.dll"
It has a reference to "3rdPartyDll-2.dll"
This means that in des...
Does Visual Studio have a capability, or is there a VS plug-in, that will reformat ASP.NET and HTML markup (i.e. perform pretty printing). Specifically, I want it to put all properties or attributes in alphabetical order for each tag, possibly with some exceptions that the user can specify, say in a config file. Also, each property or at...
I'm using Visual Studio 2010 on Windows 7 64-bit Professional. I'm having trouble debugging a custom PowerShell cmdlet.
Configuration
Language: C#, targeting .NET Framework 3.5 SP1.
Platform target: Any CPU
Start Action: C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe
Command line arguments: -noexit -command Add-PSSnapIn MyC...