Home All Groups Group Topic Archive Search About

Building other sln (to build references)

Author
19 May 2006 1:46 AM
Sajjad Akhter
Hi,

We have a quite a big test/automation frameworkd which is used be testers to
write their tests.

Right now all of the framework is built by seprate solution and tests (those
using the framework) refer to the binaries.

What it requirs peopl is that they have to keep two vs.net opened one for
framework and one for tests and rebuild framework if there was any change in
framework.

rather i add all framework .csproj to test's sln is there a way i  can add
references to framework sln file for it to build.

Thanks,
Sajjad

Author
19 May 2006 9:21 AM
Steven Cheng[MSFT]
Hi Sajjad,

Thank you for posting.

From your description, you're going to do some automation build task for
your multiple VS 2005 solutions, correct? If the concerns you mentioned is
that you have to interactively open two VS IDE and build the separate
solutions individually, I think you can consider use the VS IDE's 
"devenv.exe" with command line option to build the solutions in a batch or
script file.

#Devenv Command Line Switches 
http://msdn2.microsoft.com/en-us/library/xee0c8y7.aspx

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Are all your drivers up to date? click for free checkup

Author
19 May 2006 6:18 PM
Sajjad Akhter
i can use batch file with msbuild as well (just call it twice)
my question was is there a way i could avoid having a batch file.

Is there a way i  could reference another project file, rather including it.
beacuse if i include it then users see big list of project.

Also user dont need to build it every time, its just part of dependencies to
be build


Show quoteHide quote
"Steven Cheng[MSFT]" <stch***@online.microsoft.com> wrote in message
news:xs2ojWyeGHA.4672@TK2MSFTNGXA01.phx.gbl...
> Hi Sajjad,
>
> Thank you for posting.
>
> From your description, you're going to do some automation build task for
> your multiple VS 2005 solutions, correct? If the concerns you mentioned is
> that you have to interactively open two VS IDE and build the separate
> solutions individually, I think you can consider use the VS IDE's
> "devenv.exe" with command line option to build the solutions in a batch or
> script file.
>
> #Devenv Command Line Switches
> http://msdn2.microsoft.com/en-us/library/xee0c8y7.aspx
>
> Regards,
>
> Steven Cheng
> Microsoft Online Community Support
>
>
> ==================================================
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> ==================================================
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
>
>
Author
22 May 2006 11:32 AM
Steven Cheng[MSFT]
Thanks for your response Sajjad,

I'm afraid so far there is not cross-solution project reference support in
VS 2005, we can only make project reference within the same solution.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
Author
7 Jun 2006 6:14 PM
Sajjad Akhter
I dig it little more and found out that there is an elment <msbuild> which
allows building other project (without importing)

Show quoteHide quote
"Steven Cheng[MSFT]" <stch***@online.microsoft.com> wrote in message
news:Y%239nBOZfGHA.5772@TK2MSFTNGXA01.phx.gbl...
> Thanks for your response Sajjad,
>
> I'm afraid so far there is not cross-solution project reference support in
> VS 2005, we can only make project reference within the same solution.
>
> Regards,
>
> Steven Cheng
> Microsoft Online Community Support
>
>
> ==================================================
>
> When responding to posts, please "Reply to Group" via your newsreader so
> that others may learn and benefit from your issue.
>
> ==================================================
>
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
>
>
> Get Secure! www.microsoft.com/security
> (This posting is provided "AS IS", with no warranties, and confers no
> rights.)
>
Author
8 Jun 2006 8:13 AM
Steven Cheng[MSFT]
Thanks for your followup Sajjad,

I think this is a good idea and use commandline build tool will recommended
for large and complex structured solution.

Thanks for sharing this with us.

Regards,

Steven Cheng
Microsoft Online Community Support


==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================


This posting is provided "AS IS" with no warranties, and confers no rights.



Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Bookmark and Share