[英]C# missing assembly.cs App.Config and Program.cs
I submitted this C# assignment in my school and they are using Moodle LMS.我在我的学校提交了这个 C# 作业,他们正在使用 Moodle LMS。
The file that I submitted is LotterGame.csproj
, I've tested the and run the file before and after submission.我提交的文件是
LotterGame.csproj
,我已经在提交前后测试并运行了该文件。 I thought it was all good but when my instructor open the file for checking the program doesn't run anymore.我认为这一切都很好,但是当我的老师打开文件检查程序时,程序不再运行。
Does anybody know how I can recover this and make this work?有谁知道我如何恢复这个并使其工作?
Thanks谢谢
Prompt message when I open the .csproj打开 .csproj 时的提示信息
When I click OK after image above当我在上图后单击“确定”时
Prompt message clearly explains the security aspects to the person who is opening the file from unknown source.提示消息向从未知来源打开文件的人清楚地解释了安全方面。 As long as receiver (school) can trust you, no need to worry.
只要接收方(学校)可以信任你,就不用担心。
As tkausl
rightly said it won't contain any source code.正如
tkausl
正确地说它不会包含任何源代码。
.csproj
file contains the list of files and references to assemblies. .csproj
文件包含文件列表和对程序集的引用。 Best practice is to upload your entire solution to your personal Github and share it with your school.最佳做法是将您的整个解决方案上传到您的个人 Github 并与您的学校分享。
GitHub link: https://github.com/ GitHub 链接: https : //github.com/
I wish your school explained you the basics of project structure.我希望你的学校向你解释了项目结构的基础知识。 Anyways here is few good reads
无论如何,这里很少有好的读物
What does the .csproj file do? .csproj 文件有什么作用?
https://docs.microsoft.com/en-us/visualstudio/ide/solutions-and-projects-in-visual-studio?view=vs-2017 https://docs.microsoft.com/en-us/visualstudio/ide/solutions-and-projects-in-visual-studio?view=vs-2017
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.