I'm trying to compile some source code with Visual C++ 2010 Express. The code was written for GCC, and contains attributes like this:
struct something {
...
} __attribute__((packed));
Since this is not standard C++ syntax, Visual C++ doesn't recognize it. With this macro prior to the struct declaration, it works fine:
#define __attri...
I have a web solution that contains 5 class libraries and one asp.net web site project. It's an e-commerce solution that is compiled for .NET 3.5 (some class libraries are set to .NET 2).
When I got VS 2010 installed I decided to give a try and upgrading it to .NET 4 but that didn't go so well, can't remember why. I reverted the sou...
I'm using Dotfuscator in Visual Studio 2010.
I want to run Dotfuscator as a post build event so every time I build a project Dotfuscator will run on the output DLL using a configuration I've created and I'll get a new Dotfuscated DLL without having to manually open Dotfuscator.
After it will be obfuscated, I'll resign it (using sn.exe)...
Ok, before I begin I realize that there is a lot of documentation on this subject but I have thus far failed to get even basic colourization working for VS2010.
My goal is to simply get to a point where I can open a document and everything is coloured red, from here I can implement the relevant parsing logic.
Here's what I have tried/...
Clean Windows 7 x64 system. Try to install VS 2010 Ultimate and the installation breaks with error:
CRootComponent::Install(): Cannot install; setup files failed verification.
What could be the problem on a clean Win7???
...
I created a WCF service and I planned to consume this in a Silverlight application. So I created the WCF service in the Website host project. The service is a simple WCF service that only returns a number - something like a Hello World WCF-SL.
So after adding a service reference in the silverlight client project to the Service URI, after...
I'm trying to debug a slightly-modified version of the ADO.NET POCO Entity Generator template using the directions Oleg Sych published a few years back. I modified the DbgJITDebugLaunchSetting key as recommended.
I get a dialog indicating that a user-defined breakpoint has been hit. However, rather than being presented with the option...
I'm having graphics issues with Visual Studio 2010. When I open a solution only part of the UI renders. Entire sections like the solution explorer will be missing.
This only happens after I've had Visual Studio running for a while and have opened/closed a variety of solutions.
It "feels" like some sort of a GDI handle leak because the ...
The title pretty much sums up my question..
Thanks in advance.
...
I have never spent much time debugging multithreaded .NET apps (or others), and have quite a simple one to solve very quickly. Ideally I would imagined and would lurve to be able to intercept thread creation and use by worker objects, so that nothing unexpected happens while I'm on a breakpoint in my thread. Is that realistic?
What el...
I have VS2010 and CodeRush Express installed on my machine. Occasionally I am hitting some key combination (inadvertently, don't know what I am hitting) that is causing my up/down arrow keys to get "stuck", they stop moving the cursor up and down. Restarting the dev env fixes the problem.
...
What is the correct and easy step by step way to have multiple build configurations in the same VS project, where the Solution also contain multiple projects? The projects would have different build configurations. Basically, I'm looking for something like project A with Dll Debug, Dll Release, Static (library) Debug, and Static (library...
I am trying to use VS2010's 1-Click Publish feature to deploy a test site from my laptop to my server. I have the firewall turned off on both machines and the MS Deployment Service is up and running on both my laptop and the server. However when I try and publish from VS2010 on my laptop I get the following error
Error 1 Web deployment ...
Everytime the IWpfTextView's TextBuffer changes I am trying to get the history's redostack and undostack and simply checking the count. When doing this I am encountering a "Method not supported exception" when trying to access the two stacks.
Am I retrieving the history incorrectly or does VS not want me seeing/editing the contents of ...
I don't know if I have done anything wrong, but when I try to write code there are no intellisense popups indicating options or errors.
I am creating a CLR/CLI type of project with Microsoft's Visual C++ 2010.
...
We have several external dlls being referenced in our Web Application Project. We have a deployment project for installing on the hosting servers. When we were using .net 3.5 and vs2008 the dll were being copied to the bin folder. Since we have upgraded to .net 4 vs2010 this no longer happens and we are getting servers errors since the r...
In VS2010, I set a break point (from the left gutter of the editor) on a line of code. After I removed the break point, the debugger always breaks on that line of code. After starting visual studio, the debugger still breaks at the point.
Thanks in advance!
...
Possible Duplicate:
forward/strong enum in VS2010
This question pointed to a wiki page for C++0x support which lists Strongly typed enums as Partially supported in VS10.
However the following is a compilation error:
enum class boolean { no, yes, maybe };
Any idea what constitutes partial support when the basic syntax is...
When I create a MVC web application in Visual Studio 2010 it offers also to create a testing project using one of framework from the list.
But I have only VS built-in testing framework in it.
Is it possible to add NUnit there?
...
I was trying to compile our project in Visual Studio 2010 using the 2005 compiler and I stumbled upon this strange bug.
There's this particular file that crashes the compiler whenever I try to compile it from VS2010 with a "Microsoft (R) C/C++ Optimizing Compiler" error dialog with "don't send" buttons. I looked at the way VS2010 invok...