"Directory listing failed" 执行时 "dart pub publish --dry-run"

"Directory listing failed" when execute "dart pub publish --dry-run"

我正在尝试发布一个 flutter 插件,但在执行 dry 运行 时出现此错误。该插件可以编译运行,源代码为here

我该如何解决?谢谢。

PS F:\Armoury\SourceCode\window_interface> dart pub publish --dry-run
Publishing window_interface 0.1.0 to https://pub.dartlang.org:
...
Directory listing failed, path = '.\example\windows\flutter\ephemeral\.plugin_symlinks\window_interface\example\windows\flutter\ephemeral\.plugin_symlinks\window_interface\example\windows\flutter\ephemeral\.plugin_symlinks\window_interface\windows\include\*' (OS Error: The system cannot find the path specified.
, errno = 3)
PS F:\Armoury\SourceCode\window_interface>

我重新创建了项目,问题没有出现,另外,发布前需要清理项目