visual-studio

How to turn off Visual Studio 2010's new collapsible section mouse over highlighter?

So it seems like the new VS highlights whole sections of code when the mouse is over the collapsible line on the far left of the IDE. I don't know what this feature is called but I couldn't see any option in the Options to turn this off. Is this possible? If so, how? ...

how to correct "located assembly's manifest definition does not match the assembly reference" ?

My project solution does build without error but doesn't run any more :( I tried to clean solution and project but didn't work. This seems to occur after I installed some plugins for VS 2010 but I'm not sure. Is there a way to solve this problem ? Even a brand new project doesn't want to run anymore. ...

Install Visual Studio 2008 and Visual Studio 2010 on Windows 7 64 bit

I have Windows 7 64 bit Enterprise edition installed. Which version of Visual Studio 2008 & Visual Studio 2010 (alongwith the Windows SDK for Win 7) should I install to create both Windows applications targetted to 64bit and 32 bit platforms? Are there separate versions of Visual Studio 2008 and Visual Studio 2010 for 32bit and 64 bit O...

IntelliSense rendering XML comments improperly from referenced assembly

I have an assembly with all classes decorated with XML so that full IntelliSense is provided. This works fine in my development environment (Visual Studio 2008 Express and VB.NET), but if I create an entirely separate project and import the dll in, the IntelliSense appears but it is not rendering properly. For instance if I have someth...

UseHostCompilerIfAvailable False causes an "One or more types required to compile a dynamic expression cannot be found" error

The C# dynamic type seems not to compile when UseHostCompilerIfAvailable is set to false. I have both the required references Microsoft.CSharp and System.Core in my project, but it refuses to recognize it. Using the integrated Visual Studio compiler works, however. The offending line is: dynamic obj = this.Engine.Operations.CreateInsta...

Pulling data from Repeater with EnableViewState=false ... How/Alternative?

Gurus, So I am trying to avoid enabling EnableViewState... Sample code as you can see has 1 repeater and 2 textboxes inside. I bind the textboxes at page init. After a postback I want to get the updated data from the client & save in a db. The Request.Form contains the data keyed with autogenerated client ids but the repeater has 0 i...

instellisense not working for just one solution (VS 2010 express for phone edition)

[Edited] intellisense is not working just for just one XAML file in a particular solution (the solution compiles and runs fine) it works on every other project and other files.. can someone point me to instructions on how to fix it ? I am using Visual studio 2010 express edition for windows phone. ...

In what order are projects returned using ActiveSolutionProjects?

Hi Im using this code, inside a project template wizard. DTE dte = project.DTE; VSProject vsProj = (VSProject)project.Object; Array projects = (Array)dte.ActiveSolutionProjects; Project activeProject = (Project)projects.GetValue(0); But im curious in what order the projects are returned? The code above is running just after the proj...

How to publish a web site using Visual Studio Express Web 2010

I mean; I need to publish the web site (Included the dlls built on Release Mode...) Any idea like using bats. or whatever.. since I don't have the professional studio. ...

Application settings in visual studio 2008 express edition, winforms

In the application settings screen for the express edition, the Configuration combo box is disabled, so I can't change things like the assembly name and description depending on the configuration. The first question is, is this box enabled in the full version? Secondly, to get around this, I edited the AssemblyInfo file manually and us...

Updating form elements from classes that don't have access to them

I want to access certain form elements from classes that normally don't have access to them. Allow me to illustrate the problem. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Net; using S...

Cannot compile Flash with Amethyst IDE for Visual Studio 2010

I create their basic Flash app with their Flash IDE for Visual Studio 2010 http://www.sapphiresteel.com/Products/amethyst-ide/article/amethyst-product-page When launching the run button, it launch flash but with this error within Flash CS4: The following JavaScript error(s) occurred: At line 6 of file "FlashApplication1.jsfl": Cannot f...

human body border detection using .NET

there is any body know any library that enable us to detect the body border or help me notify to body movment according to stream of images ...

InstallShild custom action arguments

Hello I am useing InstallShield Limited Edition for Visual Studio 2010 to create an installer, and I am trying to add an executable custom action. My custom action in an exe that is installed to the install dir. The custom action needs to use another file that is located in the install dir as well. How do I get the path to the install...

Visual Studio Report Designer shows only HTML

Hello, I built a report in Visual Studio 2008. There was a problem with it (an error occurred while trying to view the report) and since then, the report designer shows just HTML, <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text...

weird error: prj0019 A tool returned an error code from "Signing library..."

While I am compile (in release mode) my C++ project inside Visual studio 2008, I encounter this error: prj0019 A tool returned an error code from "Signing library..." Need guide, since I try to google it, there is no clue how to solve it :( ...

Exporting member function of a static library

Is it possible (or relevant at all) to export member functions of a static library? When I "dumpbin /EXPORTS" my .lib file I don't see any of my defined class members. Linking to this lib file succeeds, but I use an external tool that fails to read non-exported symbols. Also tried adding a .def file with no results. ...

I couldnt find any- "comment" / "uncomment" icons/images in the VS2010ImageLibrary, can anyone help me?

hi, I am searching for icons/images for my application.. especially for the menu and toolbar.. i am looking for the following icons/images (16x16 if possible): 1. comment 2. uncomment this icons can be found in the IDE of Visual Studio (comment/uncomment lines) I am asking this because for some reason I couldn't find any of this icons i...

How to create an installer condition that test for 32 and 64 bit Windows.

I am creating a visual studio set-up project. I need to test to see if the version of Windows I am being installed on is 64 or 32 bit. I am planning on checking for the existence of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node as a way of telling that I am being installed on 64 bit windows. Is this a good idea and/or is there...

debug:pdbonly difference between .Net 2 and .Net 4

Hello, I followed this example from Scott Hanselmans webpage: http://www.hanselman.com/blog/ReleaseISNOTDebug64bitOptimizationsAndCMethodInliningInReleaseBuildCallStacks.aspx My goal is to get the line number from where the exception is thrown not where it is caught. When I compile the code with the following build-script it wont wor...