Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
123 views
in Technique[技术] by (71.8m points)

CS0006 Metadat file'C: ...... .ddl' could not be found error! How to fix it? C# using Visual Studio

Okay! So, I have tried

  1. Properties --> configurations--> uncheck/recheck debug/release.. That did not work!

  2. Clean --> Unload --> Reload --> Rebuild. That did not work!

  3. Restarted my laptop. That did not work.

  4. A lot of stack overflow searches later.... I found a helpful answer from the great ebol2000 see link : VS 2017 Metadata file '.dll could not be found

I checked VS's Output window in VS and decided that I should deleted my darn project that I recently created (my code was building fine before I created the project). I created a new project with an older Framework (.NET Framework 4.5.2). That worked!

Please any suggestions?? I need to know because it took me hours to figure this out.

question from:https://stackoverflow.com/questions/65546365/cs0006-metadat-filec-ddl-could-not-be-found-error-how-to-fix-it-c

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...