visual-studio-2010

HowTo: Conditional Page Break in SSRS 2010 ?

Hi there I just migrated a project from .NET 3.5 to 4.0, accordingly the reports now use SSRS included in .net 4.0/VS2010. Before conditionally setting a rectangles visibility did the trick for me. (inside the rectangle I put a rectangle with a pagebreak) But this stopped working now.. any help appreciated ...

Visual Studio 2010 editions - switching from Premium (not a trial) to Ultimate trial and back again

I have installed Visual Studio 2010 Premium RTM (not a trial) and would like to run the Visual Studio 2010 Ultimate Trial for a while. What is the fastest way to switch to Ultimate trial and back again to the Premium? My best idea: not uninstalling the Premium edition. running the Microsoft Visual Studio 2010 Ultimate Trial - Web Ins...

Visual Studio 2010 Themes, change Parameter Help background color

Hi there, Recently I installed in Visual Studio 2010 the Power Tools Extension It's working great, however I have problems with my text coloring theme (Nightfall), and the extension's Colorized Parameter feature. Since the theme text fore color is grey, when the Power Tools Extensions shows the Parameter Help tooltip using my text colo...

Cannot find System.Web.Script.Service namespace error after upgrading to Visual studio 2010

I've just upgraded a VS 2008 project to VS 2010, converting the project but keeping the target as .NET 3.5 (SP1 is installed). My project worked without issue under VS 2008 on another machine. I've added references to System.Web.Extensions.dll but I'm still getting the following errors from code in the App_Code folder: 1) Cannot find S...

Visual Studio 2010 element names for theming

I am trying to figure out what the element name for the tooltip is in Visual Studio 2010 so that I can change the style using the extension found here. Anyone know what that is? I am using the default theme which seems to have a white to light grey gradient on it. This is less than optimal since the text for the functions are also white....

VS2010 Ultimate. Why do I just see "Silverlight 3". Where's 4?

What do I have to download to be able to set my Silverlight app to version 4? I already downloaded wat I thought was the latest version of the Silverlight developer runtime ...

Entitiy Framework: "Update Database from Model" instead of "Generate Database from Model"

Hey everyone, I have created a Entity Framework 4 model with Visual Studio 2010 and generated a database from it. Now I found myself adding new properties (with default values), changing documentation of columns, changing names of columns, changing types of columns several times. All tasks that do not require much "extra work" in order ...

How to access current item from a sharepoint list in Visual Studio 2010

Hello, When using sharepoint designer you can quite easily use current item and perform different actions with it when using workflows etc. However, the options available are limited. I am wondering how to access current item in a list through visual studio 2010 and use and assign values from its fields to variables or items in another ...

web.config transforms not being applied on either publish or build installation package

Today I started playing with the web.config transforms in VS 2010. To begin with, I attempted the same hello world example that features in a lot of the blog posts on this topic - updating a connection string. I created the minimal example shown below (and similar to the one found in this blog). The problem is that whenever I do a righ...

Visual Studio 2010 -- how to reduce its memory footprint

I have a solution with just under 100 projects in it, a mix of C++ and C# (mostly C#). When working in VS2005, the working set of Visual Studio is considerably smaller than that of VS2010. I was wondering if there are some things that can be turned off, so I can develop in VS2010 under 32-bit OS without running out of memory. ...

VS2010 .NET Memory Analysis - extremely slow

Running VS2010's .NET Memory Allocation analysis takes ages to complete. The program itself ran for about 3 minutes and generated 35GB of memory allocations. The profiler's output file is about 28GB. The report analysis process took over three hours (on a dual Xeon with 8GB RAM) to complete. This has happened to me every time I've ru...

Silverlight and IIS5 on XP

Besides modifying IIS to serve XAML extensions is there anything else that I need to do to allow IIS5 to server Silverlight pages? Do I actually need to run some Silverlight setup on the IIS5 web server or are all the setups intended for development machines and /or machines that end up consuming/browsing Silverlight pages? ...

Linking IronPython to WPF

I just installed VS2010 and the great new IronPython Tools extension. Currently this extension doesn't yet generate event handlers in code upon double-clicking wpf visual controls. Is there anyone that can provide or point me to an example as to how to code wpf event handlers manually in python. I've had no luck finding any and I am new ...

Why doesn't Microsoft.SqlServer.Smo appear in the Add References dialog

I have used Microsoft.SqlServer.Smo.dll and Microsoft.SqlServer.ConnectionInfo.dll in a number of VS2008 projects but they don't appear in the VS2010 Add Reference dialog. Why did they disappear and how can I add them to my VS2010 project? ...

How do I set Environment Variables in Visual Studio 2010?

How do I set Environment Variables in Visual Studio 2010? I found this web page: http://msdn.microsoft.com/en-us/library/ee479070.aspx Which says: From the Project menu, choose Properties. In the left pane, select Configuration Properties, and then select Environment. But when I select "Configuration Properties", there is no "Envir...

Visual Studio 2010 error: Type universe cannot resolve assembly

I've loaded a WPF project initially created in Visual Studio 2008 into Visual Studio 2010. The conversion process goes smoothly, but on certain XAML files the VS2010 designer throws several errors related to project references, including this one: System.Reflection.Adds.UnresolvedAssemblyException Type universe cannot resolve as...

Outlook 2007 VSTO Add-in deployed by click-once doesn't detect published updates

I have created an outlook 2007 add-in project in vs2008, targeting .net 3.5, then migrated the project to vs2010. I have then published the project from vs2010 to a web site, and installed the add-in using click-once to a virtual machine running xp, .net 3.5 sp1, and outlook 2007. This all works great and I can see my add-in within outl...

Problem using Blend 3 Interaction.Behaviours in VS2010

There seems to be a problem with support for the Interactivity namespace of Blend 3 in the VS2010 xaml editor. I have the following installed: VS2010 Blend 3 + Blend 3 SDK I am trying to compile a demo project that is targeted at .Net 4 Client Profile and has a reference to System.Windows.Interactivity (in the Blend 3 folder). In th...

Visual Studio 2010 Debugging issue

I have a problem with debugging my Silverlight 4 (hosted in ASP.NET MVC2) in Visual Studio 2010. It was working fine until I tried remote debugging. After a lot of hassle I managed to configure remote debugging but it worked only occasionally. So I created a new app and copied my classes one by one, but now I see I cannot debug not only ...

How to compile a C DLL for 64 bit with Visual Studio 2010?

I have a DLL written in C in source code. This is the code for the General Polygon Clipper (in case you are interested). I'm using it in a C# project via the C# wrapper provided on the homepage. This comes with a precompiled DLL. Since switching to a 64bit Development machine with Visual Studio 2010 and Windows 7 64 bit, the application...