0

I have the following solution structure

Test_Solution
 |_ Test1.csproj
       |_ Reference
              |_ SomeDll.dll
              |_ Others.dll
       |_ Files

 |_ Test2.csproj
       |_ Reference
             |_ Test1.dll
             |_ Etc.dll
       |_ Files

Test1 project is a web application (asp.net with mvc 3).

Test2 is a unit test project.

How you see, Test2 has already a reference to Test1.dll (has some functions which are found in Test1 project)

For deploying application, I will create package using msbuild command (it will create cmd file and a ZIP and some XML files).

I want to include in that package also the Test2.dll but I cannot because of circular reference warning.

Why including that Test2.dll? Because I want to deploy whole package on a server and run a test (automated testing) using Test2.dll and install the application simultaneously.

What's the best way to do that ?

4

1 回答 1

0

Make a custom build that always builds both projects and packages both results into the zip

于 2012-08-01T14:00:39.980 回答