In general, the dual problem corresponding to a mixed-integer problem is not well-defined.
In some cases the desired “dual solution” is the one obtained by fixing all integer variables at their optimal solution values and re-solve the problem with continuous optimizer.