solution

Adding a classic ASP webapplication to VS 2008

Hi there, is there a way to add an existing classic ASP webapp into a solution in VS? The application is around 4000 files large and currently maintained outisde Visual Studio. Thanks in advance! Matthias ...

Visual Studio Solution Structure for multiple deployable projects

Scenario: Currently we have a single solution supporting a single deployable entity, a WinForm/WPF client, this solution has a layer architecture with projects representing various layers (Data, Business, UI). We will be introducing other deployable entities such as a LiteClient, a Server and an RIA. We are considering a restructure wh...

Tests Projects In Solution

In .NET should you place unit test projects in with the rest of the solution? Or should there be a test solution that houses all the test projects? We have all the test projects in with our code base solution...it seems a bit cumbersome. What do you usually do? ...

Solution with 2 projects - sharing Properties.Resources

In Visual C# 2008, I have a solution with two projects. First project contains Form1 that displays one Label with Text set to a string from Properties.Resources, like this: label1.Text = Properties.Resources.MY_TEXT; In the second project, I "Add as link" this Form1 from the first project. I want to show this form, so it displays the...

Hosting, deploying and running web applications in the cloud

So far I've read some blog articles about cloud computing and services for hosting applications in the grid. If I'd wanted to have a web application running in the cloud for as little cost as possible, what would be the best solution? Let's assume the following configuration: J2EE web application Any free database (MySQL, PostgreSQ...

Merging Visual Studio solution files

Microsoft Visual Studio (2005 and 2008) seems to have fun shuffling the Project IDs (GUIDs) around each time we do a little change in a solution. We found that this little detail leads to frustration each time someone has to merge branches in Source control... We though about coding a little tool to sort those Project ids before Check I...

What is a solution folder in visual studio

I have a vs 2008 solution and I would like to include a real folder in the solution, but not at the project level, instead at the solution level. I noticed you can right click the solution and add a solution folder, but it comes up as some white folder, and I have my doubts as to exactly what it is supposed to be... basically on the f...

How to update SPItemEventReceiver assembly version for a list in SharePoint?

Howdy, Still in the learning process with SharePoint. We have an SPItemEventReceiver compiled into its own assembly. We are using STSDev to package up a SharePoint solution with this EventReceiver as a feature. I am not assigning the SPItemEventReceiver to a specific ListTemplateId within the elements.xml, but am instead linkin...

Is there a way to run an outside executable after a SPECIFIC solution is built in Visual Studio 2008?

I had the same question as was asked in this thread, i.e. I was looking for a way to run an executable or script after building a solution in Visual Studio. I tried out the suggested solution of catching the OnBuildDone event with a macro, which (as I understand it) needs to be placed in the EnvironmentEvents section under MyMacros in...

MSBuild 2008 stops on first error while building a solution

We recently upgraded from MSBuild 2005 to 2008. Since then MSBuild stops on the first error when building a solution. This wasn't the case in 2005. Is there a way to get the old behavior? EDIT: We call MSBuild form the command line: MSBuild.exe xyz.sln /p:Platform=Win32 /p:Configuration=Debug ...

How to NOT include Visual Studio solution folder names in generated namespaces

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...

MVC general class location

In the MVC folder structure, where should general class files reside? For example, I have a class that determines the right DataContext to use, so I'm not reinventing the wheel in each of my controllers. Should it live in the Controllers folder even though it's not a controller? Should it be with the Models because it's database related,...

Creating a Sharepoint solution from a site (including workflows and custom webparts)

Here's the scenario I created a Site which in I used custom lists, webparts, custom developed webparts, workflows et cetera. You can see the site as an application. What I am trying to do is to create a solution package which holds everything I build in that site so that I can give the solution file to an sharepoint administrator who ...

Deploying CAS policies in Sharepoint using the solution framework

Hi, I'm deploying my web parts using the sharepoint solution mechanism. Untul now, everything worked fine, but when i added CAS policies to the manifest.xml file, the deployment doesn't work as it should. When deploying the solution with the CAS policies, there are no errors, but the policy file isn't created, the dll isn't copied, an...

Integrating custom membership provider in existing solution

I have the source for the sqlMembershipProvider and the sqlRolesProvider that MS ships and I want to modify it to use my own tables and schema. I have an existing solution that will use this provider and I'd like to debug the provider code within that solution until I'm sure it works. How do I set up my provider code in a project with...

Sharepoint solution packaging: how do I get a custom icon for my features?

I am not sure how foolish I am being here! I have a solution that packages up some master pages and layouts etc which I can deploy fine and the feature appears in the "Site Collection Features" list fine. However I would like to put a custom icon next to my feature. I would like the icon to be in the solution package and so require the ...

SVN - Project in multiple solutions

Is there a way to share a project across multiple solutions in SVN? I already have a class library in a solution that I want to import in another one. Can I just import the project in the new solution or will there be a problem with paths (since the project is not in the same repository)? Is there a better way to do this? ...

Proper stsadm commands to update SharePoint Solution/Feature

What are the proper stsadm commands in sequence to force an upgrade to a SharePoint solution. I have tried C:>"C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe" -o deploysolution -name "MySolution.wsp" -immediate -allcontenturls -allowGacDeployment -allowCasPolicies -force followed by ...

1 Dimensional Nesting

Does anybody have an effective Delphi software solution for nesting 1 dimensional lengths into predefined stock lengths? ...

Custom SharePoint List View - can I put it in a feature (WSP)?

Here's my situation: I'm working in SharePoint 2007 Enterprise, I have a feature that creates a list for me when I deploy and activate it. My usual workflow thus far has been to deploy the solution, activate it, then open up SharePoint Designer to customize the list. My customizations are typically pretty complex, but I'll keep things ...