(This question was lurking as an answer here)
What are the advantages of having projects in the same solution if you use file references?
In answers to this question about structuring large applications, several people mentioned having a 'monster' solution for the automated build (at least), and then developers each building their own ...
Does anyone know of a way I can run a powershell within Visual Studio.
By that I mean, have an interactive powershell prompt in a tool window?
Kindness,
Dan
...
Where to Add a folder in .net solution so that while building the project folder should be created?
...
<appSettings>
<add key="SqlConnectionString"
value="Data Source=.\SQLExpress;Persist Security Info=True;Integrated Security=SSPI;
Initial Catalog=INFT3009_ASS1_C3104855.mdf;
Trusted_Connection=Yes"/>
</appSettings>
I am using the above connection string in my web.config.
I attached the .mdf file to my database...
Can we execute a .bat file in post build event command line in visual studio?
...
I upgraded to Visual Studio 2008 and for some reason when I create new class files, it loads a completely blank file as opposed to giving me the basic using code and the list of the class name (being the file name).
So if I create a new code file called Order.cs, it is no longer put in by default:
using system;
public class Order
{
}
...
Here's an interesting problem that really has me scratching my head. I have a project that's being built in TeamCity. It's been working fine until a developer added a resource file to one of the projects with some strings for another locale. He's added the .resx file under the Properties folder next to the default one. Here's the error m...
The "Events", "Messages" and "Overrides" tabs in the Properties Window can be used to add new methods to a class as well as to remove them. However, when you select to "Delete" a method, it comments the method code instead of deleting it.
I know this is for safety issues, but I almost never need the commented code and end up having to d...
In VS 2008, is there a way to set the intermediate directory (where the .obj files go, not the final targets) in a C# project?
...
In VS2008 (Tools -> Options, Text Editor, HTML, Format, Tag Specific Options) you can control the automatic formatting of most tags.
However, I'd like to have VS automatically format my @p Page directive so that instead of:
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Foo.aspx.vb" Inherits="WebRoot.Foo"
MasterPageFile=...
Hi everyone,
I'm trying to display the information from a custom matrix class in Visual Studio 2008's debugger by enhancing/modifying the file autoexp.dat. The custom class goes as follow :
LVSN::Matrix<T> {
... functions ...
struct base_mat
{
T **Val;
size_t Row, Col, RowSiz, ColSiz;
int Refcnt;
T Err;
...
Using VS 2008, SQL Server 2008 and WPF 3.5, I've made some changes to my schema and updated the model. It compiles and runs fine, until the client app calls for a specific entity and I get the following (actual names replaced):
The data reader is incompatible with the specified '<Model>.<ViewBasedEntity>'. A member of the type, '<Prope...
I have a solution with over 100 projects. It takes a long time to build, and sometimes Visual Studio crashes during the build. How can I deal with this issue and minimize the pain? Have we gone horribly, horribly wrong somewhere?
Some background on the problem:
We are using CAB with WPF, and each module has a ui assembly and a "serv...
I am taking some work home with me these days and I transport it on a USB key because my work is on a private intranet.
I am using Visual Studio 2008 and I find that the performance of builds is degraded by working off the the key. My initial thought to improve performance is to use Robocopy to mirror the directory locally and then whe...
Good afternoon, Everyone.
Do you have any recommendations for materials (videos, books, tutorials) that would help me get started with load testing web apps? I have VS2008 Team System and will need to use the tools available in there. No third party stuff or online load testing tools.
Thanks,
Scott
...
I am using Visual Studio 2008 SP1. My project is in C#. When I add a test project, it's in VB. I can't find a way to create one in C#.
...
Guys,
I know I am overlooking something really simple here.
I am using Visual Studio 2008 and created an ASP.NET 3.5 project and solution. I added another project to my solution, a class library. I added a reference to my class library. Now when I click on the properties of my class library, the Default Namespace is set to "HRCommon",...
Using Visual Studio 2008 SP1 and a VB.NET project; I have some code which i cannot step into. The Immediate Window shows the message
"Stepping over method without symbols 'Some.Namespace.Here'"
How can i make sure the method always has symbols?! I need to step into every line of code. I am pressing F8 (which is "Step Into" in VS2008, f...
I have added a new Filter class to the ASP.NET MVC Filter folder/namespace. There was one previously there as well which Visual Studio is allowing me to find through Filter.blahblahblah, however the new one won't get referenced at all... I don't understand. Do I need to do anything else to get it to find the new filter?
using System;
us...
I'm writing a VS2008 add-in (using DTE) that needs to be notified after the current solution has finished loading.
I've tried using the following code:
events = (Events2) applicationObject.Events
events.SolutionEvents.Opened += DoSomeWorkEvent;
Unfortunately it seems that since VS2005 the event is thrown when the solution starts to l...