How to configure MSBuild to do some tasks only on release builds?
I just learned about how to include FxCop on a build. But it's slow and I want it to be done just only on release builds. Is there any way to configure that? ...
I just learned about how to include FxCop on a build. But it's slow and I want it to be done just only on release builds. Is there any way to configure that? ...
I am trying to move a C# Compact Framework 1 application from Visual Studio 2003 to Visual Studio 2005 (no comments please on how outdated all this is :-)). I am now able to compile and run the app in VS 2005 just fine, however when I open one of the forms, the form designer does not show the actual form layout but just some rows of icon...
Hello, im creating an application that have to read and update Contacts Information (like phone number, email, etc..) from Microsoft Exchange... Does any one know how can i connect to a MS Exchange DB ?? ...
Hello. I've faced the strangest problem with Visual Studio C# debugger in my career. In short after break point in my code was hit I cannot step through the code. F11 (step into) and F10(step over) work for several times, but eventually VS performs F5 (continue) action. I still able to debug using break point on every line. This behavi...
I'm using System.Drawing.Color, is there anything in Visual Studio that can display the color for the name? For example if I used Color.Cornsilk what would color would be displayed? ...
I have a c# .net winforms solution and I want to create two different builds: one that supports IE6 and one that supports IE7. A few of the files in one of my projects are different for the IE6 build versus the IE7 build, so I want to include the IE6 files when I build for IE6 and the IE7 files when I build for IE7. What's the best way o...
After some searching I've found that Microsoft Visual Studio does not provide the "complex.h" header file, but I have some C code that unfortunately uses it. I've tried using <complex> and compiling as C++ code; this requires changing complex to _complex I don't even know what I would need to change long complex to. Any ideas ho...
I'm in the process of converting/migrating a Visual Studio OpenGL project to an Xcode (iPhone) OpenGL project. Do you have any experience or suggestions? ...
My team is getting new XP64 workstations. We've been using XP32 up until now. Most of our work is done in managed C#/VS2008/.net 3.5 and SQL Server 2005. However we do have a couple apps that are still in VS2005/.net 2.0. The majority of our applications are ASP.NET webforms apps and WCF services that are running on 64bit servers in prod...
When I use conditional breakpoint in VS2005 instead of using temporary code to check specific conditions, I noticed it takes more time and the execution speed is decreased!! Do you know why? and how to resolve this issue? Exmaple: int sequence = atoi(m_SequenceNumber.GetAscii()); if( sequence == 392914)//temporary code to check...
Hello, I have a C++ library which I deliver to other developers. One of them needs i18n, so he asked me if I could add L prefix to the strings in the API. I don't know much about i18n so I have some basic questions: When I compile my lib with Unicode, can other developers use this build as usual ? Or shall developers also change the...
I am trying to add a remote server to "server explorer" (not a data connection) so I can view Event Logs, Services etc. I keep getting the following error: "Could not reconnect to 'mail'. Make sure the machine name and path are valid." 'mail.domain.com' is what the IP address I enter resolves to (this is due to the email server being ...
Is it possible to create and maintain a .Net framework 1.1 application with Visual Studio 2005? ...
I am testing Script# and its manual tells me that it has a "Release" mode, where the code is minified for performance. But I couldn't find how to enter this mode. Anyone knows? Update BenS has found a command line solution. I wonder if there is a graphical solution, preferably integrated with Visual Studio. ...
I have a setup CD to install a visual studio C++ application I made. It has three files: setup.exe, AUTORUN.INF, and app.msi. When I insert the CD the Windows AutoPlay popup shows a generic icon. How do I have my own icon displayed for setup.exe. I also want this for the drive icon after I insert the CD, I think they're related. ...
I have a setup CD to install a visual studio C++ application I made. The AutoPlay popup shows "Publisher not specified" for running setup.exe. How do I specify a publisher? ...
Any suggestions on how one could go about setting up a build system that would compile one or two libraries against a couple of different platforms/targets. The main project is in Visual Studio. For example, I have a library: nav.lib It compiles on Windows and Linux with a few tweaks. The executable that uses the library, win_nav...
When updating a datatable from a "select * from sometable", I am iterating the columns in the datatable to dynamically create an update or insert statement, based on datatable.rowstate and DataTable.PrimaryKey. However, I can't seem to find any property that indicates whether a column is a TimeStamp in SQL Server and must therefore be i...
When I was about to debug C++ program in VS2005,the program didn't stop at the breakpoints. The VS said"No symbols are loaded for any call stack frame. The source code cannot be displayed". What can I do? ...
The MSDN and Microsoft websites tout new features of Visual Studio. However, I am interested in finding a list of bugs fixed in the new release, if such a list exists. If no such official list exists, I am interested in blogs of Visual Studio developers and users of Visual Studio, reporting on the fixing of bugs in 2008 (release or SP1)...