visual-studio-2008

Error in building project

Hi, While building a c++ project for windows mobile 6.0 , i am getting an error fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'THUMB' i don't no the reason why this error is coming.. i do Google a bit.. since i hv not much idea about instruction set, its tough for me to find.. it will be helpful if ...

Visual Studio Addin for VS2008

I was looking at one of the webcasts and found that class name had a small class diagram image beside it and all methods had lines, and all if or for loops had highligted lines so it makes them very clear where they end. Where can I get this addin from....? ...

Weird .NET Memory Leak in ClickOnce app that can't repro as Desktop

In Visual Studio, are there any real differences between a "Release" build of an application, and a published version of the same application? I have an ugly memory leak that's creeping up only in the published version installed via ClickOnce. The same leak does not occur in the "Release" build if I run the executable from the project/b...

How to Call an event when a specific item on CheckBoxList is clicked?

Hello guys, I've got a CheckBoxList, which is populated via .DataSource, getting some items from the database. Each one if this items got it's ID according to the ID on its database record. What I need is, when the user clicks item with ID 34, it shows him a panel/popup... I already have everything, the popup and all. Just don't know ...

How to include pdb files in MSI installer to deploy along side the rest of the app?

How to include pdb files in MSI installer to deploy along side the rest of the app? I want to keep the line numbers and full stack trace in error logs we generate. Update The line numbers of the code are not reported in the stacktrace unless you distribute the pdb's, I've tested this. How can when I build the MSI and I've asked the M...

In Visual Studio 2008, how/why are extra (non-specified) .LIB files be added to the linking stage?

I discovered yesterday that one of our projects is linking in a few libraries that aren't specified in the project. I've double-checked (by manually reading the .VCPROJ file) that the .LIBs in question aren't specified. They aren't mentioned anywhere in the file, let alone in its 'libraries' section. And yet, when I look at the 'Comma...

Find in Files or Quick Find in VS 2008 seems to only work sometimes?

I am working on a project using VS 2008, containing MANY files within projects within solutions. We recently had to convert all our work from VS 2003 to 2008 (you know how big companies are always the last to convert to the lastest version of stuff). In trying a "Find in Files" (or "Quick Find") within 1 solution containing 3 projects...

HOWTO create a stand-alone executable per form for a C# solution in VS 2008 with multiple projects with multiple forms in a single build?

Hello, I have a C# based solution in Visual Studio 2008 for a given problem domain. This solution has 1 + 5 projects. The first project is for resources that spans across the other 5 projects. Each project has multiple forms. By default, the build generates one executable per project. What I want rather is each form, which has no mutua...

Visual Studio Macros on 64 bit fail with COM error

I'm doing some javascript development and found a cool macro to region my code ("Using #region Directive With JavaScript Files in Visual Studio"). I used this on my 32 bit box, and it worked first time. (Visual Studio 2008 SP1, Win7) For easy of reference the macro is: Option Strict Off Option Explicit Off Imports System Imports EnvDT...

How can I get VS 2008 to use Interop.DTS in place of old COM DTS?

I have a VS 2008 project that is using DTS. The project is in source control, and I don't want to check out and modify the project references for fear of stubbing the toes of other developers for whom things are just fine. For me, right now Visual Studio can't locate the DTS reference used by the project. I have SQL Server 2008 instal...

JavaScript not Running on VS2008 Development Server a.k.a (cassini)

I am trying to run a simple ASP.Net Web Application/Site on Vista Box. Unable to run any JavaScript when I hit F5. However when I deploy the same to local IIS and call the application using IE8 this application works and the JavaScript executes. Another observation, when I copy the URL (example: http://localhost%3AXXXXX/yyy/Default.aspx...

The underlying connection was closed: An unexpected error occurred on a send.. Check that the Web server is still running and visible on the network.

I am getting this error when i run my ms unit test cases in the solution. If i run all the individual test cases its working and i am able to run the test cases. is there any fix for this? Am i missing something? ...

XSLT Intellisense in Visual Studio 2008

I have an XML file which in addition to it's standard XML schema allows the use of XSLT. I am including the correct namespace for XSLT (xmlns:xsl="http://www.w3.org/1999/XSL/Transform") however I am not receiving Intellisense for XSLT when I start typing xsl: tags. Is it possible to turn this on? When I edit XSLT files it works absolut...

Where does Visual Web Developer 2008 Express Edition keep it's project files

Related to a previous question re. the debugger not working for me from VS Express: http://stackoverflow.com/questions/1840542/visual-studio-express-cant-debug-the-debugger-is-not-properly-installed/ I established that the problem seemed to be with the particular project that VS had set up when I chose "Open Web Site > Filesystem". I w...

How do I change server script background in Visual Studio 2008

I'm developing Asp.net MVC applications and since there's quite a bit of in-place server scripts in my aspx/ascx files it can become really messy finding your way around. What I would like to do (to make things easier on me) is set some background colour to server-side scripts. Right now only <% and %> have yellow background, but I wou...

URL Rewrite 1.1 within VisualStudio 2008

Hi all, I have changed one of my apps to use URL Rewrite 1.1 in IIS7.5 which works great (as some of you my have seen from previous posts) but I have an issue that this doesnt work when developing as Visual Studio Webserver doesnt seem to support it. Is there a way to get it work so we can actually debug it, rather than writing a compl...

Mercurial: Maintaining Visual studio 2005 and 2008 branches

I'm trying to develop a workflow which allows us to maintain seperate Visual studio 2005 and 2008 versions of a library, while making sure that changes to one branch are always replicated in the other branch. At the moment, I recommend that changes are only ever made to the default (VS2005) branch and then once complete, merged into the...

VS ReportViewer RDLC - how to prevent a table from pushing down other items?

I have a narrow table on a report with 6 columns. The table has to hold 1 - 4 rows, depending on the data. I designed the report so that there is enough white space to accommodate 4 rows. I want to use the space on the right side of the table. When I place text fields there, they get pushed down by the table as it expands to show additio...

File.Exists("SDF File Path") returns a FALSE when run through Unit tests even though it exists in the Execution Directory

I am writing Unit tests for a Windows Project. The Executable project on the Client Side of this Windows Project has a code File.Exists("LanguageLookups.sdf") which is used to check and return a Bool if the sdf file exists in the Execution Directory or not. But when i execute the same piece of Code through a Unit test; The code File.Exis...

How to configure Visual Studio to create all projects including a reference to a specific dll?

I am tired of adding a reference to System.ServiceModel in each project I create. Is there any way to automate this? ...