VS2008 尝试从预先存在的 C++ 创建一个新项目;映射网络驱动器上的代码
我从 SVN 存储库中签出了一堆源代码,现在位于映射网络驱动器上的一个文件夹中,该驱动器恰好是一台 Linux 机器。我们使用它作为构建环境,因为它目前拥有轻松构建所需的大量库。
我想要做的是在我的 Windows Xp 开发箱上使用 VS2008,并创建一个链接到此源文件夹的新项目,以便我可以利用智能感知的优势来探索和编辑源代码,然后只需将 Putty 放入安装的目录中并运行“制作”。
然而,当在 Vs2008 中创建“从现有代码创建新项目”时,我的系统上所有映射的网络驱动器都没有显示。如果我随后尝试打开一个项目,驱动器会突然在“打开”对话框浏览器中可见。
我听说VS2008不喜欢给网络驱动器授予权限,我运行了其他地方推荐的打开权限的命令,但没有效果。
caspol -q -machine -addgroup 1.2 -url file://H:/* FullTrust
当尝试从现有代码导入或尝试基于网络驱动器启动新项目时,映射的驱动器仍然不可见。
有什么想法吗?
I have a bunch of source code checked out from a SVN repository, now living in a folder on a mapped network drive which happens to be a linux machine. We're using this as a build environment as it currently has the numerous libraries needed to build painlessly.
What I want to do is use VS2008 on my Windows Xp development box, and create a new project linked to this source folder, so that I can explore and edit the source with the benefits of intellisense, then simply Putty into the mounted directory and run "make".
However, when coming to create a "New project from Existing Code" in Vs2008, all the mapped network drives on my system don't show up. If I then try and open a project though, the drives are suddenly visible in the Open dialog browser.
I've heard that VS2008 doesn't like giving permissions to network drives, and I've run a command recommended elsewhere for opening permissions, but to no effect.
caspol -q -machine -addgroup 1.2 -url file://H:/* FullTrust
The mapped drives still aren't visible when trying to import from existing code, or when trying to starta new project based on the network drives.
Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
事实证明,解决方案是将网络驱动器的完整位置(即使在文件浏览器中不可见)输入到“文件夹名称”框中。另外,上面的命令需要调整为
caspol -q -machine -addgroup 1.2 -url file://networkname/codestorage/* FullTrust
之后,完整的文件夹被加载到 VS2008 中,并且我们能够正确地编辑它。尽管我不知道,但为什么它不使用与“打开项目”相同的对话框!
Turns out that the solution was to enter the full location of the network drive, (even though it wasn't visible in the file browser) into the Folder Name box. Also, the command above needed to be tweaked to be
caspol -q -machine -addgroup 1.2 -url file://networkname/codestorage/* FullTrust
After that, the full folder was loaded into VS2008, and we were able to edit it properly. Quite why it doesn't use the same dialog box as "Open Project" though I don't know!