visual-studio-2010

Cannot Uninstall or Repair Visual Studio 2010..I get "operation cannot be completed" error!!

I get "operation cannot be completed" error when i tried repair or uninstall visual studio 2010 RC1...I tried restarting my computer and doing it couple of times...but it just does not let me do an repair or an uninstall and it completes half way and give me "operation cannot be completed" and just hangs...after that and does nothing an...

How to draw a square on a video and track the object enclosed by the square ?

I am doing a Final Year Project to track an object(human) by drawing a square around a human in a video. I am doing this project in C#.NET. I asked in a forum about this and they said to use GDI+ and mouse handling (which I have no clue about). Do I have to do segmentation and then identify the region where the square was drawn ? split...

VS2008 -> VS2010 leads to cryptic STL errors

The following C++ library was successfully compiled in VS2008 http://sourceforge.net/projects/xmlrpcc4win/files/xmlrpcc4win/XmlRpcC4Win1.0.8.zip/download When I open it in VS2010, it goes through the conversion wizard process without any errors. Now, when I attempt to compile it in VS2010, I get some weird STL errors like these: 1>Ti...

VS2010 Web Deploy: how to remove absolute paths and automate setAcl?

The integrated Web Deployment in Visual Studio 2010 is pretty nice. It can create a package ready to be deployed using MSDeploy on a target IIS machine. Problem is, this package will be redistributed to a client that will install it himself using the "Import Application" from IIS when MSDeploy is installed. The default package created a...

Publishing via "File System" in Visual Studio 2010 - Doesn't work!

Hi, this is an extremely frustrating situation. We have just upgraded to Visual Studio 2010, and very nice it is, except for when it won't do something really simple, like Publish your ASP.NET Web Application to a folder on your desktop. For some unearthly reason, what used to work flawlessly in 2008 is now generating an error: It stops...

Google Charts POLY problem with VS 2010 image map

Hi I am using http://code.google.com/apis/chart/docs/gallery/googleometer_chart.html I have: <img src="http://chart.apis.google.com/chart?cht=bvg&amp;chs=250x150&amp;chd=s:egbdf&amp;chxt=x,y&amp;chxs=0,ff0000,12,0,lt|1,0000ff,10,1,lt&amp;chm=o,000000,0,-1,10|V,000000,0,-1,1:15,,:4:10|H,000000,0,-1,3:9,,:8:17&amp;chxl=0:|E|G|B|D|F" use...

VC++ 2010 wants to link boost libararies i didn't even specify

Hi there, I'm trying to build my application with MSVC 2010 instead of GCC. With GCC everything works fine. My app uses boost_system and boost_thread libraries. I built boost with VC2010 in "system" layout, that means the libraries are named just libboost_system.lib (and not libboost_system_compiler_threading_version_wtf_snafu.lib) The...

Analyze VS2010 C# projects and report files on disk not part of the projects?

I discovered earlier tonight that files and folders I have removed from my C# projects are apparently still on disk, even though my Visual Studio Mercurial plugin seems to do a good job of deleting them when I delete them in Visual Studio. It must have hickuped when it came to these files. So I wondered... Does anyone have a script or s...

Visual Studio 2010 randomly unable to debug WCF service.

I'm running Visual Studio 2010 on a Windows 7 x64 machine, and occasionally VS is giving me the good old "The remote procedure could not be debugged.This usually indicates that debugging has not been enabled on the server" error that a lot of people ask about. My problem, though, is that it seems to only do this randomly(it can be anywh...

Implement a custom editor in Visual Studio 2008 or 2010

Hi, I'm trying to find documentation on how one would go about creating a custom editor plug-in for VS2008 or VS2010. The file syntax I want to edit is from a tool called TemplateMaschine by Stefan Sarstedt. An example of the template syntax: <%@ Assembly Name="System.Xml" %> <%@ Import NameSpace="System.Xml" %> <%@ Import NameSpace=...

using Visual Studio 2010 and speech recognition on windows 7?

I've never used Speech Recognition (SR) at all, but I'm hearing that the built-in SR capabilities of windows 7 is not half-bad. I'm thinking that it might be a real productivity booster with Visual Studio so I can decrease the use of the mouse (no Emacs comments please ;-). I don't envision not using the keyboard to type the actual code-...

Choosing an installer product that is free and will download/install the .NET Framework

I'm currently using the Visual Studio Installer (Setup Project) in Visual Studio 2010 as the installer for MyProgram. It has some quirky bugs and is not very customizable so I would like to switch to another installer product. Here are my requirements: Must be free (and licensed for commercial use) Must install the Windows Installer 3....

How Does the VS 2010 web.config work?

Hi I am just wondering in VS2010 the web.config is broken up into web.config web.debug.config web.release.config So from what I gathered is the web.config is just like the master template. So I am guessing in my debug I could put things like my local database where in my release one I would put my server database. Now how does it kn...

Compile to stand alone exe for C# app in Visual Studio 2010

Similar to this question http://stackoverflow.com/questions/2035083/compile-to-a-stand-alone-executable-exe-in-visual-studio But nothing there works for me. I've written an app that is very simple in C#. I want this to compile to a stand alone exe file, but I can't seem to find the proper settings to do this. Everything compiles into...

Visual Studio 2010 including old version of jquery

When I create a new ASP.NET project in Visual Studio 2010, it creates the scripts directory, like it should, however the version of JQuery it sticks under the scripts directory is an old version of JQuery. Version 1.36 I believe. How can I update this so that Visual Studio 2010 will include the newest version of jquery? I know I can remo...

Visual Basic 9 (or C# 3) with Visual Studio 2010

I'm working on a project started in VB9 (VS 2008) and now I've migrated to VS2010 (VB10) but on the production server the IDE is still VS 2008. On my developement enviroment the code compiles fine, but sometimes, - let's say - I forget an _ at the end of the line which causes the VB9 compiler to throw an error. So the question is, how c...

Visual Studio 2010 Shell Isolated template broken

I am following a tutorial for creating a Visual Studio Isolated Shell application. When I get to step number 4 I a dialog with the following text: A problem was encountered creating the sub project 'VSShellStub1'. The template specified cannot be found. Please check that the full path is correct. I've tried this on two separate m...

How to organize Enterprise scale Composite Applications (CAG)

All QuickStarts and RI examples in the CAG documentation are good but I lack the more Enterprise scale examples. Let's say we have 40+ modules, each containing a Proxy,Facade,PresentationModel,Model and Views. Each module also makes calls to a Module-specific WCF service which is to be hosted in IIS or in a stand-alone console host. Ou...

How do you determine what executable and DLL’s a C# Visual Studio project produces?

How do you determine what executable and DLL’s a C# Visual Studio project produces? In Visual Studio 2010, where do you go to see what the name of the executable that a project produces. ...

Retrieve VS2010 auto-assigned build numbers

Is there a way to find out what the number is that the build process assigns to the * when I have the assembly version set to something like 1.0.0.*? I've been looking at the "EnvDTE" namespace in the macros, but haven't been able to find anything useful. ...