<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Visualstudio on LeafCxy's Blog</title><link>https://leafcxy.github.io/tags/visualstudio/</link><description>Recent content in Visualstudio on LeafCxy's Blog</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Tue, 22 Jul 2025 01:46:18 +0000</lastBuildDate><atom:link href="https://leafcxy.github.io/tags/visualstudio/index.xml" rel="self" type="application/rss+xml"/><item><title>CS0006未能找到元数据文件</title><link>https://leafcxy.github.io/posts/2025-07-22-3/</link><pubDate>Tue, 22 Jul 2025 01:46:18 +0000</pubDate><guid>https://leafcxy.github.io/posts/2025-07-22-3/</guid><description>&lt;p&gt;在不同的解决方案中把一个项目搬来搬去，终于出现了传说的CSC : error CS0006。&lt;/p&gt;
&lt;p&gt;编译的时候总是提示一个引用中不存在的项找不到元数据文件。&lt;/p&gt;
&lt;p&gt;无论怎样删除项目，删除引用都没法通过生成。&lt;/p&gt;
&lt;!-- more --&gt;
&lt;h2 id="解决方案"&gt;解决方案&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;找到自己的xxx.csproj项目文件&lt;/li&gt;
&lt;li&gt;以文本的方式打开改文件&lt;/li&gt;
&lt;li&gt;找到包含出问题的引用项所在的项，整个删除此项。&lt;/li&gt;
&lt;/ol&gt;</description></item></channel></rss>