visual-studio-2008

Install Sql Server 2008 first or Visual Studio 2008?

I never really know what order is the best installation or if it even matters, but should you install sql server (2008 in this case) first and then Visual Studio or vice versa or does it not matter? ...

Visual studio how to get wpf and silverlight side by side

I have two projects in my solution one a silverlight library and the other a wpf control library, ive added the sources as a link from my silverlight library to my wpf library and after a bit of refatoring hit a road block, my wpf library project does not want to build the generated files needed for the code behind to recocnize the named...

Visual Studio 2008 C++ language support?

I've been developing a couple of C# tools recently, but primarily working with a lot of legacy Visual Basic 6.0 code (I know, I know...). For the C# development, I've been using Visual Studio 2008 Professional edition that I downloaded using our MSDN subscription here at work. But, as a change of pace over the weekend, I was going t...

Visual Studio 2008 PUBLISH installer installs older version

Hi, I decided to use the Publish feature in Visual Studio. I'm also using the update feature. It worked up till version 1.0.0.6 and now it's just stuck there. I can uninstall the App but it always re-installs it to that version. I've actually had a similar problem with the normal Application Setup. Any help would be appreciated. Than...

Recommended DotNetNuke module project templates

Every module I've developed is separated into 2 folders: DesktopModules/[ModuleName] - contains .aspx and .aspx.cs files. Modules/[ModuleName] - contains a class library project with the rest of the code (.cs files). I've heard that you can use a special project template that handles .aspx, .cs and much more module related file type...

Safe to use msbuild from VS 2010 on VS 2008 projects / .Net 3.5

I use Teamcity on Windows 2003/IIS 6 for my continous integration environment. I use the msbuild runner. Whilst I know there are a number of tasks and way to handle config replacement and transformation between environments I'm particularly interested in this one provided by Microsoft based XSLT principles which looks like it refers to m...

WPF: Error getting UserControl into ToolBox

I can remember that some time ago when I created a UserControl in Visual Studio 2008 the USerControls automatically appeared in the ToolBox. Now they don't. If use "Choose Items.." on the ToolBox I get the error message "The given assembly name or codebase was invalid", after selecting my assembly. I have Windows XP SP3 and .NET Framew...

Remote Debugging on IIS - Access Denied Nightmare!

Hi. We have two Win2k3 servers here, one is a domain controller and the other our webserver. I'm running an ASP.NET MVC web app setup as a website in IIS on the webserver. I've copied across the x86 remote debugging tools to the webserver, logged in to an admin account and ran msvsmon. I added the user I'm logged into my workstation ...

C# byte array comparison issue

Hello everyone, I have two byte[] arrays in C#. And I am using VSTS 2008 + C# + .Net 3.0. What is the most efficient way to compare whether the two byte arrays contains the same content for each element? For example, byte array {0x1, 0x2} is the same as {0x1, 0x2}, but byte array {0x1, 0x2} and byte array {0x2, 0x1} are not the same. ...

web.config email query

In my web.config file there are below entries. It seems like it is used to send mails from my website. How i know maiks has been sent from my website? <add key="emailFromAddress" value="[email protected]"/> <add key="emailTo_StoreAuthorise" value="[email protected]"/> ...

How can you import Tasks from TFS into VS Studio Project Task List?

I would like to be able to import TFS tasks / work items into the Visual Studio Task Lists. Is this possible? UPDATE: It looks as though I'll have to use WIQL that is found in the SDK. I hope to save some time and would appreciate any posts / war stories associated with TFS and sync'ing to Visual Studio. ...

SQL Database Publishing wizard with SQL Server 2008

I'm desperately looking for SQL Database Publishing wizard. I've download it but it seems to require SQL Server 2005. According to http://blogs.msdn.com/webdevtools/archive/2007/10/15/sql-database-publishing-wizard-is-now-in-visual-studio-orcas.aspx it comes with Visual Studio 2008, but my Visual Studio 2008 Professional doesn't have tha...

Adding XMLNS causes VS seize up

Currently in my XAML editor view I am experiencing frequent seizing episodes of around 3 seconds each. I've been able to narrow down the reason for it to custom namespaces. By default, my page has the 2 default XMLNS declarations: <Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.m...

Visual Studio REALLY wants to create a database diagram

I have a VS "weirdness" I am unable to solve or explain. Every now and again (with no consistency of action I am doing at the time) Visual Studio prompts me if I want to add database diagramming elements (similar to how SQL Manager would ask you if you chose to add a DB diagram for the first time.). It then asks me about 10-15 times wit...

Check box not retain the state

I have a check box in the webform; it is not retain its state when i click in the back button and again comeback the page using next button. ...

is it possible to get Visual studio to index source code to improve string search?

I often use the string search feature for an entire solution in VS2008. Is there a way to improve its search speed by getting VS2008 to index all the source code and config files, similar to how Google Desktop index files? ...

Crystal Reports in Visual Studio - Can margins be dynamically changed?

I have a report where the first page has a certain top and bottom margin. Every page after that will have a different margin from the first. Is there a way to do this in Crystal Reports in Visual Studio 2008? ...

Is there a way to create a visual site map, for documentation purposes, for a .net web application using VS 2008?

THE BOSS has asked me for documentaion for a website I have just built, including some schematics and a site map. Not an unreasonable request, but I prefer programming over documenting any day. Yes I realise that it is an important part of the process, but lets move on. Wanting to get back to prgramming as quickly as possible I would ra...

Excel AddIn throwing an exception in designer code

I'm trying to develop an AddIn for Excel 2007, and have a solution full of code that executes and debugs just fine on other people's machines. When I try and Start Debugging in Visual Studio on my machine though, Excel gives me an error when it loads my AddIn: "An AddIn could not be found or located." I then click on the Details button...

Visual Studio Solution Explorer, Highlight Active Item color

Hi All In Visual Studio 2008, is there any way to change the background color of the highlighted item in the Solution Explorer? The current setting makes the item quite visible when the Solution Explorer has focus (blue), but when the editor has focus, the background color is a very light gray, which makes it near impossible to see. I h...