I am using StructureMap with VS 2005. I want to inject a class like this:
public class MyClass : IMyInf {
public MyClass(int id) {...}
....
}
I tried several methods such as:
ForRequestedType<IMyInf>>().TheDefault.Is.
OfConcreteType<MyClass>().WithProperty("id").Equals(2)
I got compiling error with .Net 3.5 Linq required. Is ...
I can't merge rows in ms datareprt,vs2005? Please tell me how this is done.
Thank you.
Dejene
...
I'm working on a project that requires Visual Studio 2005 and I've been trying to find a legitimate download site for Visual Studio 2005 Express, but it seems like Microsoft only wants people to download the 2008 version instead.
Anyone knows why it's like this and if there is some link somewhere where Visual Studio 2005 Express is avai...
Using Visual Studio .NET 2008 or 2005, is there a way to automatically generate properties for each column in an SQL Server database table?
I am assuming other code-generation software exists that will do this. I know with Visio I can connect to my database and it will generate diagrams by table, this would be similar to that.
...
Hello,
I'm looking for a way to completely disable the copy/paste functionality in Visual Studio (2005 if it matters). The reason behind this request is that I want to prevent myself from doing too much copy/paste while coding.
Thanks to all for your answers!
...
I have a VS 2005/MSBuild 2.0 project (let's call it "Project A") that I must keep in VS 2005 (it uses a third-party VS 2005 Designer.) Project A is referenced by one of the projects in my new VS 2008 solution (we'll call them "Project C" and "Solution B" respectively.) Ideally, I'd like to chain the building of Project A into the build...
Hello Everyone,
I am looking for an open source ASP.NET 2.0 control along with code for my website. I found one at www.i386.com/Products/Newsletter.aspx but unfortunately it doesn't open in VS2005 or may be isn't compatible with ASP.NET 2.0 though it is claimed to be compatible with ASP.NET 2.0 on website.
I want my customers to be abl...
My envirorment is Visual Studio 2005. My specifically problemis I want to define TRACE.
I have a Web Site Project that send trace messages when run out of the ASP.NET Development Server thanks to defining it in the system.codedom element of the web.config.
When I deploy to IIS, I do so via a web deployment project. So the site is prec...
I want to understand if code snippets are what I am looking for here.
I wind up writing the same line of code over and over during a refactoring.
Is there anyway I can create a shortcut that will spit out a line of code that I need?
...
I'm working on a cross platform project that uses STL. The other compiler includes STL support by default, but in VS2005 I need to add the following before the class definitions that use STL items:
#include <cstdlib>
using namespace std;
Is there a VS2005 option that would set this automatically? It's just a bit tedious to work around...
If I'm writing a class library, and at some point in that library I have code to catch an exception and deal with it, then I don't want anyone using my library to know that it even happened - it should be invisible from the outside world.
However, if they have "Catch Thrown Exceptions" turned on in Visual Studio (as opposed to "Catch Us...
I am writing a plug for Visual Studio 2005/2008. I want gain access the controls in the following picture:
How do it ?
...
Hi,
I'm using the report viewer control included in Visual Studio 2005 and something odd is happening; when I set the margins on the report and I run the application the report viewer adds a page break after each content page, so if I have 2 content pages I end up having 4 pages of which 2 of them are blank pages.
If I set the margins ...
Is there a way to tell Visual Studio 2005 to just ignore source control binding when opening a solution? I sometimes need to load a solution for which I don't have access to the source control server, but Visual Studio insists on trying to connect anyway, meaning I have to click "temporarily work offline in disconnected mode" for every p...
How do I allow an SSIS package to consume a Visual Studio 2005 or 2008 Database project which houses the creation scripts for the tables and other objects (note: this is not Visual Studio Database Edition - just Pro with Business Intelligence)?
The idea is to use this to recreate my test instance by building the schema from source safe...
I am using Ankhsvn 2.0.6347.433 with Visual Studio 2005 and it's reporting that Ankhsvn's subversion client is too old for the working copy. The given error links to http://subversion.tigris.org/faq.html#working-copy-format-change which talks about using a 1.4.4 subversion client on a subversion 1.5 formated checkout.
Ankhsvn's home pag...
Hi all,
In short I'm after a setting in a .net installer project that turns off automatic reinstall if the installed files are deleted.
I've built a c#.net application using VS2005. After install on the client machine the user has complained that if they delete a file contained within the installation the reinstaller kicks in. The rei...
While editing a file I want to use a hotkey to call an External Tool that I have setup to use the "Output" tab. Currently when I use the hotkey the focus leaves the edit pane and goes to the "Output" window - I want the focus to not change from the edit pane.
...
I am trying to automate VC++ build via an addIn written using VB.NEt so that we can schedule it using a simple batch file. This addin performs some custom pre-requisites before the build is started. The build is invoked as ...
devenv.com /useenv %NEWSOLFILE% /CLEAN %BUILDCONFIG% /OUT %OUTLOGFILE% > nul
with appropriate filename substi...
Hello all,
I have a strongly typed DataTable created with the VS2005/VS2008 DataSet designer.
The table has a Primary Key column that is a guid, which gets populated by SQL server. The problem is when I want add a row (or multiple rows) to my DataTable and then call the DataAdapter.Update method (passing in the DataTable). When DataA...