0

I am just wondering how do you transfer a windows form application onto a flash drive because every time I have tried after its transferred I click to open it and an error message displays saying:

"Cannot find the file 'F:\Vending Machine.vb.'

I need to be able to transfer it so when it opens I am able to edit the code and the appearance of the application as I would if I were to just open a new windows form application now.

Thank you

Marcus.

4

1 回答 1

0

您需要将整个项目/解决方案传输到 USB。

传输已编译的 .exe 应该会打开应用程序的最新版本。仅传输解决方案文件夹的一部分,然后尝试打开 .sln 将导致您遗漏的文件出错。

  1. 清除您的闪存驱动器
  2. 将整个文件夹(不是内容)复制到您的闪存驱动器(C:\Users\Marcus's MPC\Documents\Visual Studio 2010\Projects\Vending Machine)
  3. 尝试打开 .sln

根据您的其他评论,您似乎没有移动解决方案所需的所有文件。如果您将文件存储在其他位置(例如“我的文档”),则需要重新配置这些文件才能使用该解决方案,否则您将不得不模仿环境。

我建议重新配置项目以合并您拥有的任何杂散文件。

于 2013-10-29T17:41:05.637 回答