visual-studio-2008

Visual Studio gone bonkers: 'The directory name is invalid' error when trying to compile

For some very odd reason, my Visual Studio 2008, when trying to compile a C# project, tries to write the output of the executable to a directory with the same name as an executable, at least it seems that that's what the error message implies. After running Compile on any of my projects, CSC.EXE reports the following compiler error: ...

Automatically Reloading a Referenced COM Interop Assembly when it is Rebuilt

I have a Visual Studio 2008 solution that has the following projects: a C++/ATL COM library a C# library that uses the COM library a C# unit test library (using MSTest) that references the other two libraries The C++ COM library project has a Custom Build Step that builds a .NET interop library, which looks like this: tlbimp /asmver...

VS 2008 professional "close all documents" very slow

VS 2008 pro closes its editor windows very slowly on my machine. A similar installation on a similar machine is significantly faster. I have tried several tricks I found with Google to remedy this, but to no avail. Hardware: Core i7 920 @ 3.6 GHz, 6 GB RAM 1800 MHz, 1 TB Samsung Spinpoint HD OS: Windows 7 Ultimate 64 bits Here's the ...

msvcp90d.dll is missing msvcr90d.dll

I had a DLL project on one machine, and copied it to another with freshly installed VS2008. The project builds, but I cannot debug it. Dependecy Walker shows that my DLL sees msvcr90d.dll, but msvcp90d.dll does not see the same DLL. But if I open msvcp90d.dll in separate window then msvcr90d.dll is visible to msvcp90d.dll. This is obviou...

How do I set GNU G++ compiler in Visual studio 2008

How do I set my Visual studio 2008 compiler to GNU GCC. Can I also make it specific to projects? I didn't find any conclusive answer. Thank you. ...

Populating PictureBoxes with webimages via SQL fields.

I have a potential of up to 4 images per database row/entry and I am querying on Gridview_currentRowChanged. The issue was how to clear the picturebox(s) before loading the next row. private void radGridView1_CurrentRowChanged(object sender, Telerik.WinControls.UI.CurrentRowChangedEventArgs e) { panelImages.Contro...

How can you debug across projects in VB.Net if one launches the other?

I have a VS 2008 Solution in VB.Net that has 2 projects - a Launcher and the App. The Launcher is what runs first, checks to make sure the App has all the latest files from the network, etc. and then launches the App. The Launcher allows the user to select their environment (Test, Production) then passes those values into the App.exe a...

Can't find whitespace display setting in VS 2010

I am looking for a setting in Visual Studio 2010 (It was in 08 I'm sure it's in 10) Basically it makes it easy to see the indentation/spacing of code because in the white space it buts spaced fullstops (which are obviously a different color) and it makes it really easy to see the indentation of your code. But I can't find the setting n...

Visual Studio 2008 Development Server uses C# 2.0 compiler

I have a test website with VS 2008 that just uses code behind files, such as Foo.aspx.cs. Thus, the web server compiles them on the fly. The problem I'm running into is I can't use any C# 3.0 features. If I do: var x = 1; or public class Foo { public int x {get;set;} } or Foo x = new Foo() {x = 5}; Then VS will work fine (ever...

FTP sites in visual studio

It just sucks. I just dont get it sometimes. While I am editing my files on the bottom it says: downloading image.gif... Why??? I am working on file.aspx. I dont need image.gif!!! Or downloading web.config like 10 times. Whats wrong with this thing. Download the config once! and the same thing goes for all code files. And dont do...

whether visual studio 2008 extensions available for sharepoint 2010?

In visual studio 2008 is have any plugines or extensions (executable file) for the sharepoint 2010 ...

Can I create a .NET 4.0 application in Visual Stduio 2008 ?

I have a visual studio 2008. I have downloaded and installed a .NET 4.0 package. But I still can't create a .net 4.0 applications. VS 2008 shows it can only create 2.0, 3.0, 3.5 applications. ...

Easiest way to change namespace of VS2008 solution?

Hi, Does anyone know a quick and foolproof way of changing the namespace of a VS2008 solution/projects? In other words - I have a solution, and want to copy this as a template for a different application, but need different namespace obviously. Thanks ...

msi Installer to run twice

I have an program that gets installed via an msi. The msi was built using a VS2008 deployment project and has a custom action to run the program once the install is complete. Once the msi has been run, I can simply update the version number, generate a new product code and the msi can be run again on the same PC. However, what I wan...

how to download free window sdk for window 7 and plateform sdk

I have run a program in vc++ and window 7 platform our system has visual studio 2008. Where can I download the window sdk for visual studio 2008 and window 7 platform? Please can I have a link? ...

Visual Studio 2008 debugger keeps detaching

Hello i'm trying to debug some code i.e. trying to get the values of some parameters public SqlDataReader GetAllCompaniesByType(int type) { SqlParameter[] sqlp = new SqlParameter[2]; sqlp[0] = new SqlParameter("@CompanyTypeID", type); sqlp[1] = new SqlParameter("@AreaID", DBNull.Value); try ...

Resharper "Debug Current Session" option or Keyboard Shortcut mapping

Is there any "Debug Current Session" option within Resharper that works the same as "Run Current Session" or "Debug Selected Tests". I want to create a keyboard shortcut that will debug the current Unit Test Session (or selected tests) regardless of what file currently has focus. ...

Running webtests without Microsoft Visual Studio Testing edition/Team Suite

Is there any way I can run Microsoft webtest not having Microsoft Visual Studio Testing edition/Team Suite? Any third-party tool or a way to run it through command line? I have MS VS Professional Edition 2008 installed. Thanks! ...

Visual Studio messed up my .partitions File in a SSAS Project, how to fix ?

Suddenly I can't process a SSAS project anymore. The error I get is 'x.partitions' is not valid and cannot be opened. Check the 'x.partitions' file Last thing I remember was a checkin of the project into TFS. A good idea to fix this would be very much appreciated. The Cube that is causing the problem is a cube with 2 linked cubes in i...

In sql server - report server URL acces denied error

when trying to open report server url http://<>/Report server i am getting error / does not have enough permissions rsAcessdenied error. how to add domain account in reporting services to get all the privileges so that i can open the report server URL. ...