10
голосов
6ответов
6645 просмотров

How do you add new projects to a Visual Studio Solutions file?

I want to know how we can add projects in single solution file. When I create the solution and try to add projects in it, the solution file is not visible. How can I add projects/websites to the solution file?

0
голосов
2ответов
200 просмотров

C# What is my best option? Service/Application/Multiple Applications

I am developing a solution that requires a number of tasks to be completed at various times. Example: Task 1 - Monitor mailbox, process mail items Task 2 - Monitor mailbox (different folder), process mail items Task 3 - Generate PDF reports Task 4 - Monitor folder, distribute files via email a...

2
голосов
3ответов
4332 просмотров

asp.net web application with c# & vb.net both in codebehind

We currently have a asp.net website with some modules developed in VB.Net & some in C# (not just classes but also individual aspx pages and code behind). We figured we wanted to move to web application model as we need to implement CI with TFS. The problem : When we create a C# web applicat...

0
голосов
1ответов
141 просмотров

How can avoid having a solution specific hard coded macro in Visual Studio?

Background I have a macro AttachToRemoteProcess that I use to attach the debugger to a running process on a remote computer. The macro use hard coded names for the process and the computer. I use the macro from a toolbar button on a custom toolbar. I consider this a sub par solution and I don't ...

26
голосов
4ответов
21704 просмотров

ASP.NET MVC project "not supported by this installation"

I can create new MVC projects and they work and run however trying to open an existing project is not working at all. I tried the following changing the project type to: <ProjectTypeGuids>{F85E285D-A4E0-4152-9332-AB1D724D3325};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4...

6
голосов
8ответов
1102 просмотров

How do you convince upper management that something can’t be done?

When you are employed as a developer, you usually don’t get a chance to choose on what you will work. It might be a new application that must be written, it might be an old one that needs maintaining, or it might be a legacy system in which you have to plug holes just to keep it at float. Whatev...

0
голосов
2ответов
289 просмотров

Sharing code between projects without svn:externals

In order to simplify the build process, I've been trying to reorganize my version control repository. I am developing a simple client-server application. Following Rob Williams' advice, I have separated the client and the server into separate projects each with their own lifecycle. The problem t...

1
голосов
4ответов
153 просмотров

Is it a bad idea to add a period to a .Net solution file?

If I was using a "Partitioned Single Solution" strategy to build my .Net projects and solutions, could anyone comment on, or share any experiences about why it would be a bad idea to include dot notation in my solution names as such...     master.sln     master.sub.sln ...also let me know if yo...

1
голосов
6ответов
1319 просмотров

C# Class Methods Only Callable from certain Projects?

This may not be at all possible but I thought I'd get your responses before we gave up the Idea. We have 3 main projects all in one Solution: Interface, Logic, and Data Access. The Data Access Project contains all the Object Classes with their variables and methods. The Logic Project contains cl...

1
голосов
4ответов
1443 просмотров

Visual Studio solution structure using Codesmith frameworks (NetTiers / Plinqo)

I have been using the Codesmith framework NetTiers to generate a DAL etc., into a folder called, say, 'NetTiers', outside my main project's folder, and referencing the DLLs within that folder from my main project. I've started using the Plinqo framework, and want to use the generated files from ...

0
голосов
8ответов
626 просмотров

Is it possible for programmer to analyze unknown code fast?

I got a task related to ANCIENT C++ project which hasn't any documentation, comments at all and all code/variables is written in foreign language. Do I have a chance to analyze this code in a 1 working day and make a design/UML to create new features? I have been sitting around for 3 hours alread...

0
голосов
2ответов
73 просмотров

Multiple usercontrol projects in MSVS08

I'm rather new to C# development so that's why I ask that question: I have several projects in my solution. Most of them are UserControls. Some of them depends on mine other UC projects (included in the solution). For the sake of simplicity let's say the dependecies of projects are like that: A-&...

0
голосов
3ответов
148 просмотров

WCF - VS2005 to VS2008 Sln Conversion Problem

I have converted a VS2005 solution to VS2008 solution. I am trying to Add a Service Reference to a project in the solution but not finding the desired option in the Right click -> Popup Menu. I am not trying to add a Web Reference. I am trying to add a Service Reference. I am working with a ...

6
голосов
3ответов
3214 просмотров

Possible to create Visual Studio project with Output Type of "none"?

I'm using Visual Studio 2008 and would like to create a sort of container project that holds a number of DLL's that must be installed with a solution. I want them to be in a separate project so that they can be easily attached to a solution as a group. I created an empty project call TEST, added...

0
голосов
3ответов
98 просмотров

Is it possible to run an ASP.NET project and an ASP.NET MVC project side-by-site on the same website?

I have an existing ASP.NET website with some custom routing, within a Solution that also contains Business Logic projects. I want to create a new project within the Solution, which is an ASP.NET MVC website. This website will also call the Business logic, and the ultimate aim is to port most of...

