visual-studio-2008

How to get Resharper to use Visual Studio's snippets

I installed Resharper in VS2008 and it seems to have taken over some of the snippets I've come to rely on. For instance, prop, foreach, etc... How can I tell Resharper to let VS2008 use its own snippets or at least not to overwrite snippets that already exist. Better yet, is there a way to selectively tell Resharper which snippets it ca...

Relative Path to DLL in Platform Invoke Statement

I am using VS 2008 to develop an application that uses a .dll with P/Invoke. I can successfully use the dll when I use an absolute path. For example, this DOES work: [DllImport("C:\\myDLL.dll")] internal static extern bool isReady(); this DOES NOT work: [DllImport("myDLL.dll")] internal static extern bool isReady()...

How do I get the WPF designer pane to see my resources?

In my application I have various styles and templates that are used in several classes. I've defined these in my so they are visible from all child objects. However during design-time the WPF designer can't see these resources, complains they were 'not found' and demands the errors must be fixed before reloading the designer. Is ther...

Visual Studio 2008 on Windows 7 beta

I'm considering a full upgrade to Windows 7 Beta, thus wiping Vista from my HD. Will Visual Studio 2008 run well on Windows 7? I've read some forum posts that there were problems. ...

Visual C# for Macs

Is there a C# compiler for Macs that is compatable with Microsoft Visual C# 2008? ...

Is there any good add-ins in Visual C#2008?

My visual assist x didn't work after I installed visual c# 2008. Is there any good add-ins like VAX? ...

Is there a (relatively) painless upgrade path from ASP.NET 1.1 to 3.5?

One of my clients has an e-commerce CMS written in VB.NET 1.1. (The original solution was authored with Visual Studio 2003.) It's not an enormous site, but it does consist of around 40 or 50 Web forms, and I'd like to upgrade it to .NET 3.5, and to maintain and continue developing it it with VS 2008. I's sure I could do it surgically,...

Microsoft Studio TFS proxy problems in a trusted domain

I have two domains. TFS 2008 is installed on DEV domain, proxy on PROD. There is two-way trust and both servers can authenticate users from both domains. TFS was working fine, and suddenly stopped. Looking at the logs there was a great deal of AD noise (Can't load global catalog, etc.). The trust between the domains (DEV and PROD) was ...

tooltip appearing behind the form/window! (C# / VS 2008)

For some strange reason, my toopltip in the VS 2008 C# winforms application shows up behind the form! It's very frustrating and I can't figure out what I should do. Anyone face this before? Ideas? (PS - I'm doing a toolstip.show programmatically within the form) ...

How do I open a local SQL server database file outside of Visual Studio?

Is it possible to open a .mdf database file created in Visual Studio with some external SQL server IDE like Quest Toad for SQL server? Databases created in Visual Studio are rather similar to simple Access databases in that they're a single file. It appears external IDE's like Toad can't see the .mdf being served by my localhost's SQL ...

Castle ActiveRecord and The ActiveRecord VS Solution Template

What do you need to do or install to get the The ActiveRecord VS Solution Template working in Visual Studio 2008? I have installed the Castle Project, but I don't see any new solution templates in VS2008. ...

How can I transfer database objects from a local database in App_Data Folder in a VS 2008 web app project to an SQL Server 2000 database?

We have a VS 2008 web application project under development for which a local database (mdf file) was created in its App_Data folder. Now we have changed our plans and decided to use a SQL Server 2000 Database instead of the file database in App_Data. To achieve this, I want to use DTS Import/Export wizard to move the local database obj...

The Localhost of visual studio doesn't show up when I have WAMP server installed. How do you make it work?

I've first installed the WAMP server on my system. It used http://localhost to show my files in the www directory. But then I installed visual studio 2008. It too uses the http://localhost/ But it doesn't show up. What should I do? ...

Visual Studio 2008 Publish Failed File already exists in the website

I have a Web Application project in Visual Studio 2008. (lucky you, you say? ha ha..) It is Created from new, it's not a migrated project. It's a file based web application project so IIS and FPSE blah are not involved. I have the 'Delete all existing files prior to publishing' option selected from the publish dialog. The result...

Can you install Visual Studio 2008 Pro and Team System side-by-side?

Hi guys I have a couple of question for you.. Can I install on the same machine visual studio 2008 Professional and Team System ? the reason is because with Team System already installed I receive an error when I work with ajax and jquery: Error 1 Error updating JScript IntelliSense: Client-side script IntelliSense information was n...

Unit Testing PSCmdlet in VS2008

I have seen several examples on unit testing powershell commandlets in NUnit. http://www.clydesdalesoftware.net/blogs/jluif/PermaLink,guid,064a378c-85c9-4d2c-9a8d-80620e97f71e.aspx or http://www.hanselman.com/blog/TestingPowerShellScriptsWithNUnit.aspx Does anyone know same way one would unit test powershel commandlets in Visual Studio ...

How to check if a container supports multiple connections?

Implemented the Sink Class - to receive event notifications from COM Server Event Interface derives from IDispatch I have an issue whereby an IConnectionPoint::Advise call returns E_NOTIMPL. This could be because the connection point only allows one connection - MSDN. Note: COM Server is out-of-process Pure C++ implementation EDI...

Conditionally selecting a version of jquery depending on environment

I have 2 references to jQuery in my master page which is currently configured for production release: <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js"&gt; </script> <%--<script type="text/javascript" src="../Scripts/jquery-vsdoc.js"></script>--%> When I'm developing, I uncomment the...

How can I Export the Compare Folder results from Team Foundation Source Control

Hello, Having run a compare between a main branch folder and a given changeset in Source Control (Visual Studio TFS), and finding a number of differences, I would like to export the results to a spreadsheet so that it can be passed around and notes made etc... Is there any way that I can export this list results from the Folder Differe...

Server Explorer unavailable (VS2008Pro)

I recently had some problems with my VS 2008, and was recommended to reinstall. To make sure that the reinstall would solve my problems, i manually uninstalled everything that could have to do with VS and SQL Server (I had the 2008 Express edition installed). Now when I reinstall SQL Server and Visual Studio, the Server Explorer in VS i...