Skip to content

567-fix-linux-opentappackagereference

MSBuild is kind of weird on Linux. If OutDir is not specified manually, I get this when building the TUI:

/home/user/opentap-tui/OpenTAP.TUI/bin\Debug\

So the reference to e.g. OpenTap.Cli.dll becomes

/home/user/opentap-tui/OpenTAP.TUI/bin\Debug\Packages/OpenTAP/OpenTap.Cli.dll

In most cases MSBuild is able to handle a mix of forward and backwards slashes, but it seems that going back and forth multiple times like in this example causes it to fail.

Manually setting <OutDir>/home/user/opentap-tui/OpenTAP.TUI/bin/Debug/ in the project also works.

Closes #567 (closed)

Edited by Alexander Nørskov Larsen

Merge request reports