solution

Visual Studio add-in hook on solution load

Hi, I'm trying to write an add-in for Visual Studio that needs to be run every time a solution is loaded. Eventually I hope to make it a solution add-in so that it only runs for solutions that need it, but I'm wondering if there's any way to have my add-in hook on the user loading a solution? Thanks. ...

How to deploy and activate SharePoint solution in SharePoint Server 2010 using web services?

In SharePoint 2010, site templates (.stp files) are deprecated. Instead, solutions (.wsp files) are used to achieve the same effect, but also beyond that. Uploading .stp file and using it was straight forward in MOSS and WSS. However, in SharePoint 2010, it is necessary to upload a solution and to activate it before using it. I need th...

how do I subscribe to an event in raised in another assembly

I have a solution which contains 3 project. One project handles asynchronous communinications. When it has completed it's callback, it raises an event SomethingCompleted. How do I subscribe to this event from another project in the same solution? I have the event handlers built in the receiving project but it does not see the event in...

Convert SharpDevelop 3.1 solution to VS2005

Is there a way to open a solution created in SharpDevelop 3.1 in Visual Studio 2005? Here is the header of the solution file: Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 # SharpDevelop 3.1.1.5327 Is it as simple as changing the version numbers in the header? ...

Visual Studio 2010 (beta 2) solution in Visual Studio 2008

Is there a way to open a solution-file saved in Visual studio 2010 beta 2 in Visual studio 2008? ... or maybe a way to convert it? When i tried to open it in VS 2008 i get an error saying "The selected file is a solution file, but was created by a newer version of this application and cannot be opened." ...

[MS Visual Studio] How to view an active view C# class in 'Solution Explorer' ?

I have a solution which has many projects inside it. I build the solution and have some compile errors. Double clicking an error will open a class file, called FileA.cs. What I don't know how to do is viewing FileA.cs in the Solution Explorer pane. Please help! ...

c++ visual studio 2008 issue with two projects in one solution

I have a solution created using visual studio 2008 named, "Solution", and i have two projects in that solution, project "A" and project "B". when i do a thing like below it shows fatal errors in the bottom. I have given in project A->properties->Additional include Directries as ../B project B B.h #include <iostream> using namespace s...

Is there a suggested solution structure for ASP.NET MVC Production Apps

In general, I don't like to keep code (BaseClasses or DataAccess Code) in the App_Code directory of an ASP.NET Site. I'll usually pull this stuff out into a MySite.BusinessLogic & MySite.DataAccess DLL's respectively. I'm wondering should I be doing the same for ASP.NET MVC. Would it be better to Organise the solution something along t...

.vbproj the project is not supported by this installation

I have visual studio 2008 installed in my pc when i try to open a .Net 2005 Solution with multi-projects, there are project in vb and c#. The only web project on this solution display the following message: .vbproj the project is not supported by this installation I try to open the web project separately from the solution and I not hav...

C# Solution - How many projects?

Hey, I googled this a little but couldn't find a good result. Right now I'm building a web site and I'm trying to make it as correct as possible from a design point of view from the beginning. The problem I'm now facing is that when deciding to start with logging I needed a project to place this code in. As I could not find a suitabl...

where can i learn how to design business solutions ?

where can i learn how to design business solutions / services that can be sold ? are there any tools or software that can help draw flow charts and such ? ...

How do I create a Solution Wide Connection String

Hi. Does anyone know if it is possible to create a single connection string that will be accessible to all the projects in a solution (we have about 6). I can create a text file with this information, but we need design time support as well, and it is not practical to have a connection string in every App.Config and Web.config file i...

How do I get MSBuild Task to generate XML Documents when building a solution?

I have a solution with lots of projects. Each project is configured to generate the XML documentation file when building in Debug-Mode (which is default). That works when I build in Visual Studio 2008. In my build script on my integration server I advise MSBuild to build the whole solution, but it won't generate the documentation files....

Configuration manipulation over all Visual Studio projects

Hello, some one know how can I manipulate on some configuration over all projects in solution? For example, I create new configuration "Releas64" that means: "No debug, 64 bit, all files goes to c:\binaries", but I need to go over all 30 projects in our solution for to set those settings for every project. Is there some tool? Thank yo...

HTML5 for IE6.0

Hello! Do you know any method to optimize this HTML Code to IE6 or 7 (or 8) without adding any HTML elements, or the IE is skipping all the HTML5 elements? If i just want to format elements with CSS, - i dont want to use other features - is the document.createElement("nav") DOM element create enough to scam IE and make a plain HTML doc...

Capturing time intervals when somebody was online? How would you impement this feature?

Hello, Our aim is to build timelines saying about periods of time when user was online. (It really doesn't matter what user we are talking about and where he was online) To get information about onliners we can call API method, someservice.com/api/?call=whoIsOnline whoIsOnline method will give us a list of users currently online. But t...

Platform configuration for projects in VS 2010

I have a third-party project type in Visual Studio which for some reason only supports the .NET Platform configuration for the build, for all other (standard C#) projects in the solution I only have AnyCPU. Unfortunately, ever since upgrading to VS 2010 it produces following error when built : Error 39 The OutputPath property is ...

MySQL INJECTION Solution...

I have been bothered for so long by the MySQL injections and was thinking of a way to eliminate this problem all together. I have came up with something below hope that many people will find this useful. The only Draw back I can think of this is the partial search: Jo =>returns "John" by using the like %% statement. Here is a php solu...

Prevent users from Activating features in Sharepoint

If I deploy a solution at farm level, is there a way by which i can prevent the owners of the various site collections from activating the features present in that solution? ...

How to add code and html markup to another VS solution file without having access to it or subversion.

A company hired me to add some functionality to a pre existing .NET site, the problem is I have to create it in my own VS solution file and somehow integrate it into the existing site without access to the original VS solution file. The pre existing site is not in subversion. I coded up some stuff that works on my end, but they can't a...