Solution with 2 projects using the same (linked) repository
Posted: Mon Jan 20, 2014 4:36 pm
I have the following scenario within my solutions:
When building the solution, at first I get 250+ warnings saying something linke:
It seems as if the code classes will be generated twice out of the rxrep-file, which leads to these warnings.
The strange thing is that if I start the build a second time (without any changes), these warnings disappear.
It is just a cosmetic issue (only warnings, no errors), but is there a better way to implement a scenario like this?
Thanks,
Juergen
- I use one project as kind of "container" for general recordings (install application, start/stop application, close all open windows, ...).
- The second project will contain the "real" testcases and the TestRun.
When building the solution, at first I get 250+ warnings saying something linke:
Code: Select all
The type 'xyz.MyRepository' in 'd:\path\project2\MyRepository.cs' conflicts with the imported type 'xyz.MyRepository' in 'd:path\project1\bin\Release\MyRepository.dll'. Using the type defined in 'd:\path\project2\MyRepository.cs'. (CS0436) - ...
The strange thing is that if I start the build a second time (without any changes), these warnings disappear.
It is just a cosmetic issue (only warnings, no errors), but is there a better way to implement a scenario like this?
Thanks,
Juergen