2
голосов
1ответов
113 просмотров

both project dependencies and link-against-binary available in same VS2008 solution?

In Visual Studio 2008, I have a c# app, that depends on multiple other projects. I want to deploy to customers: 1) binaries only - I use an installer project for that 2) binaries only, but the top level app as source code (for customer's integration purposes) For 1) I need the app project to hav...

1
голосов
1ответов
568 просмотров

run a specific project in visual studio 2005

i have 12 projects in my solution including setup project. i set one project as startup project. it builds all project first then run my project, it takes too much time while i am debugging. the start up project, i set has no dependancy. why it builds all project and how to run specific project

1
голосов
2ответов
946 просмотров

Use a separate WCF project with Silverlight

I am working on a Silverlight application that uses WCF. I need to have my WCF project separate from the ASP.Net application that will host my Silverlight project. I am looking for some guidance on how I should organize my solution and list gotchas other people have experienced during debugging a...

0
голосов
1ответов
137 просмотров

Compiling and deploying assemblies that are used as references for other projects

Okay so here is my situation: Project A is in solution A, lets call it's output a.dll. Project B is in solution B, lets call it's output b.exe. Project B references a.dll Both solutions are under source code control in different repositories. My question is: how can i assure that Project A's...

0
голосов
1ответов
460 просмотров

install application for all users using vs2005 setup project

How do i install application for all users using vs2005 setup project, i have enabled install all users property in setup project to true, but there is no impact after installation. my application not loaded in other user accounts (shows an error message).

0
голосов
1ответов
370 просмотров

Visual Studio 2008 C++ language support?

I've been developing a couple of C# tools recently, but primarily working with a lot of legacy Visual Basic 6.0 code (I know, I know...). For the C# development, I've been using Visual Studio 2008 Professional edition that I downloaded using our MSDN subscription here at work. But, as a chan...

3
голосов
1ответов
507 просмотров

Big solution, many solution configurations, adding a new project

We seem to have an annoying issue with Visual Studio, we have a pretty big solution consisting of lots of projects, and over 20 solution configurations. Whenever we add a new project to the solution, it comes off as 'buildable' in all of the pre-existing solution configurations. It then becomes ...

2
голосов
3ответов
4721 просмотров

Going from <solution> to <exec program="msbuild"> in NAnt</exec></solution>

I've converted my app from .NET 1.1 to .NET 3.5 and unfortunately NAnt's tag does not support .NET 3.5. So I am trying to use the tag to kick off msbuild directly. Here is what I have for .NET 1.1: &lt;solution solutionfile="MyApp.sln" configuration="ServerDebug" outputdir="MyApp\...

1
голосов
1ответов
1638 просмотров

How to access selected project in Solution Explorer from a Visual Studio Add-In?

I developed a VS 2008 add-in and added a custom menu item to context menu for "Project" nodes in Solution Explorer. This allows me to right-click any project in solution and perform a custom operation on that project. Or at least, it would, if I knew how to access the selected project from my Cl...

0
голосов
2ответов
484 просмотров

MSBuild - Project Templates - For non-.NET projects in VS2008

How would you got about setting up a project that doesn't really build, but just runs some commands on the files you are working with. For example, lets say I wanted to setup a project for creating Windows Vista and Windows 7 gadgets. A gadget is nothing more than some html, images, javascript,...

4
голосов
2ответов
2965 просмотров

How to remove duplicate entries from visual studio web project?

I am working in a large team with multiple branches and merges happening on a regular basis. One thing that happens on regular basis is that web project files end up with duplicate entries for static content (.js, favicon.ico etc...). I have two methods to removing the duplicates: Delete the ...

20
голосов
3ответов
8623 просмотров

VS2008: Where is the Startup Project setting stored for a solution?

When I right-click my solution in the Solution Explorer and choose Properties I get a dialog where I can select the Startup Project. I sometimes select Current selection (If it is an experimental solution with lots of projects I jump between), but most often it is a Single startup project select...

1
голосов
4ответов
536 просмотров

How should I "optionally" reference a Class Library project in another .NET project?

OK, so I have a .NET project that uses plugins. The plugins are implemented as Class Library (DLL) projects that each build in their own folders. The main project doesn't require the plugin DLLs to run, but if they are available, they are used for various optional functionality. Classes from t...

3
голосов
5ответов
14567 просмотров

How to create uninstaller in visual studio setup project?

I have created a visual studio setup project, but I don't know how to create uninstaller in my visual studio setup project, please tell me how to do that?? I am using Visual Studio 2005, Or is there any other software which creates complete setups with uninstaller.

6
голосов
3ответов
5633 просмотров

How do you share external dependencies between Visual Studio solutions?

I have a Java background so I’m used to having Maven handle all problem around downloading and keeping dependencies up to date. But in the .NET environment I have not yet found a good way to manage all these external dependencies. The main problem here is that I mass produce solutions and they ...