AX2012 - 如何取消业务逻辑与报表的链接?

AX2012 - How to unlink business logic from report?

我正在 AX2012 中创建一个新的 SSRS 报告。起初,我通过 Visual Studio 添加了一些数据方法,但后来我找到了另一种方法来获得我想要的东西,而无需使用那些数据方法。因此,我删除了数据方法和业务逻辑项目。

现在,每次我构建报告时,我都会收到警告:

Could not resolve 'projectname' from the AOT. If the reference is required in your code, you may get compilation errors.

如何删除对业务逻辑项目的引用?我的报告运行没有问题,但我想停止收到此警告...

谢谢!

应该只是一个项目依赖。

看这里:https://msdn.microsoft.com/en-us/library/et61xzb3.aspx

要删除:

In Solution Explorer, select a project. On the Project menu, choose Project Dependencies. The Project Dependencies dialog box opens. On the Dependencies tab, select a project from the Project drop-down menu. In the Depends on field, clear the check boxes beside any other projects that are no longer dependencies of this project.

编辑:另一种选择是导出 XPO 并在其中进行编辑,然后重新导入。