简体   繁体   English

c#properties\\Resource.Designer.cs 找不到

[英]c# properties\Resource.Designer.cs could not found

i am new in c# i delete i one file from resource now the project not run it show error我是 C# 新手我从资源中删除了一个文件,现在项目没有运行它显示错误

在此处输入图片说明

the error is source file 'properties\\Resource.Designer.cs' could not be found错误是找不到源文件“properties\\Resource.Designer.cs”

now what i need to do现在我需要做什么

Run the mentionned Custom Tool.运行提到的自定义工具。 If it doesn't work, recreate a new project and add a copy of your created source files.如果它不起作用,请重新创建一个新项目并添加您创建的源文件的副本。

Tip for apocalypse defusing : save your work (Workspace or source files), or use a version control such as Git.启示录化解提示:保存您的工作(工作区或源文件),或使用版本控制,例如 Git。

Double click on warning >> press yes button.双击警告>>按是按钮。

This worked for me on VS2012这在 VS2012 上对我有用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM