将数据集从根移动到 VS 解决方案资源管理器中的文件夹

发布于 2024-10-04 18:22:34 字数 126 浏览 0 评论 0原文

我只是想在 VS2010 中组织一个相当大的解决方案。

我想将我的数据集放入根目录的子文件夹中,但是当我这样做时,我收到一串错误,如何移动它们更新对它们的任何引用?

谢谢

Im just trying to organise a pretty large solution in VS2010.

Id like to place my datasets into a sub folder of the root but when I do I get a string of errors, how can I move them and update any reference to them?

Thankyou

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

清风夜微凉 2024-10-11 18:22:34

当您在 Visual Studio 中移动数据集时,Visual Studio 会自动更新数据集中的命名空间以在末尾包含文件夹名称。您可以进入每个数据集并删除命名空间的最后/添加部分。这将修复你的错误。

When you move a DataSet in Visual Studio, Visual Studio automatically updates the namespace in the DataSet to include the folder name at the end. You can go into each DataSet and remove the last/added part of the namespace. That will fix your errors.

它不太灵活,但您可以使用“查找和查找”功能。替换解决方案中的所有文件?

It's not beautifully flexible but you could use a Find & Replace on all files in the solution?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文