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 ?
进行自定义构建,该构建始终构建两个项目并将两个结果打包到zip中
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.