visual-studio-2008

CMD Full Screen Visual Studio

I accidently made a command shell full screen, I managed to get it back to its original state but now when I run visual studio my screen flashes black, I assume this is the full screen command shell kickign in. Can anyone help please? If one more colleague asks do I have a virus I am going to headbut the desk. Thanks, B ...

How do I turn off Visual Studio's formatting options?

So I have this annoying issue with Visual Studio (when working with C#), I've been digging around in the C# formatting options, general VS options and on google and MSDN but can't really find a fix for this - I'm assuming there's just a checkbox somewhere and I've just overlooked it. Here it is: I like to format my code like this: Type...

Deploy doesn't copy app_data's subfolders

My web project has an app_data folder with subfolders. When I deploy my project from visual studio2008 (r-click, deploy, include app_data ticked) it only copies files from the app_data root, not it's subdirs. Is there a way to fix this? ...

Running builds using .net 3.5 MSBuild and NantContrib

I noticed that projects that were originally created in VS 2008 do not compile using the nantcontrib msbuild task. There is a solution that I've seen here but it seems like a bit of a hack, considering 'MSBuildBinPath' has been depricated, and I don't exactly like the idea of changing this property on every single project file that I cre...

Local IIS hangs after VS.NET build

I have an ASP.NET web application that occasionally hangs after I build it. It is intermittent and there is no pattern to this. When I try to access it afterwards, IE just waits for IIS to respond, which it doesn't do, unless I restart IIS. This is on my local machine, running Vista Ultimate x64, VS 2008, 1 web application, 8 addition...

javascript:history.back() triggers postback on machine, but not when precompiled

Hi, On my machine when I test my webapplication (wether in debug or normal) after a javascript:history.back() triggers a postback in my app. On the other hand it does not occur when i precompile the application. Lastly, when I test the same pages on someones elses machine, the postback does not occur at all. I'm using vs2008, asp.net 2...

Is there a plugin that integrates to CPPUnit with VS2008 or Eclipse CDT?

We have some projects that have CPPUnit tests that are build and run using an ant script to build them all (right now we're using Borland C++, but we're moving to VS2008). The problem is that the interface to run and see the result of tests is unpleasant (command prompt). It would be awesome to have them run inside eclipse or VS2008. I...

Localizable User Controls

If I have a form that is localized and has User Controls that are localized, how I can I view the form and the controls in the language specified in the VS Properties? Right now when I change the language, all my controls that are not part a user control adjust appropriately, but my user controls do not. ...

"Visual studio 2008 SP1" ADO.NET Entity Data Model template not found

Hi! I have installed Visual Studio Team System 2008 Architecture version: 9.0.30729.1 SP and Microsoft Net Framework 3.5 SP1. When I'm going to add a new item I can't find ADO.NET Entity Data Model template. What's happening? Thanks! ...

Register VS2008 Professional on Windows 7

I received from Microsoft a free copy of VS2008 Professional, which is cool. But when I went to install on Windows 7 Beta, it installs fine, but is marked as being "unregistered". I have my license key, but cannot get to where I can enter the key. The deal was I had to DL the trial version and then do an upgrade. I was able to do thi...

VS 2008 and Team Explorer- checked out files

how to search for files checked out by other users in vs 2008 Team Explorer. I can search for all the files checked out in a project in Visual Source Safe by doing a search, Is there a similar functionality implemented in team explorer? Right now I have to click on every folder and see if files from that folder are checked out by any one...

Remove Silverlight Documentation from Visual Studio Help

How do I filter out the Silverlight documentation when I'm developing WPF application in VS2008? It's very annoying to get the help for the Silverlight version of the class when I press F1. I'd prefer not to remove the documentation for Silverlight altogether since I will need it in the future, but some way to choose between WPF and Sil...

Advantage of porting vc6 to vc2005/vc2008?

I was asking my team to port our vc6 application to vc2005, they are ready to allot sometime to do the same.Now they need to know what is the advantage of porting. I don't thing they really understand what does it mean to adhere to standard compliance. Help me list out the advantage to do the porting. Problem I am facing are 1)No deb...

Can windows installer default a program to use XP compatibility mode?

Hello, A client is having problems with an application we wrote but only when he runs it in Vista. It works fine however if he runs it in XP compatibility mode. While we get to the bottom of the Vista issue, is it possible to update our installer (Visual Studio 2008 windows forms installer for an app using .net 2.0) so that the installe...

HTML coding in VS2008 - good idea?

So far, I've been using Macromedia HomeSite 5 for coding web pages with clean HTML. Now I started to work with Visual Studio 2008 and I want to ask: is it a good idea to throw away Homesite and start using VS for coding HTML pages? I don't use any visual designers, I'm just coding all HTML manually. EDIT: thanks for all replies. Are th...

Space Fill Addin / Macro for VS2008

I am looking for a way to fill in the blanks when naming test functions. I have seen this demo'd at a few Test Driven Presentations. Can some point me to an addin or let me know how i can create such macro in Visual Studio 2008 [TestMethod] void test login page with failed user(){...} to [TestMethod] void test_login_page_with_failed_...

"Failed to enable constraints" Error keeps cropping up (seemingly randomly) in my ASP.Net project

Hi, I have a weird problem where the "Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints." error sometimes pops up when I am trying to build my project. The line in question throwing the error was auto-generated code in the designer file for the dataset. To find out the ...

What is the default folder that Microsoft Visual Basic builds in?

I am totally new to Microsoft Visual Basic 2008 and the programming language itself. My problem is that I was following a tutorial on how to make a browser. The browser works in debug mode, and I clicked build under build at the top. At the bottom it says build succeeded, but I have no idea where the program was actually saved to. I ...

How to create custom clean (post-clean) event in Visual Studio 2008?

In our build process, for each project we use Post Build events to copy our executable files into a separate deployment directory. That works just peachy, but the problem is that we run into problems with stale files after performing a Clean Solution/Clean Project. I'd like to set up a "Clean" event that deletes the copied file and Vis...

Is there a clean approach to justify text in Reporting Service?

I'm creating a Report using SQL Reporting Services and I need to justify the text inside a textbox. By justify a mean aligning the text to both margin, left AND right. Just like justifying text in MS Word. I've been browsing a lot and found only a few smelly solutions. Is there a clean way to do this? Thanks, Pedro ...