visual-studio-2008

CMake - Generating Visual Studio project using Intel Compiler

爱⌒轻易说出口 提交于 2020-01-01 06:42:08
问题 Is there a simple (or hack) way to generate a Visual Studio 2008 project that uses Intel Compiler from cmake? I have found some notes about using ICProjConvert . Does anyone have any scripts or CMake snippets that are proven to work? Here's the screenshot of the final solution I'd like to obtain. Note that it contains Intel Compiler projects: alt text http://img156.imageshack.us/img156/370/screenau.png 回答1: The situation is not that good at the moment. After much googling, I've managed to

How do I set GNU G++ compiler in Visual studio 2008

↘锁芯ラ 提交于 2020-01-01 06:14:29
问题 How do I set my Visual studio 2008 compiler to GNU GCC. Can I also make it specific to projects? I didn't find any conclusive answer. Thank you. 回答1: You can't use the compiler directly. You can, however, invoke a makefile instead of using the built-in build system. Example of configuration: Install MinGW (I guess this step is already done), including mingw32-make Create a makefile for mingw32-make called MinGWMakefile , with 3 targets: clean , build , and rebuild . This can be very tedious

How do I set GNU G++ compiler in Visual studio 2008

夙愿已清 提交于 2020-01-01 06:14:11
问题 How do I set my Visual studio 2008 compiler to GNU GCC. Can I also make it specific to projects? I didn't find any conclusive answer. Thank you. 回答1: You can't use the compiler directly. You can, however, invoke a makefile instead of using the built-in build system. Example of configuration: Install MinGW (I guess this step is already done), including mingw32-make Create a makefile for mingw32-make called MinGWMakefile , with 3 targets: clean , build , and rebuild . This can be very tedious

What is the difference between using 'devenv' and 'msbuild' in CruiseControl.NET builds?

柔情痞子 提交于 2020-01-01 02:32:43
问题 What is the main difference between using the <devenv> tag and the <msbuild> tag is in CruiseControl.NET? I understand they call different executables, but sometimes I get different results (as far as pass/fail at compile time), and I would like to know why there is a difference between the two build commands. 回答1: Basically devenv (Visual Studio) wraps MSBuild and add lots of Visual Studio specific properties. To use devenv you need Visual Studio installed on your computer. To use MSBuild

The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file

。_饼干妹妹 提交于 2020-01-01 01:17:11
问题 The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file This error is coming . I have already mentioned this line in http handler but still getting this error <add path=

How to automate Visual Studio's Code Metrics feature

不羁岁月 提交于 2019-12-31 21:34:30
问题 I want to automate the process of gathering code metrics on a .NET solution. Is there any way of getting msbuild to run the Code Metrics feature included in VS2008 Development Edition? I may end up using SourceMonitor, but I would like to know if there is a way to use the VS code metrics engine from the command line. 回答1: Finally, Microsoft have provided us with a way to automate the Visual Studio code metrics feature using a new "power tool". 回答2: This is how my company has automated FxCop

Visual Studio 2008/2010 on Windows 8 - problems?

跟風遠走 提交于 2019-12-31 21:31:46
问题 I am looking for any information that can be provided regarding problems with the use of Visual Studio 2008 and 2010 on Windows 8 (x64). I have been able find the following article that identifies the acknowledged problems for VS2010 on W8, but I cannot find any similar articles for VS2008. Specifically, I use VS2008 for mobile development so I cannot simply upgrade the projects to 2010/2012 (yet) but I do also have some web application projects and there may even be a couple of console and

Visual studio intellisense for headers without .h

我是研究僧i 提交于 2019-12-31 20:30:49
问题 I am using a library that has headers without the .h This defeats visual studio's intellisense (declaration/definition lookup) Anyone know how to tell VS2008 that a file is a header? 回答1: Go to Tools::Options::Text Editor::File Extension tab in Visual Studio. Check the "Map extensionless headers" checkbox, and select the language you want from the combobox. 回答2: I'd hazard a guess that you should ensure the headers are included from a source file (usually a .cpp file). Where the properties

Visual Studio Designer is always trying to change my control

谁都会走 提交于 2019-12-31 13:44:18
问题 I have a somewhat complex UserControl, and Visual Studio 2008 is giving me a rather harmless annoyance when working with it. Every single time I open the control with the Designer, it decides to immediately change some of the harmless values set by the designer - namely the initialization of Size properties. If I save those changes, close, and reopen, it almost invariably ends up deciding another component of my control needs its initial size changed, ad infinitum. Luckily these changes are

Visual Studio - I want “Go To Definition” to open Object Browser, not “metadata”

纵饮孤独 提交于 2019-12-31 12:40:15
问题 In Visual Studio version 2002 and 2003 "Go To Definition" would find the selected type or member in the Object Browser. In 2005 onwards it opens a source window "generated from metadata" instead. How do I configure these newer versions to go to Object Browser? (In other words, I have the opposite problem to this one.) Installing ReSharper makes this change, so I know it must be possible, but how do I do it without ReSharper? 回答1: As workaround you can create the following macro: Sub