visual-studio-2010

Make Web.config transformations working locally

I want to get web.config transformations working locally but apparently the transformations only occur when doing deployments. Does anybody know of a way to run the msbuild target "TransformWebConfig" without it going through the "rebuild" process and also specify and output directory where to spit out the transformed web.config? -Die...

How do I build a statically linked program in Visual Studio 2010?

I need to make a static release of my program to turn in to my professor, but whenever I compile the program and then run it on another computer it tells me it couldn't find a dll so obviously I'm doing something wrong. What do I need to do to make a static build? ...

Advantage of running Visual Studio 2010 on Windows 7 instead of Windows XP

Is there any advantage of running Visual Studio 2010 on Windows 7 instead of Windows XP? ...

How to check file is cheched out by whom?

How to check file is checked out by whom? I'm using Team Explorer in Visual Studio 2010 ...

Using SharedResourceDictionary in Silverlight

Christian Moser provides on his page a SharedResourceDictionary for WPF so that resource are only initialized once. I´ve tried to use this ResourceDictionary in my Silverlight 4 application, but i´m getting COMExceptions in Visual Studio or a message that the element is already a child of an other element. Has anyone successfully used ...

HELP four forms files lost into subversion!!

hi, so i decided to finally try out subversion with Ankh SVN for Visual studio 2010, after my nasty experiences with VSS. I installed CollabNet SVN on my win7 dev box and then Ankh SVN for VS2010. (Like an Idiot) I added a mockup demo project I was working on and played around with it using SVN. After a while, I un installed Office 20...

Visual studio FTP publish does not close connections?

I am publishing using Visual Studio 2010 FTP publish and everything works fine. The problem is that the page I am publishing to does only allow 6 connections from the same IP. As Visual Studio does not close the connection these connections stay open and I exceed the 6 connections quickly and cannot upload. Does anyone know a solution t...

Did Intellisense quality and stability get improved in MSVC++ 2010?

Two separate questions really, for those of you who have upgraded from 2008 to 2010: Does intellisense work much better in this version in terms of completeness? Does it still suffer from corrupted NCB files and other performance/stability issues? ...

Error "HRESULT E_FAIL has been returned from a call to a COM component" when adding a reference to a .Net 4 project in Visual Studio 2010

Hi, I get an Error "HRESULT E_FAIL has been returned from a call to a COM component" when adding a .dll reference to a project in Visual Studio 2010. The weird thing is, if I make a local copy of the .dll, and reference it locally it's fine. However, if I try and reference it from our shared resources server (\server\release\Common\Pa...

Macro in visual Studio 2010 that loads settings file

Hi there I'm just looking for a way (maybe a macro?) to load a settings file. Ideally I'd like to be able to run this as a shortcut from the desktop too. I googled it, but maybe I didn't hit the right keywords. ...

Use Crystal Report for Visual Studio 2010

Hi every one, I'm creating an application using visual studio 2010 and I want to create some reports. I already download & instal the Crystal Report for Visual Studio 2010 but i dont know how to use it. if someone has a tuto or some thing can help me. Thanks. ...

Dependency Matrix for C# code

The dependency matrix of VS 2010 crashes VS 2010 as soon a I try it on my application! Anyone knows a good VS addin with a solid dependency matrix? ...

Publish web application from MSBuild Script using VS2010 targets resets working directory

I am trying to automatically publish and deploy my .Net 4 web application automatically from a build script to be run by our continuous integration server. I am using the new _WPPCopyWebApplication target from VS2010 to perform the publish, however it appears to reset the current working directory of the msbuild project to c:\ this caus...

c# DataSet with 2 tables, how to delete a row from one it will delete a row from the other?

Hello, I use Visual Studio 2010 I have a DataSet with 2 tables one (MainList) has type, name, path, parameter the other (UpadteList) has path, hash, date I added files to this list and it work with out problem, now I have the following when I add file type "update" it will be "Update","My Program", "PATH-TO-/my.setup.exe","/minimize...

Change the SQL request of report

Hi I'm creating a report using the Crystal Report for Visual Studio 2010 but I dont know how to change the SQL request. Thanks. ...

Turn off automatic quote insertion in Visual Studio 2010

I am editing a huge number of legacy ASP pages that have been converted over to C#. One problem is that the HTML attributes need to be adjusted to correct some double quote problems. My problem is that when I add a double quote VS dutifully inserts the closing quote in the wrong place. I then need to go an delete that quote and enter t...

Can WatiN open a html/js doc that is compiled into an Nunit test assembly?

MVC 2 app with a Web project (including external JS files used by Views) and a Tests project (including a Nunit test to launch QUnit tests with WatiN). Everything runs fine if I include the QUnit test html and JS in the Web project and use Cassini to launch it. However, I want to avoid having any QUnit test code in the Web project, so ...

VS2010: VSIX installation doesn't deploy item templates inside it

Hi, Given demo solution with two VSX-projects: 1. Add New Project -> Extensibility -> Item Template - "ItemTemplate1" 2. Add New Project -> Extensibility -> VSIX Project - "VSIXProject1" I did no changes in "ItemTemplate1", so it constains default item template (ItemTemplate1.vstemplate): <VSTemplate Version="3.0.0" Type="Item" xmlns="...

VS 2010 - Error when opening User Control / Form with Designer

C#, VS2010, WinForm application: Sometimes I do have the problem that I get an error message when opening some of my controls / forms. All code compiles and the application runs properly. Opening the control in the designer gives me: The designer loader did not provide a root component but has not indicated why. From my experien...

How to group partial class files in Solution Explorer VS2010

The problem is, that I want to group partial class files in a way in the Solution Explorer, that visual Studio displays a [+] in front of the filename which I than can expand to see all other dependend files. But my classes are shown in two rows below each other. (see below) > CustomerServiceDao.cs > CustomerServiceDao.Query.cs The r...