Hi there,
I'm making my first steps with NANT and struggle to understand it. I have the following scenario:
- 4 projects form a solution.
- All code is written in Visual Basic.NET
- I use an embedded Media Player and an embedded Internet Explorer
- Project 2 depends on Project 1
- Project 3,4 depend on Project 1,2
I tried to compile it with
devenv /build debug mysolution.sln
works like a charm. The applications run and I can use them
I tried to compile in NAnt with
<solution configuration="debug" solutionfile="mysolution.sln" />
It does a lot of things [resgen][aiximp][solution]...
and then prints out the error:
[solution] frmClientMain.vb(63) : error BC30560: 'AxWindowsMediaPlayer' is ambiguous in the namespace 'AxMicrosoft.MediaPlayer.Interop'.
[solution] Friend WithEvents mediaMain As AxWindowsMediaPlayer
... for more than one element of the component. Subsequentially [ai] fails.
I tried to set the base namespace to the same and to different values for all project, but the error message stays the same. I'm pretty sure that I'm missing out on a concept and/or understanding of the process involved.
Could someone enlighten me?
Thankx a lot
:-) stw