solution

Macros/Environment variable in .sln and .vcproj files for Visual studio

Hello I have two similar problems: a) I have a solution which includes several projects and I want to be able easily switch project location by setting some environment variable/macro. As example this project can be located in \SolutionDir\Dir1\ or \SolutionDir\Dir2\ So, I want to specify that it should be located in \SolutionDir\$(Var...

How should SharePoint Visual Studio projects that share each other's code be managed?

My SharePoint Visual Studio solution structure currently contains these projects: Common: contains extension methods, helpers, frequently used controls, etc. Logging: would normally be included in Common but contains calls to native methods so marked 'unsafe' Site-specific project: one for each distinct site, containing features, web p...

Mysql too many while loops inside one stored procedure

Hi! I have one stored procedure in while I am getting comma separated values in parameters. I have three parameters which has comma separated values. and i need to put them in table's columns so I am using while loop. but i am scared when too many(say lakhs of users) users will connect to my website then my procedure will have performanc...

[Team Build] Build is successful, but binaries are nowhere to be found. Why?

Recently I've changed our team build project file from: <SolutionToBuild Include="$(SolutionRoot)/OurSolution.sln"> to <SolutionToBuild Include="$(SolutionRoot)/**/*.csproj"> This was necessary because we have many projects which are not contained in the solution file, and for our purposes it is not feasible to just add the project...

Sorting projects in a solution.

Howdy stackers. This ones really an annoyance on my end and searching hasn't resulted in a clear fix yet. The same .sln file for Visual Studio 2008 is ordering projects in a different way. In my office, I have both my Web Projects at the top and my 3 Websites below (seems to be default alphabetical ordering which is fine!). At home, ...

Best solution for this signature generator?

Hey! i want to know the best solution for my problem. I have a signature generator http://www.anitard.org/siggen/siggen_stripes/ where people can upload their own images for the signature. The problem is that my storage will get full pretty fast if i dont somehow have a script that deletes the images when they are done with the signature...

Including a ASP Web Service Project in a Windows Forms Application

I have a web service that I'd like to include as a project reference inside a windows forms application. (The application will be running on non-networked hardware.) I could simply copy the *.vb files I need into my forms project, but I'd rather not fork the code base. It wasn't hard to include the ASP project in the windows forms sol...

Cannot add database to an Asp.Net application

Hello everyone, I'm unable to add an mdf database file by right clicking on the project name and clicking on "Add->New Item->SQL Server Database". It gives me the following error... ** Connections to SQL Server files (*.mdf) require SQL Server Express 2005 to function properly. Please verify the installation of the compone...

Wrapping a web project in a solution file, and CVS

This could quite possibly be the dumbest question ever asked. Our client wants us to have a Solution file (one .sln and .suo) neatly put into 1 directory higher than the actual web project. And we don't even have a Web Project file, it's just a website setup in IIS that we open from Visual Studio (2008 in case it matters) by clicking o...

non lazy ptr linking error - the solution

I have received many errors while trying to Build & Run my iphone app using the xcode. All the errors stated "non lazy ptr" for the used variables in the code. The solution for me (and for all of you) is to look for the correct framework to be used according to the Simulator and Device versions the code will be running on. At first i hav...

SQL Server Data Archive Solution

I'm looking for a solution to archive data that exists in my database. My database is SQL Server 2008 and have approximately 250 tables. I search web and find the below link : http://www.dbazine.com/sql/sql-articles/charran13/ but this solution is not clear I don't know that is there a direct way for doing this in sql server. please gi...

Required file 'alink.dll with IAlink3'

Hello, I was trying to build a C# solution on my Visual Studio 2008, that is running on a Windows Vista machine, but when I try to build it I'm getting this error: Required file 'alink.dll with IAlink3' could not be found Amigo X Amigo X is the name of the solution. What is wrong? PS: Amigo X is a party that we have here in Brazil a...

Visual Studio - Moving a solution to a new folder and namespace

Hi, I'm currently writing a little cmd line app that will take an entire visual studio solution, copy it to a new folder and change the namespaces of all the projects. Looks like its going to take some regex magic to get this working properly (and quite a bit of effort). Am I reinventing the wheel? - is there anything in visual studio ...

Need advice on my PHP development solution

Here is how our current php development solution is set up: Each developer work on their local machine. Each developer commit their change to a common SVN server (intranet). A commit hook upload the change to the staging server and perform validations tasks. When the product is ready, manually deploy it to the production server via SFTP...

How to create a solution file using vs 2008

I have all the files for the deployment listed below : -BIN -CSS -IMAGES default.aspx PrecompiledApp.xml Web.xml The above files can be copy pasted in the webapps folder and default.aspx could be run from the browser. i want to create a solution sln file from this. How to create a solution file? ...

How to programmatically build a visual studio solution ?

I would like to compile a solution by passing the solution file path (.sln file) and the build mode (debug, release). I do not want to call a command line process like devenv.exe or msbuild.exe, instead I would like to use an API and know if there were compile errors. Is it possible ? Please provide samples if you think you know how to ...

How to sort projects in visual studio 2008?

Hi, How can you sort your projects within a solution folder. I have a solution with 3 soltion folders and in there I have several class libraries but they don't seem to be sorted by name but by creation. Is there a way to sort them by name? (from within vs 2008, not by changing the sln manually) Regards, M ...

Looking for downloader web solution

I'm looking for a web solution that will provide a web page/application that will let a user download our installer exe (all required files are contained in the exe) such that they can pause the download and resume it at any time. It's a 1.4 GB file, and currently our only distribution model (we are on a 0 budget). Any advice? Our end-...

Visual studio project/solution compilation with only .net SDK (without installed VS)

Is it possible? And if possible, is it possible to compile created in VS azure cloud project, having only .net35 and azure SDKs installed, also without VS? ...

Inter-solution C# refactoring in VS

I have solution A which defines public class Foo, and solution B which references A and uses Foo. I rename Foo to Bar in A and use the "Update References" feature, but that only updates the references in the current solution. How do I go about updating them in solution B as well (automatically)? (note that search&replace isn't an option...