How do I prevent the name of the Solution Folder in a VS project from being appended to the namespace generated for new items added to the solution folder?
Example: C# project in a VS solution
Default Namespace set in C# project properties: "BigClient.Domain"
If you create a solution folder in this project called "MySpecialStuff" and t...
Normally, when I use Visual Studio to do a build, I see warnings and errors shown in the output pane, e.g.
1>------ Build started: Project: pdcuda, Configuration: Release x64 ------
Compiling...
foo.cpp
Linking...
foo.obj : error LNK2001: unresolved external symbol "foo"
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped =...
I was debugging some code in Visual Studio 2005, when I noticed that the IDE was not hitting breakpoints in a particular generic class. I could manually step into the class, but the tool-tips shown when hovering over references contained nothing but memory addresses instead of the normal friendly tool-tips.
It turns out that the proble...
I need to make changes to files locked by another user who is not accessible any more. How can I unlock the files without having to log in using their account in Visual Studio 2008 TFS?
...
I've got a really weird problem and i'm wondering if it's a visual's bug or if i'm doing something wrong. Here's a simple code of an overriden Panel class:
public class MyPanel : Panel
{
private TableLayoutPanel table = new TableLayoutPanel();
public MyPanel()
{
this.Controls.Add(table);
...
I use VWD 2008 Express on Windows 7 beta. When I add Subsonic 3 templates to my MVC RC project, Web Developer Express doesn't generate classes based on them. Connection string is correct. Do you have any ideas?
...
Programmer using IDE more than else and mean to him a lot. But some time we need to customize it and change preference.
What is superior customization and changes you do it in visual studio IDE and other IDE?
...
In Eclipse I can create a class with stub methods auto-generated for an interface. Surely this works in Visual Studio somehow, but for the life of me, I can't figure out how...
Any thoughts?
...
I've just ported a Web service from Delphi.NET 2006 to Delphi Prism 2009 (running in the Visual Studio 2008 IDE). But I can't find where I'm supposed to set (or unset) the conditional compilation constants!
Am I blind, has this option been left out, or is it just not supported in VS?
[edit: thanks to Mohammed Nasman for the link] MSDN...
As a long-time Visual SourceSafe user (& hater) I was discussing switching to SVN with a colleague; he suggested using Git instead, since apparently it can be used peer-to-peer without a central server (we just have a 3-developer team). I haven't been able to find anything about tools that integrate Git with Visual Studio, though - does ...
i have a debug and a release version of an assembly dll.
They are sitting is directories on my computer. For other developers they are sitting in directories on their computer.
For the debug version of the application i want to use the debug assembly. For the release version of the application i want to use the release assembly.
That'...
If you have a web app merge module and an exe merge module included in the same setup-deployment project, the Context.Parameters["AssemblyPath"] value inside the custom action for each merge module gets messed up. Try creating a setup-deployment project that has a web project and an app project like this:
Create a Web project
Create a ...
I want to load a column in excel into a selectable dropdown menu using c#. I have access to the file, and can load the file in C#, but am not sure how to implement what I want. Suggestions? (I'm using Visual Studio 2008)
...
Ok! I'm ready to embark on some .NET development for the first time.
I've recently installed Microsoft Visual Studio which included Microsoft SQL Sever 2005.
What is the prefered method for programming against a development database? I want to write an ASP.NET application that uses a database and I'm not sure how to create one. In...
Is there any way to write a Visual Studio Project file easy or do i have to look at the xml format and write it by hand?
Is there any lib for this in .net framework(3.5)?
Im using vb.net but c# would also work..
...
I have a simple SQL script that I execute manually from Visual Studio. It is a data generation script so I expect it to take a couple of minutes to run. But I get the following error.
Timeout expired. The timeout period
elapsed prior to completion of the
operation or the server is not
responding.
I don wan't to change any gl...
Hi,
I have a 'suite' of VS2005 unit tests that attach a db as part of the initialization. Tests modify the db fairly substantially so need to revert it to a known state before each test run.
I deploy the test db to the 'out' folder of each TestResult and attach it in the MyClassInitialize method.
DB is fairly large so this uses up lo...
Why does Visual Studio by default create a private static method when refactoring code and selecting extract method?
If I'm refactoring a non-static class and the method is only visible within the class why is it static?
Is there some performance benefit by calling a private static method within a non-static class compared to a non-sta...
Does anybody here know any free IntelliSense tool available for C++ which is atleast 50% of the features of Visual Assist X (Which of course is not free)? Basically I want my intellisense to work without loading my full workspace/solution? I had seen Visual Assist and it provides this feature.
...
I have a basic database schema as follows (dumbed down so it's easy to read):
[Staff]
StaffId (pk)
FirstName
LastName
[RosterEvent]
EventId (pk)
StartDate
EndDate
[StaffEvents]
StaffId (pk)
EventId (pk)
Ok so, many Staff can have many RosterEvents, which is why I added the StaffEvents table. It resolves the many-to-many relationship...