visual-studio-2010

SSRS footer item wont format correctly

I am using SSRS with Visual Studio 2010. I have a cell pulling to a footer text box using the value: =ReportItems!GuarantorBalance.Value I CANNOT format the cell in the footer with the currency format. I tried every which way to format the text box but it never pulls the currency value. If I try to format the account number in the foo...

Multi-process builds in Visual Studio 2010: Worth it?

I've started testing our C++ software with VS2010 and the build times are really bad (30-45 minutes, about double the VS2005 times). I've been reading about the /MP switch for multi-process compilation. Unfortunately, it is incompatible with some features that we use quite a bit like #import, incremental compilation, and precompiled head...

ASP.NET 4 UpdatePanel and IIS7 Problem

I have an ASP.NET 4 webpage that contains an update panel which just allows me to add a few items to a drop down list without reloading the entire page. The page works fine on the Visual Studio 2010 ASP.NET Development Server, performs the Async call and the page is properly laid out. However, when I deploy the page to IIS7, the Async ...

Make IIS7.5 Web Site an Application

What I'm doing SHOULD be simple. In IIS6 I could just go to Properties on the Web Site and Create/Remove the application status from it. However, I cannot for the life of me figure out how to convert the Web Site itself (not virtual directories under it) an application! Ultimately, my problem is in using the Publish feature from Visual ...

Boost.Thread throws bad_alloc exception in VS2010

Upon including <boost/thread.hpp> I get this exception: First-chance exception at 0x7c812afb in CSF.exe: Microsoft C++ exception: boost::exception_detail::clone_impl<boost::exception_detail::bad_alloc_> at memory location 0x0012fc3c.. First-chance exception at 0x7c812afb in CSF.exe: Microsoft C++ exception: [rethrow] at memory locati...

Can schema be ignored in object names in VS 2010 Schema Compare?

Is it possible to ignore the schema in object names when comparing databases using Visual Studio 2010 Schema Compare? For example, I'd like [dbo].[mysproc] and [mysproc] to be considered equivalent. ...

How do I ignore the UTF-8 Byte Order Marker in String comparisons?

I'm having a problem comparing strings in a Unit Test in C# 4.0 using Visual Studio 2010. This same test case works properly in Visual Studio 2008 (with C# 3.5). Here's the relevant code snippet: byte[] rawData = GetData(); string data = Encoding.UTF8.GetString(rawData); Assert.AreEqual("Constant", data, false, CultureInfo.InvariantCu...

Can I use VS2010's Intellitrace to gather data for a Windows Service?

I have a Windows service that I'd like to gather some debugging data on using Intellitrace - the problem is that you can't debug a Windows Service by starting it directly from inside VS. I have the service installed, and the very first statement in Service.Start is "Debug.Break", which allows me to attach VS. However, you can't use Intel...

What should be DefaultLocation property of VS2010 setup to install application in C:\Users\[username]\AppData\Local folder?

I have to install windows service using Visual Studio. Target location for the install is handled by “DefaultLocation” property in Visual Studio setup project. I had used [AppDataFolder] tag to install the application. As the result, it has been installed in “C:\Users[username]\AppData*Roaming*” folder. I can not figure out how to modif...

Advanced tasks using Web.Config transformation

Does anyone know if there is a way to "transform" specific sections of values instead of replacing the whole value or an attribute? For example, I've got several appSettings entries that specify the Urls for different webservices. These entries are slightly different in the dev environment than the production environment. Some are less...

snprintf and Visual Studio 2010

I'm unfortunate enough to be stuck using VS 2010 for a project, and noticed the following code still doesn't build using the non-standards compliant compiler: #include <stdio.h> #include <stdlib.h> int main (void) { char buffer[512]; snprintf(buffer, sizeof(buffer), "SomeString"); return 0; } (fails compilation with the...

update Visual Studio jquery release

Now that Visual Studio 2010 has jQuery support, I'm wondering how I can update the release version? When you currently create a project, it automatically creates the 1.4.1 files, but there is now the 1.4.2 release on the jQuery.com website. How can I tell VS2010 to use the more recent version of jQuery? ...

VS 2010: Where do I get IVsSingleFileGenerator?

Where do I get IVsSingleFileGenerator? The docs say to look for "Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)", but I can't seem to find it. ...

Reference non-GAC version of DLL in Visual Studio 2010

This is similar to Add Non-GAC reference to project but the solutions presented there don't seem to help. I have a WinForms UI Library (Krypton from ComponentFactory) installed in the GAC. There's a bug I want to track down in that library, so I added the source code to my solution, removed the old references from my WinForms project t...

Sync LINQ-to-SQL DBML schema with SQL Server database

After creating a SQL Server 2008 database, I made a Linq-to-SQL schema in Visual Studio. Next, in the .dbml visual editor (in Visual Studio 2010), I added PK-to-FK and PK-to-PK associations to the schema. How do I copy those associations that I created in Visual Studio over to the database? In other words, how do I sync with the DB? ...

How do i execute an MSBuild Task in VS2010 Web Deployment Build Template?

Hi all, We've recently upgraded from VS2008 -> VS2010 (and hence upgrading from Web Deployment Project to proper deployment project). Obviously what's new in VS2010 web deployments is the introduction of Workflow as the build process template. Previously, we used a MSBuild task in the WDP to execute the Yahoo YUI Javascript/CSS compr...

VS2010 Publish Profiles -- Where are they stored?

We have set up a few Publish Profiles that are used to deploy web apps to various servers, and it all works great with 1-click deployment. However, w find that even though the entire solution is under source control (svn), the profiles do not seem to be carried over, so we need to re-create the profiles on each developer's machine manua...

Migrated windows application from VS2008 to VS2010

Hi, I have converted my windows application projects from Visual Studio 2008 to Visual Studio 2010, Everything fine but Application is running very slow in 2010. Same Application is running in good performance in 2008. Any one can help me what could be the wrong. I am using Visual Studio 2010 RC (Release Candidate) Version. ...

Visual Studio 2010 introduces "No drag and drop customization of menus and toolbars"

What went wrong with the Microsoft Visual Studio team, for them to remove the drag-and-drop functionality of menu and toolbar customizations? You now are greeted with a friendly looking dialog box that lets you "Add" and "Remove" items using listboxes and other primitive means of customization. How do I quickly customize items here? Or ...

VisualStudio 2010 Settings Page - Collection Settings

I have a list of Filemaker database names Each DB name has a list of field/attribute pairs associated with it I have a windows form application in C# 4.0 (vs2010) that wants to use the above data I would like to maintain the list either in the Visual Studio settings page, or in one of the standard visual studio settings files using the...