visual-studio-2010

Visual Studio 2010 Macro - Reporting Progress

I have just discovered macros in Visual Studio and I can't be happier. Well... I have my complaints but... you know ;) A few of my macros are taking quite a while to complete and I am looking for a way to track progress. I build a log file during most of my macro processes but I have not found a good way to report progress without paus...

What is the difference between Visual Studio and Expression Studio?

I have visual Studio 2008. I have noticed that I cam make WPF applications with Visual Studio. Does this mean that it can do the work that Expression Studio does? I am going to install Visual Studio 2010. Does this do away with the necessity of Expression Studio? ...

Are Visio-Like WPF GUI's possible?

I want to create buttons and displays in WPF that look something like the Visio Flow Chart displays. Are there classes for that? ...

VS 2010 Coded UI Test - Launch Referenced Application

I'm using Visuial Studio's Coded UI Tests to run Automated UI tests on a WPF Application everytime a build runs on my TFS server. The problem I am running into is dynamically launching the executable based on the path where it was just built to, including the configuration(x86, x64). Is there any way to get the path to an executable in ...

visual studio 2010 migration : Modification of a Library created object causes access violation

I am migrating a project from vs 2005 to vs 2010 and the problem appeared. My program links statically to a C library. I am making a call in this library that returns a C++ object which itself has a public member that is a struct. When I try to modify some values in this struct from my code, I got some access violation errors. In the ...

Grid view w/ progress bars?

Trying to decide on the best element to use for a grid view, pretty much exactly like the one you'd see in uTorrent or any other upload/download client. Specifically, I want to have a 'progress' column too (with progress bars). Using VS2010/.NET4. Haven't really started the project yet, so either WPF or WinForms are fine. What would you ...

How to set ItemsSource?

This dialog makes no sense to me And I'm having trouble finding good tutorials on it. Most of the examples aren't detailed enough, or do stuff via code, but I'd like to take advantage of the IDE as much as possible. Whats the difference between ItemsSource and DataContext? I'd like to bind it to just a List for starters. I don't nee...

Error upgrading WSSF solution to VS 2010

Hi I've recently installed VS2010 and I'm trying to upgrade a project that I created using VS2008 and WSSF (Web Service Software Factory). I've installed the 2010 version of WSSF and it's prerequisites. After upgrading, when I try to load the solution I get "blah.ssfproduct cannot be opened because its project type (.ssfproduct) is not ...

EF4 Generate Database

Hi, I am trying my hardest to find the simplest way to create a basic "model first" entity framework example. However I am struggling with the actually generation of the database, particularly the running of the SQL against the database. Tools Visual Studio 2010 SQL Server 2008 Express Process Create a new class project Add a ne...

Visual Studio 2010, targetting the 4.0 framework for debug and the 4.0 Client Profile for release.

I have been unable to edit and continue in a project that targets the 4.0 Client Profile however i can if i am targetting the full 4.0 Framework. I want to release against the client profile to limit the download required to install. Is there anyway i can build against the client profile but debug agains the full version? ...

Visual Studio 2010 Data Compare Automation

I noticed in premium edition Data menu with Data Compare option which does everything I need. Just wondering whether there is a way to automate what's done in GUI from my application. Ideally I'd like to get collections of different/left/right rows ...

Is it possible to exclude folders from a web application project in vs 2010?

I had previously asked this question. At the time I was working with VS 2008. To restate the question. I have a web application that generates 1000's of small xml files in a certain directory. I would like to exclude this directory from the web application project in visual studio 2010. With vs 2008 it was not possible. Has anything ch...

single web test for 3 diff roles.

I have created a web test in vs2010. which browse through the products. I have 3 roles in my site guest (non logged in ), logged in not verified, logged in verified. How I can use single test for all 3 roles? ...

Modify a solution to not load projects from outside of visual studio

If I open a solution, unload a project then reopen the solution visual studio remembers not to not load the project again. How can I do this outside of visual studio? Which file is this setting stored in? Visual Studio's annoying conversion wizard won't let me open the solution without converting all the projects, I have already conver...

What is the best way to bookmark positions in code in Visual Studio 2008/2010?

I find myself going to about five or six main places in my code 80% of the time and would like a way to go to them fast even if all files are closed. I would like to be able to open up a solution in visual studio and with no file open, see a list of self-labeled bookmarks like this: LoadNext Settings page refresh app.config connection...

Visual Studio 2010 and protobuf-csharp-port

We're using Jon Skeet's proto-csharp-port, and I'm running into some difficulties when mixing it with ReSharper in Visual Studio 2010. We generate the .cs files via a custom MSBuild target, hooked up as follows: <Target Name="BeforeBuild" DependsOnTargets="CompileProtos" /> The CompileProtos target runs ProtoGen and then adds the gen...

How to deploy a WPF 4 Full Trust XBAP an on intranet?

I'm having trouble running a full trust WPF 4 XBAP (browser application), created with Visual Studio 2010, from my intranet. I do not get a ClickOnce elevation prompt, as described in ScottGu's post on WPF 4: Full Trust XBAP Deployment Starting in WPF 4, the ClickOnce elevation prompt is also enabled for XAML Browser Applicati...

VS2010 and non XNA/Silverlight Windows phone dev

Hi, Is it possible to devlop old school Windows Phone app with VS2010 ? Do I have to dowload the template as I couldn't find this kind of project when I start a new project. I definitively want to devlop old .Net Compact Framework 3.5 app, and no XNA or Silverlight app. Do I have to swith back to VS2008 ? Regards ...

AnkhSVN: Cannot checkout Subsolution due to existing "versioned" folder

Hello Everyone I am using Subversion since quite some time for Java-Development and I have setup a repository on my local NAS. Since I have a MSDN subscription via my company I recently installed Visual Studio 2010 to do a small project with .NET. According to some "best-practices" my project folder looks like the following. MySolutio...

msbuild TransformWebConfig task - doesn't work for App.configs?

I have a windows service that will need to have the same kind of transformations that the web.configs would use, but VS 2010 doesn't seem to support that. I've tried manually adding the App.Release.Config files, and then using msbuil [PROJ] /T:TransformWebConfig /p:Configuration=Release but no transformation is performed. I got a Trans...