For some reason when I create a new namespace in Visual Studio 2008 its not being recognized. I'm using asp.net mvc, I don't know if that has anything to do with it.
Has anyone come across this before?...and how do you fix it?
Also is there a way to force Visual Studio to maybe re-examine new namespaces?
Answer:
I figured out the prob...
Is there a way to have Visual Studio 2008 automatically add heading information to files? For example, "Copyright 2008" or something along those lines. I've been digging through the options, but nothing seems to be jumping out at me.
...
Hi all,
I've developed a Visual C#.NET 2008 Express Edition solution containing three projects. I am cleaning it up to commit it into a CVS repository.
There are several files that are created during the build process that are not necessary to be placed in the repository since they will be regenerated automatically.
The question: Can ...
I miss it so much (used it a lot in C#). can you do it in C++?
...
I've got a really odd error message that only occurs when I add the following line to my project:
std::list<CRect> myVar;
It's worth noting that it doesn't have to be a std::list, it can be std::vector or any other STL container I assume.
Here is the error message:
Error 1 error LNK2005: "public:
__thiscall std::list
...
Is it possible to run a macro in Visual Studio 2008 the moment a solution is closed? I would like to delete the .suo-files of that solution, so that the current user settings are not presented to me the next time I open the solution.
...
Is there a way to identify unused attributes/methods in Visual C++ 2008 Professional? If it's not possible by default, recommendations of 3rd-party tools are also much appreciated.
Thanks,
Florian
Edit: nDepend only works for .NET assemblies. I'm looking for something that can be used with native C++ applications.
...
What is the keyboard shortcut to expand the little red line that gives you the menu where you can choose to have the necessary Using statement added to the top of the file?
My Googling skills have not proved fruitful.
...
In an aspx C#.NET page (I am running framework v3.5), I need to know where the user came from since they cannot view pages without logging in. If I have page 'A' (the page the user wants to view) redirect to page 'B' (the login page), the Request.UrlReferrer object is null.
Background: If a user isn't logged in, I redirect to the Log...
I'm getting warnings about CSS3.0 properties like text-overflow. Is there a way to validate against 3.0?
...
Does anybody have a short code sample that can be run in the VS macro editor on how to enumerate the tool windows in VS 2008 and show the GUID for each one?
Or do you know another way to find this out?
...
It seems that many of the developers on SO are really satisfied with Visual Studio 08. This make me curious, what features separate VS08 from the other IDEs that you have used? Are there features within VS that can't be found elsewhere? Is it ease-of-use? Speed of development? Anything else?
...
The Project's Web section (under project properties in VS2008) has a list of debuggers: ASP.NET, Native Code, SQL Server. What is Native Code?
...
Hi there, I hope someone can help me with my problem.
I want to use remote debugging. The Program, that I want to debug runs on machine b. Visual Studio runs on machine a.
On machine b I have a folder with the following files
msvcr72.dll
msvsmon.exe
NatDbgDE.dll
NatDbgDEUI.dll
NatDbgEE.dll
NatDbgEEUI.dll
If you think, there are file...
After developing a WPF application without Source Control, I decided to add the solution to TFS.
After doing so whenever I opened the main window.xaml file in Design View Visual Studio would disappear and the following event would be logged in the Application Event log:
.NET Runtime version 2.0.50727.3053 - Fatal Execution Engine Er...
I'm working in .Net 3.5sp1 in C# for an ASP.Net solution and I'm wondering if there's any way to turn on the Class Name and Method Name drop-downs in the text editor that VB.Net has at the top. It's one of the few things from VB that I actually miss.
Edit: Also, is there any way to get the drop downs to be populated with the possible ev...
I can't shake this error when compiling my Visual Studio.NET 2008 solution. The project that's generating the error is a VB.NET Web Application in a 12 project solution (mixed types and languages).
I've tried all the tricks I can find on google, and the obvious of removing the directoy and folder manually.
I'm running Vista Business 3...
Is there a command-line approach for having VS 2008 remove TFS source control bindings from a solution file and the constituent project files? I need something that I can run from a batch file so that I don't have to open the solution and click the 2 prompts to permanently remove the bindings.
Edit: After deleting the *.vspscc and *.vs...
I would like to create a Crystal Reports report using pre-existing LINQ classes that live in a different project than where the report lives. I can't find a way to do this. I'm using VS2008.
Whenever I expand the "Project Data" tree, I see only classes in my current project. The "History" tree shows me the last 5 class in the OTHER p...
How can I tell if SP1 has been installed on VS2008? e.g. If I'm working on a co-worker's machine - how can I tell if he/she has installed SP1 for VS2008?
...