Building other sln (to build references)

S

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
 
S

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

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
 
S

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

Sajjad Akhter

I dig it little more and found out that there is an elment <msbuild> which
allows building other project (without importing)
 
S

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top