How do I start Visual Studio from the command line?
IDE - Windows Forms FAQsSimply type devenv.exe from the command line. If you get a message like this, then you do not have devenv.exe in your path. >>> 'devenv.exe' is not recognized as an internal or external command, operable program or batch file. >>>...
Where do I find the command line options for Visual Studio .NET?
IDE - Windows Forms FAQsType devenv.exe /? to get a full list of options. Contributed from George Shepherd's Windows Forms FAQ
How do I invoke a macro as part of a Visual Studio command line build?
IDE - Windows Forms FAQsUse the following syntax: devenv.exe {Solution Name} /command {Macro name} Example: devenv.exe "myproject.sln" /command "Macros.Syncfusion.Utils.FormatProjectAndClose" Visual Studio will start up, load the solution, run the macro and...
Is it possible to output the command-line used to build a project in Visual Studio?
C# Frequently Asked QuestionsNow that Whidbey has been out in Beta for more than a few months, it seems worth revisiting some frequently asked questions which have different (better?) answers now. For the yes part of the answer, after building, go to the Output Window, select "Show Output from: Build", and about half way down you will see a section like this: Csc.exe /noconfig /warn:4 /define:DEBUG;TRACE /debug+ /optimize- /out:obj\Debug\ConsoleApplication1.exe /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.
Can I run NTBACKUP from the command line?
Environment settings set by a batch file are not working.ntbackup <operation> <path> /a /b /d "text" /e /hc:<on/off> /l "<filename>" /r /t <backup type> /tape:n /v This will be backup . If you wanted to eject a tape you could enter eject (but must also include the /tape parameter) The list of drives and directories to be backed up. You may not enter file names or use the wildcard character. To backup multiple drives just put a space between them, e.g. ntbackup backup c: d: etc..
Can Mono run binaries produced by Visual Studio?
FAQ: General - MonoUse our Mono Migration Analysis tool to check if everything that your application uses has been implemented in Mono or if there are special considerations to keep in mind. The Mono API today is somewhere in between .NET 1.1 and .NET 2.0, see our Roadmap for details about what is implemented.
What languages in Microsoft Visual Studio .NET are supported?
Google SOAP Search APIThe service has been tested with a C# client auto-generated from WSDL by the wsdl.exe tool. It should work fine from any .NET language.
How do I manage code snippets that I use often in Visual Studio?
General - Windows Forms FAQsI have code snippets that I use often. How can I manage them so I can easily used them? In Visual Studio, you can store commonly used code snippets on a tab (other than the Clipboard ring) in your Toolbox. You use drag and drop techniques to move the...
How do I prevent a component from being displayed in the Toolbox in Visual Studio?
General - Windows Forms FAQsUse the ToolboxItem attribute set to false on your component or control class. This will prevent it from appearing in the Toolbox. [ ToolboxItem( false ) ] public class MyComponent : Component{..} Contributed from George Shepherd's Windows Forms FAQ
Do I have to have Visual Studio to use "ClickOnce"?
General - Windows Forms FAQsNo. While Visual Studio makes deploying "ClickOnce" applications simple, there are several other ways to deploy "ClickOnce" applications. The .NET Framework SDK includes a tool named MAGE(Manifest Editor & Generator) that provides both a UI (mageui...
Sometimes nothing happens when pressing the "start analysis" button in Visual Studio 6. How come?
In case the output window of Visual Studio has focus it cannot be written to. You probably have selected the output window in this case. A work-around is to select another window, e.g. the editor window, and start up the TICS analysis once again. Microsoft changed its way of dealing with URL's in the output Window. In VS.NET 2003 one has to touch both the control key ('Ctrl') and left mouse button at the same time.
Can I use Team Foundation Server alone without buying Visual Studio Team System?
Jim Lamb : Team Foundation Server FAQYes. In order to do this you will need to buy Visual Studio Team Foundation Server and a Client Access License for proper communication with the server. Team Explorer, which is included with Team Foundation Server, is a stand alone client that uses the Visual Studio 2005 shell providing a UI for source control, work item tracking and all the other features. For more information on licensing Visual Studio Team System (including Team Foundation Server) see the Team System Licensing White Paper.
Why can't I see the C-Sharpener For VB menu in Visual Studio .NET?
Frequently Asked Questions (FAQ) about C-Sharpener For VBAssuming that you have successfully installed C-Sharpener For VB, the menu option should automatically appear. If it doesn't appear, then try the following: Turn on the checkbox to the left of C-Sharpener For VB and click the OK button. The menu option should now appear.
How do I specify the start up project for a solution or application in Visual Studio?
IDE - Windows Forms FAQsIn the Solution Explorer right click on the project that should be the start up project for your application and choose the Set As Start Up Project option. Contributed from George Shepherd's Windows Forms FAQ
How do I draw a line to replace the functionality of VB6's Line command?
General - Windows Forms FAQsTry this code: Dim g as Graphics g = frmMain.CreateGraphics() g.DrawLine(Pens.Black, new Point(0,0), _ new Point(frmMain.ClientRectangle.Width), frmMain.ClientRectangle.Height) g.Dispose() This should draw a line from the upper left to the bottom right...
Is there a CLI (command line interface) version?
Team Discovery TSC FAQ - dslreports.comFirst, of course install TSC. Open TSC and right click on the icon in your task bar (near the clock). Select properties. Set your candidate queue to whatever you want. I max mine out. If you have a dialup computer, unselect the online tab. Click ok, and then right click again and select exit. In this directory, there is a file called readme.txt.. it might be a good idea to read this. It's kind of hard to understand. Now edit (with notepad or something like it), the file called launch.
How do I train SpamBayes (command line method)?
SpamBayes FAQGiven a pair of Unix mailbox format files (each message starts with a line which begins with 'From '), one containing nothing but spam and the other containing nothing but ham, you can train SpamBayes using a command like: python sb_mboxtrain.py -g ~/tmp/newham -s ~/tmp/newspam The above command is OS-centric (e.g., UNIX, or Windows command prompt). You can also use the web interface for training as detailed above.
How do I pass command-line arguments to a test execution?
JUnit FAQIf the number of parameters on the command line gets unweildy, pass in the location of a property file that defines a set of parameters. Alternatively, the JUnit-addons package contains the XMLPropertyManager and PropertyManager classes that allow you to define a property file (or XML file) containing test parameters.
How do I get the plot command to cycle through line-types?
MATLAB Frequently Asked QuestionsMATLAB v4.1 has a an axis property LineStyleOrder for this. Monochrome users can tell MATLAB to always use white lines and cycle through their favorite line styles with the commands: set( 0, 'DefaultAxesColorOrder', [1 1 1] ) set( 0, 'DefaultAxesLineStyleOrder', '-|:|--' )
How can I launch Java Web Start from the command line?
Java Web Start - Frequently Asked Questions (FAQ)where your-app-JNLP-URL is the location of your application's JNLP file. For example: javaws http://java.sun.com/products/demos/swingset2.jnlp
