visual-studio-2008

BadImageFormatException when attempting to use LuaInterface

I imported LuaInterface into a console project, referenced it, and wrote a small test script. When i run it, i get this: Could not load file or assembly 'LuaInterface, Version=2.0.0.16708, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format. Forgive me for be...

Visual Studio 2008 Designer hangs for about 22 seconds

Visual Studio 2008 just recently started hanging up when I first go into a form in the designer. It hangs for about 22 seconds and then lets me continue. It just started doing this on my pc for a couple weeks now all of a sudden. I do use I disabled all add-ins and macros using the Visual Studio Options. Any ideas what could be causin...

Visual studio NUnit integration

Hi, For some project templates (ASP.NET MVC, WPF MVVM app...), Visual Studio 2008 prompts the user if he wants to create a test project : However, in the list of test frameworks, only "Visual Studio Unit Test" is available. I'd like to be able to choose NUnit instead... Is this possible, and how ? I installed TestDriven.NET, but it ...

Certificate problem - Error Importing Key "object already exists" after Windows 7 upgrade

I have about 60 .pfx files for all major assemblies for a project. They are unique files, but I use the same password for all. After an upgrade from Windows Vista to Windows 7 I get an Import Key File dialog requesting the password for them when I click Build in Visual Studio 2008. This would have been fine, but after inserting the pas...

Can we Move the vsmdi file

When a test project is created two other files are also created. Suppose My Project Name is TestProject1: Folder: TestProject1, LocalTestRun.testrunconfig, TestProject1.sln, TestProject1.suo, TestProject1.vsmdi And one more folder named: TestResults My requirement is i have many project and folders in solution and wanted to move th...

Can Visual Studio 2008 provide any of the functionality that Query Analyzer and Enterprise Manager provide?

I'm currently using MSSQL Server 2000 and to design tables, create and alter stored procedures as well as manage users and permissions I'm using Query Analyzer and Enterprise Manager. I also spend an awful lot of time in Visual Studio 2008 and rather jump out to other applications I was wondering if Visual Studio could help me do at leas...

Why are my LINQ INSERTS not persisting in SQL Server CE 3.5?

I am using LINQ to SQL with Sql Server Compact Edition 3.5 and VS2008. I have a very simple table (Tokens) with a uniqueidentifier primary key (TokenID) and two other nullable fields (UsedBy and UsedOn). I am trying to use LINQ to insert new rows into the table but for some reason they are not persisting. Here is my code: var ...

System.TypeLoadException with multiple projects in solution

I have created a VS2008 solution with 3 projects in it (Class Library, Windows Application, and Web Application). I am using objects that I define in the Class Library in both the Windows application and the web application. This works great for the Windows application, but when I go to create an object in the code behind of a web page...

Generating Comment Header in Visual Studio

Is there a snippet or add-on to generate the comment header for methods and classes in Visual Studio 2008. Currently i just type /// to generate the header. Is there an add-on to run a code through and add the comment header for methods, members and classes that doesn't have one? ...

Not able to attach windows Service process

Hello I have a very simple windows Service that is developed in vb.net 2008. When I try to debug it by going to tools-> Attach to process though I see my service it is disabled and Type of Managed and I cannot select the process. How do I debug my service? Thanks ...

MVC 1.0 installation problem.

Hi, I have Visual Studio 2008 Team System with Framework 3.5 and SP1. I downloaded MVC framework 1.0 from the following location http://www.microsoft.com/downloads/details.aspx?FamilyID=53289097-73ce-43bf-b6a6-35e00103cb4b&displaylang=en and installed it. But after installation there was no MVC project template added to Create new W...

How do I put a breakpoint at every MessageBox in my application?

How do I put a breakpoint at every MessageBox in my application? ...

What's the purpose of Create GUID tool in Visual Studio?

Visual Studio has a Create GUID tool (Tools > Create GUID). What is it for? Can you remember what was the last time you used it? I just can't imagine why i should copy into the clipboard a new GUID with that tool. ...

Unistalling ReSharper 4.5 took away right-click code editor context menu for VS 2008!

Environment Context Windows 7 (hosted in Virtual Box 3.0.4) Visual Studio 2008 Resharper 4.5 Issue After uninstalling Resharper 4.5 from VS2008 the "normal" code editor context-menu (mouse right click) doesn't work, the way to let it work just one time is to let it appear by click the keyboard key (near the altgr key) and the click...

Visual Studio 2008 local debugging permission problems

local debugging on a machine, ive set access to network service and everyone to full permission but every time im getting Access to the path 'C:\Users\\Documents\Visual Studio 2008\WebSites\Directory\pictures' is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the sta...

Retaining Alpha channel on buttons in Outlook Toolbar

I am developing a COM Add-in using VB.NET in Visual Studio 2008 Pro for Outlook 2003 and am having trouble assigning images to custom toolbar buttons. In a nutshell, I am having to convert from an Icon type to a stdole.IPictureDisp type so that I can assign my buttons a picture. The picture displays, but it loses the Alpha channel and ...

sql 2008 Installation problem

Does vista supports sql 2008 ..... ...

Visual Studio 2008 Installation Doesn't Work!

I'm trying to install Visual Studio 2008 from an ISO disc image on Windows Vista. When I try to install it, a screen goes up and hides so fast, and nothing happens. I tried to run the setup as administrator, but that makes no difference. ...

Windows class name is not valid error - VS 2008/C#

I created a form application with 1 button and 1 text box to see if i could recreate this error and i did. Upon compiling and trying to run with F5 i keep getting this error at System.Windows.Forms.NativeWindow.WindowClass.RegisterClass() at System.Windows.Forms.NativeWindow.WindowClass.Create(String className, Int32 classStyle)...

Can you link your C++ project's dependencies using their .objs (and make a single dll)?

Hello, I have a C++/CLI project in VS 2008 that has a direct dependency on a native C++ library that, in turn, has four additional native C and C++ library dependencies; some of these dependent projects rely on each other as well. I have source code for all of the libraries and can build them all successfully as separate libraries, but ...