vb.net - how to properly remove files added under "My Project" in solution explorer?
问题描述
I deleted the file Form1.vb on folder/explorer because I accidentally created it under MyProject in the solutions explorer. but when I tried to rebuild it I'm having below error already.
Severity Code Description Project File Line Suppression State Error Unable to create a manifest resource name for "My Project\Form1.resx". Could not find file 'C:\Users......\My Project\Form1.vb'.
解决方案
文件的所有数据都存储在解决方案本身中,转到解决方案资源管理器,选择文件之一 1.) 右键单击文件夹,单击删除,如果出现提示,请确认删除过程。2.) 左键单击文件夹并按下键盘上的 Delete 键。执行其中任何一项都会将其从您的解决方案中删除,从而从项目中删除。如果您有与 git hub 同步的文件夹,它也会以这种方式更新它,但不要直接从实际的 Windows 资源管理器中删除文件夹,这可能会导致指针问题供参考。
推荐阅读
- sql-server - kafka JDBC Sink Connector 是否跟踪加载到目标数据库的数据?
- sqlite - 使用 SQLite NOT %LIKE% 并返回所有行,即使值为 NULL
- docker-compose - 如何通过 Azure Pipelines 将多个 Docker 映像部署到 Azure 应用服务
- java - 有没有一种在java中使用堆的可靠方法?
- r - S3:在调用 NextMethod() 之前修改默认参数
- java - Java:Three digit Sum - Find out all the numbers between 1 and 999 where the sum of 1st digit and 2nd digit is equal to 3rd digit
- google-apps-script - 为每个编辑器自定义应用程序脚本插件菜单
- python - 令牌认证 - django rest 框架
- flutter - Flutter Slider, How to limit the possible input?
- c# - 在多租户环境中,使用 .Net Core,如何配置 Windows 服务以针对正确的数据库