有关 SSIS 解决方案/项目的一般问题
我将包含 *.sln、*.dtproj 和许多 *.dtsx 文件的文件夹复制到桌面
我从桌面打开了解决方案,发现打开的项目中的包仍然指向其原始位置的包,而不是我将它们复制到的桌面位置。
在记事本中打开 dtproj 文件,我发现对项目中的包的引用不是相对的,而是完全限定的并设置为原始位置。
这是正常的吗?最初添加包时是否做了一些不同的事情,使得引用存储为完全限定而不是相对的?这确实看起来是不受欢迎的行为,我通常认为 Visual Studio 在 proj 文件中使用相对引用。
I copied a folder containing a *.sln, *.dtproj and many *.dtsx files to my Desktop
I opened up the solution from my DESKTOP and saw that the packages within the opened project still pointed to the packages at their original location, not the desktop location that I copied them to.
Opening up the dtproj file in notepad, I see that the references to the packages in the project are not relative, but fully qualified and set to the original location.
Is this normaL? Was something done diefferently when the packages were originally added such that the references were stored as fully qualified instead of relative? This sure seems like undesirable behavior and I generally thought that Visual Studio uses relative references in a proj file.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看起来它已被识别为错误 - SSIS 文件不应存储绝对路径。
您是否碰巧从源代码管理中提取了项目文件?
Looks like it has been identified as a bug - SSIS files should not store absolute paths.
Did you happen to pull your project files from source control?