I have a project that builds great. If I create it manually, but it does not work with CC.NET.
The error that appears on CC.NET is mainly due to the fact that the import was unsuccessful because the file was not found; one of the projects (C ++ dll) is trying to import a dll built by another project. The dll should be in the right place, because there is a dependency between projects - indeeed, when I build manually, everything works fine (note that when I speak manually, I get everything fresh from the source code repository, and then calling Rebuild from VS2005 to simulate CC.NET Automation).
it looks like dependencies are ignored when the assembly is automated through CC.NET.
I am creating a Release MinDependency mode.
Any help would be greatly appreciated!
Can you change CC to use msbuild instead of devenv? This seems like the best solution for me, as it means that the assembly is the same in both situations.
After a long investigation - my understanding of this at this stage is that the problem is that I use devenv to create through CruiseControl.NET, but when I create it manually, VisualStudio uses msbuild.
This basically leads to ignoring the dependencies (due to some msbuild arg command that I don't play using devenv).
, , ++, , CC.NET .NET- ++.
, .
.
, , , / , . , CruiseControl ( MSBuild), . , MSBuild CruiseControl, , MSBuild (2.0) ++ sln Visual Studio . MSBuild ++-, v3.5, ++-.
, CC.Net , .
- CC.Net , DLL ? ? ? CC.Net , .
, , IDE , , ( msbuild, devenv.) reference - , , . , IDE, VisualStudio . , ( .)
/ , .
, , , CC.NET . , ++ . lib include, → → → V++. , , .
, (BuildUser) . BuildUser . , CC.NET BuildUser .
(reposting, , , )
VC2003, , .
:
ProjectB, A.lib ProjectB. , .
CC.NET , , A.lib .
Source: https://habr.com/ru/post/1699306/More articles:C # 4.0 Feedback - c #Is this heart rate detection method thread safe and consistent? - javaWhat is the most elegant and efficient way to provide AAA to web services using WS Gateway and LDAP? - securitySWT Image concatenation or tile / mosaic - javaDesigning Modular Webmasters Using .Net 2.0 Wizard Control - designGetting various records from mysql query - joinHow to create an extension method for a class in C #? - c #Php - Подключение к удаленной базе данных очень медленно - phpLinking one collection to multiple tabs with filters - c #UTF-8 latin-1 conversion issues, python django - pythonAll Articles