Commenting in Visual Studio 2008
I'm trying to comment/uncomment a block of code using the shortcut "Ctrl+C" and "Ctrl+K", but it's not working. Nothing happens. Anyone know why? ...
I'm trying to comment/uncomment a block of code using the shortcut "Ctrl+C" and "Ctrl+K", but it's not working. Nothing happens. Anyone know why? ...
In VS2008 just before a method if you add “///” it automatically adds the summary block… Do you know if it is possible to modify the default to this? /// <summary> /// Author : Failboy /// </summary> I would like it to have my in by default – without having to add it every time ...
I am looking after a huge old C program and converting it to C++ (which I'm new to). There are a great many complicated preprocessor hacks going on connected to the fact that the program must run on many different platforms in many different configurations. In one file (call it file1.c) I am calling functionA() and in another file (call ...
My linker is reporting an error as follows: unresolved external symbol "unsigned char __fastcall BD_CLC(int,int)"... But I maintain that all references to this function, as well as the definition of the function are of the form: __forceinline UBYTE BD_CLC(int swap,int elem); I even did a compilation with "Generate preprocessed file...
I have a project stored in TFS Source Control (2008) that is being worked on by 2 developers. All 3 versions (Developer1, Developer2 and Server) are up to date with each other. However, both Developers report that some files in Solution Explorer say 'Checked out by someone else or in another place' - but the same files viewed in Source C...
I created a trivially simple empty project and chose "File | Export Template". All this works and I can now add a project of that type if I restart VS. What I want to be able to do is customise the tree node that my custom project templates appear under in the New Project dialog. For instance, at the moment they appear directly under 'Vi...
I have successfully created (and manually edited) an Item Template that will add a number of files in one 'shot'. I want these files to all be created under a folder that should be created at the same time. In Project Template .vstemplate files I can specify a Folder element, but the schema does not allow one in the Item Template. Any ...
From time to time I run into this problem with Visual studio 2008 (and 2005). An add-in is installed (3rd party or custom). The path to these add-ins is in the visual studio settings. When I start visual studio and load a project the add-ins are not installed and do not show-up in the list provided by the add-in manager. I noticed thi...
Can I use the Copy Web Site tool in Visual Studio 2008 to deploy MVC application to my hosting server? However, the Web Site menu doesn't even show up in Visual Studio with MVC project opened. What's the best practice to deploy MVC application? Thanks. ...
ok.. i have a start page with textboxes i am sending the values entered in the textbox to another page using Cache on click of a next button. Now i have a problem that when the user goes to the next page ad decides to go back again he should be able to do so and the values he entered in the textboxes should still be present. is there a...
i use win7 + VS2008 PRO to edit my blog (php) and i can't seem to get this work. i tried installing the patch (inteli hot fix) but it says no need to install (i have pro sp1) this is the folder structure: js common.js jquery-1.3.2-vsdoc.js jquery-1.3.2.js i working on a blog (not asp or html) so i created a common.js file th...
Hi What the hell could be causing this.... I'm developing my C# 3.5 ASP.NET MVC web app, same as I do all day every day. Not doing anything clever, just standard methods on classes calling other methods... I build my project, fire up a url in Chrome, and get the response I expect. I attach the debugger to w3wp.exe, set a breakpoint an...
Can anyone point me to tutorials on how to use WSPBuilder to host a user control in a MOSS webpart? ...
Out of nowhere the "Publish Web Site" option in Visual Studio isn't doing anything for a particular project. It still compiles the site (no errors), but it never copies the output to the destination directory. I've tried changing the destination to a number of locations, and it creates the new folder, but never copies the output. I tried...
Hi I am using Visual Studios 2008 Express so I am wondering if there is a 3rd party standalone app that I can use to make my C# snippets fast and easy(gui interface) and then somehow upload it into my VS2008. I am not sure what snippets are held in but I want to keep backups of them. I am not sure if Visual Studios has an import snippe...
I have the following definition at the top of my .ASCX file: <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ArticleView.aspx.cs" Inherits="MyNameSpace.ArticleView" %> In that control I make use of <%= %> blocks to refer to members that I've declared in the code-behind file. If I compile and deploy the control, it works ...
Is there a way or a tool i can use to make WPF animations and controls without using Expression Blend...maybe just using Visual Studio 2008 or something??? ...
Hi, I am having some troubles opening solutions in VS2008 which are under source control by TFS. opening solutions outside of source control works fine opening single projects is OK others can open these solutions VS crashes without any notice, the logfile ends without any closing tags etc. Anyone ran across this problem before me? ...
We use Visual Studio 2008 and MSTest. We have a batch file that the developers use to get latest version, build solution, run database scripts and run all tests. The problem is that we have many test projects. So at the end the developer must open each trx file to check if anything failed. Is there a way to write all test results to a...
I encounter a noticable difference in the speed when building the same solution one time with Devenv and the other time with msbuild /m. This is my usage graph for Devenv (Visual Studio) This is the graph for msbuild /m As an information I have set the parameter "number of parallel build processes" in Visual studio to 4. Is there a...