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.
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...
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 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. >>>...
How do I hide the output of the send command?
Expect FAQ (Frequently Asked Questions)From: tim@mks.com (Timothy D. Prime) Subject: Re: hide the text of expect's send command? Date: 29 Mar 1996 15:41:02 GMT In article <khughesDoy1yH.5zo@netcom.com>, Kirby Hughes <khughes@netcom.com> wrote: > I don't want to see (on the screen) the text sent by a "send" command. Is > there a way to hide it? "log_user 0" works for text coming back to me, but > doesn't (seem to) work for sending..
How can the output of a command line operation be retrieved?
AutoHotkey FAQTesting shows that due to file caching, a temporary file can be very fast for relatively small outputs. In fact, if the file is deleted immediately after use, it often does not actually get written to disk. For example: RunWait %comspec% /c dir > C:\My Temp File.txt FileRead, VarToContainContents, C:\My Temp File.txt FileDelete, C:\My Temp File.txt To avoid using a temporary file (especially if the output is large), consider using CmdRet. Alternatively, there is a small freeware utility cb.
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...
How do I reformat all Visual Basic code in all files in a project in Visual Studio?
IDE - Windows Forms FAQsVB.NET can perform decent auto-formatting for code. Here is a macro that can call this Auto Formatting command for all the files in a project. Contributed from George Shepherd's Windows Forms FAQ
Will it build under Visual C++.NET (a.k.a. Visual Studio 2002, a.k.a. Visual C++ 7.0) or earlier?
MySQL++Microsoft didn't get its Standard C++ act together until Visual C++ 2003. (a.k.a. version 7.1) If you must use older versions of VC++, you're stuck with either the C API, or the ancient 1.7.1 release of MySQL++. This version is an unofficial third-party contribution which is known to have bugs. If it works, I'm happy for you. If it breaks, you get to keep both pieces. Microsoft is giving away a limited but functional version of Visual C++ 2005 which works just fine with MySQL++.
How do I get the default namespace of a C# project in Visual Studio?
IDE - Windows Forms FAQsHow do I get the default namespace of a C# project in Visual Studio? To get the default namespace of a C# project developed using VS.NET, you need to right-click on the project in the Solution Explorer and then choose Properties | Common Properties |...
Can I import my Visual Studio 2K5 project into MonoDevelop?
FAQ - MonoDevelopBacause MonoDevelop does not look for assemblies in the GAC. MonoDevelop uses pkg-config to locate installed packages and get the list of assemblies that each package provides. A package specifies this list of assemblies in a .pc file which has to be installed in the standard pkg-config directory. If you are developing a library, MonoDevelop can automatically generate a .pc file for your project (in the project options dialog, select "Linux Deployment Settings", and check the "Generate .
Can I publish multiple cultures from a single project in Visual Studio?
ClickOnce - Windows Forms FAQsYes, but you must do them one at a time. You can achieve this by varying the Language property on the publish page for each publish. However, it may be more practical to automate this at the command-line using MSBuild. No. The Language setting on the publish page only allows choosing one language at a time. Also, the bootstrapper is only designed to include packages for a single language. Yes, you can create an application manifest that defines satellites for multiple cultures.
How do I open a Visual Studio .NET 2003 project using Visual Studio .NET 2002?
IDE - Windows Forms FAQsSee the article A Utility to Convert VS.NET 2003 Project Files on The Code Project . Contributed from George Shepherd's Windows Forms FAQ
How do I change the build order of projects in a solution in Visual Studio?
IDE - Windows Forms FAQsYou can set the build order of the projects by right clicking on the Solution and choosing Project Build Order and adjusting the dependencies on the Dependencies tab in the Project Dependencies window that pops up. Contributed from George Shepherd's...
How can I build BCAM 1394 applications using Basler's SDK and Visual Studio 2005.NET?
Basler Vision TechnologiesAfter installing the Basler BCAM 1394 SDK on your computer, you will notice that we provide some code samples for Visual Studio 6.0 (containing the VC++ 6.0 C++ compiler) and for Visual Studio 2002.NET (containing the VC++ 7.0 C++ compiler). Newer
