简体   繁体   中英

C# missing assembly.cs App.Config and Program.cs

I submitted this C# assignment in my school and they are using Moodle LMS.

The file that I submitted is LotterGame.csproj , I've tested the and run the file before and after submission. 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.

.csproj file contains the list of files and references to assemblies. Best practice is to upload your entire solution to your personal Github and share it with your school.

GitHub link: 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?

https://docs.microsoft.com/en-us/visualstudio/ide/solutions-and-projects-in-visual-studio?view=vs-2017

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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