visual-studio-2010

VS 2010 conversion problem

I just converted a solution from VS 2008 to 2010, almost all of the projects were successfully converted. However, one of the project (say Project X) conversion was kind of unsuccessful with message (This project needs not to be converted.) But now i am not able to build solution, because the projects having references to Project X are ...

Visual Studio 2010 Ultimate Installation problem

I am trying to install Visual Studio 2010 Ultimate. I have installed WinXP SP3 already. The installation of first component - Microsoft Windows Installer 4.5 itself failed. Can anybody suggest an solution. The following error log came: [01/02/07,10:41:18] VS Scenario: [2] * Blocking Components exist and must be satisified before continu...

How do I attach to an app running inside the Windows Phone emulator?

I'm trying to debug an app running inside the windows phone 7 emulator, but I can't connect to it from visual studio - 'Attach to Process' -> selecting 'Windows Phone 7 Emulator' transport displays a "Unable to connect to 'Windows Phone 7 Emulator'. Not implemented" error. What am I missing? ...

How do I keep folder tree and publish websites in TFS 2010?

I have a visual studio solution that consists of several web applications, windows services and other class libraries. I am in the process of configuring it for continuous integration with TFS 2010. The default build template puts every binary in the drop folder, and creates a _PublishedWebsites folder in which it publishes every web ap...

Visual Studio 2010, Crystal Report for Visual Studio 2008 and ClickOnce

I'm in a bit of trouble here. I upgraded one of our Winforms products from VS2008 to VS2010 about 4 weeks ago. The conversion was fine but we used Crystal Reports so had to install the VS2010 Crsytal Reports for Visual Studio 2010 Beta 2. This was fine and gave me the designer etc. back for crystal. I chose not to convert the reports...

VS 2010: How do you undo after "Find and replace"?

On VS 2010, I do a "Find and replace"... I try to do a "undo" but... I can't... is there a way to "undo" after a "find and replace" or is this just a silly[1] limitation for VS 2010? NOTE: Obviously you can "reload the entire file"... but that takes way too much time and breaks up the productivity and workflow. Foot note: [1] ... by ...

How to call an event manually in C#?

I have a USerControll in which i have a textbox. I use the usercontrol in my form, I want to do something when somebody presses enter on the textbox. how can I do it? if you tell me how to call an event manually, I can call usercontrol.keydown in textbox.keydown. ...

VS2010: Problem with a test's Setup Script in VS2010 Test Settings

In the VS2010 Test Settings file, I've specified a .bat file that invokes a powershell script. Running the .bat file from a command prompt works just fine and the .bat returns in less than 5 secs. However, if I try to run a test, the run eventually reports a 'not executed' result and reports an error "The setup batch file on agent mach...

VS 2010 publishing website

prior to VS 2010, we used Wed Deployment Project to get the website ready to copy out. We liked it because it allowed for us to do a "Merge Each individual folder output to its own assembly". We did this because when we made a change, we could just copy out that folders dll, the file was easy to find and we didn't have to redploy the e...

Setup MSI Project for WCF Web Service

I'm working with a co-worker on this, will try on my own machine shortly, but wanted to get the question posted quickly. I've also been Googling for step-by-step "how to setup for WCF service" and not finding anything on target. I've done it before at a prior company, but forgetting the details now. Are .SVC files automatically inclu...

Setup Project for WCF - how to add "Select Installation Address"

We have an MSI created by a programmer that left. It has a "Installation Address" dialog box. When I create a new default setup project, I have an "Installation Folder" dialog box. The "Install Address" dialog at install time says "Select Installation Address" and allows the person doing the install to select the application pool. ...

Visual Studio 2010 Professional: class diagram tool

Hi all, I would like to visually design my classes first and then convert them into actual code. I am using VS2010 professional edition. Please recommend me some good online resources for some good hints and practices. I attended a good session in a user group meeting and it was very inspiring to see how easily classes could be visually...

Problem with TemporaryKey.pfx I don't have the password

Hi, A client of mine has a problem. He had a Microsoft CRM developper and he left. Now the project remains uncomplete. I've downloaded the source code of the custom applications and I'm not trying to continue the development. I've tried the ClickOne deployment and it pops me with a password input box related to the myapp_TemporaryKey.p...

dll built with visual studio 2010 / windows 7 => usable on Windows 6?

Question from a Linux/Mac developer: I have compiled a 32-bit .dll (release flavor) under Windows 7 using Visual Studio 2010. Should this .dll be usable under all flavors of Windows 6 (a.k.a. Vista, if I'm not mistaken)? Many thanks and RTFMs appreciated, John Clements ...

visual studio 2010: dependency graph

I have VS 2010 professional edition. What can I do to use "Dependency Graph". I do not have "architectural" edition. Is there a FREE plugin that I could use. If not, are there any FREE 3rd party tools that could help me do the same thing. Thanks ...

Watching the .net Stack or IL during Visual Studio 2010 Debugging?

I'm trying to debug an assembly that has been compiled in Release mode, so all the "good stuff" like local variables are Optimized away. As a second approach, I would like to see the IL and the .net Stack, but I don't seem to have that option in Visual Studio 2010 - I only have Disassembly, Registers and Memory View, which is one level ...

Visual Studio 2010 hangs when executng post-build events

Why Visual Studio 2010 hangs when it executes post-build events? It seems that it is doing them on gui thread. Because of that now i'm placed all instructions in .cmd file so I at least I can see output in realtime and not after build completes. It's supposed to work that way or i'm doing something wrong? upd: If I place notepad.exe int...

CMake with Visual Studio

I'm using CMake to create a visual studio project as I'm making a cross platform application and library, but I get errors like: 1>c:\program files\microsoft visual studio 10.0\vc\include\wchar.h(109): warning C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member '_wfinddata64i32_t::attrib' It compiles fine on GNU/...

Configure Visual Studio to use more ram

I read a blog post at one time on how to increase the amount of RAM that Visual Studio will use. I am getting a "Not enough memory free" error message when trying to copy a small line of text in the visual studio editor. Does anybody know how or where I can configure this? ...

How to wire up to events associated with VS2010's Outlining model

Hiya, I'm writing an extension for VS2010 that reorders a page of code by rearranging code sections and inserting #regions. I want to be able to code in a call to the "Edit.CollapseToDefinitions" command after I've completed my text manipulations. I can invoke this command in the Visual Studio model by calling ExecuteCommand on my DT...