CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_studio_2005 Tags:
Item Type: NewsGroup Date Entered: 12/18/2007 8:58:56 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
srinivasc_it
Asp.Net User
Automating the process of adding project dependencies to the main solution12/18/2007 8:58:56 PM

0/0

Hi All,

 

I am trying to figure out a way to automate the process of adding existing dependent projects to the current solution in the solution explorer. Currently, we can manually add existing dependent projects to the solution by right clicking on solution explorer Add-> Existing Project and then selecting and opening it.

 

I know that if we open a *.sln file in notepad, it contains information about the projects that make up this solution. So, based on this information we can manually add these projects to the solution, If the main solution file is moved to a different location.

 

I have developed a windows application (install Project) that ?copies? the selected main solution file to the desired location. But, when I open that solution file from that new location it says, dependent files are not available. So, I manually add them to the solution as explained above. But, is there a way to automate this process of adding dependent files to the current solution when the current .sln file is moved/copied to a new location?. Something like parsing the .sln file looking for dependencies (dependent projects) and then adding them automatically to the solution Or atleast automating the process of copying the dependent project files present at different location than the actual solution files in to the same folder when the actual solution is copied.

 

If at all I have to program this, is it practically possible to write this code in visualstudio.net windows application?. If so how complex is this to achieve?.

 

Any Ideas or web references on this OR any other completely different Ideas.

 

Thanks,

 

Benson Yu - MSF
Asp.Net User
Re: Automating the process of adding project dependencies to the main solution12/21/2007 3:08:16 AM

0/0

srinivasc_it:
is it practically possible to write this code in visualstudio.net windows application?. If so how complex is this to achieve?.
 

Hi srinivasc_it,

In my opinino, if you want to implement it by a separate windows application, it is not complex. What you need to do is parse the .sln file (it is a plain text file), find the related projects directory, and then copy the directories and sub-directories to the new place.

System.IO.Directory.Copy()?
http://blogs.msdn.com/korbyp/archive/2004/02/19/76411.aspx

However, please understand this is the ASP.NET forum, if you have any further concern to achieve the goal, please post thread in the ?Windows Forms? forum which is more appropriate. Thanks.

MSDN Forums ? Windows Forms
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=2&SiteID=1


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Computer Simulated Plant Design for Waste Minimization/pollution Prevention Authors: Stan Bumble, Pages: 178, Published: 2000
Practical Software Factories in .NET Authors: Gunther Lenz, Christoph Wienands, Jack Greenfield, Wojtek Kozaczynski, Pages: 214, Published: 2006
The Art of Agile Development: With Extreme Programming Authors: James Shore, Shane Warden, Pages: 409, Published: 2007
PHP 5 Objects, Patterns, and Practice Authors: Matt Zandstra, Pages: 437, Published: 2004
Software Deployment, Updating, and Patching Authors: Bill Stackpole, Patrick Hanrion, Pages: 424, Published: 2007
Mastering C Authors: unknown, Pages: 0, Published: -1
Pro ASP.NET for SQL Server: High Performance Data Access for Web Developers Authors: Brennan Stehling, Pages: 408, Published: 2007
Pro Apache Ant Authors: Matthew Moodie, Pages: 341, Published: 2005
Software Architectures, Components and Applications: Third International Conference on Quality of Software Architectures, QoSA 2007, Medford, MA, USA, July 11-13, 2007 : Revised Selected Papers Authors: Sven Overhage, Pages: 249, Published: 2007

Web:
Automate your team's build and unit-testing process Oct 11, 2005 ... Here are the steps for adding a new project to your continuous-integration build .... "Automating the build and test process" (Erik Hatcher, ...
MSDN Team Foundation Server - Build Automation Not able to ... I had also set the project dependencies in the Solution properties dialog. ... a TFS Build to automate the build and deployment process of these solution. ...
Searching for named folders in a given directory path in Dotnet ... I am trying to figure out a way to automate the process of adding existing dependent projects to the current solution in the solution ...
Automating Software Production Processes Change a structure piece, break the build process; Change a process piece, and it won’t fit the old structure. A Dependency Solution – Extraction and ...
GLR software List and load main project file as a Solution (like in Visual Studio). Add and remove from the Solution listing. Copy exising Solition's Build Style Scripts ...
CodeProject: Compiling Multiple Projects Without a Solution. Free ... Jun 23, 2007 ... Automating your build process is very important. An automated build process ... Project dependencies are based strictly on the project name. ...
Codefast Releases Industry's Only Build Automation and Management ... It can be used as a replacement solution for automating and managing the entire ... thing' and having a complete picture of all dependencies in the project. ...
A Test Generation Solution to Automate Software Testing May 11, 2008 ... dependencies. The available UML elements are classes, .... solution automates the process of design, generation, ...
Configuration Management | ADaM Use Cases | Dependency Solutions ... Automate the scheduling and tracking process; Obtain a centralized view of ... Put in place a universal standard release process through the project ...
Pre and Post-Build Automation in Delphi For the last few days I’ve been trying to automate the process which involves ... select Dependencies and make it depend on your main project; Add the file ...




Search This Site:










configure url authorization for cross domain and subdomains

cannot access asp.net 2.0 localhost website from the internet?

can anyone help to implement googlechekout payment gateway ?

wmi remote connection throws access denied error on iis

log out concept

http to https popup

using default member/role providers with custom profile providers

security issues with installing printers on intranet

multiple authenication sources

extracting the user name in windows authentication

login/authentication options

determining the user's full name from active direcotry using vb

automatically login a user after signup - programmatically log in a user?

formsauthentication not creating unique sessions

newb: forms authentication within a single project, exception to the rule

access to the path "f:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\crm\03bbd7d7\bc753d42" is denied.

how do i set up my application name for use with asp.net providerss

forms authenication and client browsers

using only limited ad authentication question

strange profileprovider error

outlook automation running as unsigned activex

impersonation and cultrue problem

membership/roles not working after deployment

is it possible...

authentication

securing my web application as much as i can (registration)

formsauthentication.signout()

re-authenticating a user even with the authentication cookie set

encryption - decryption, any links?

collation problems in asp.net membership procedures

  Privacy | Contact Us
All Times Are GMT