gbc*_*a97 8 c# visual-studio nuget fody fody-costura
我已经在应用程序中多次安装了Fody,但是仍然在下面显示此错误,有人可以告诉我为什么会发生吗?我使用最新版本的Visual Studio和最新版本的Framework
Pav*_*lev 19
有时(由于未知原因)FodyWeavers.xml在添加包时无法自动添加。您需要手动将其添加到项目的根目录:
<?xml version="1.0" encoding="utf-8"?>
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<Costura />
</Weavers>
Run Code Online (Sandbox Code Playgroud)
我正在使用Fody 4.2.1和Costura.Fody 3.3.3
我希望它有帮助
就我而言,FodyWeavers.xml已经存在,因为安装了PropertyChanged.Fody库。如果该文件存在,只需添加<Costura />到其中即可。
前
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<PropertyChanged />
</Weavers>
Run Code Online (Sandbox Code Playgroud)
后
<Weavers xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FodyWeavers.xsd">
<PropertyChanged />
<Costura />
</Weavers>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
2275 次 |
| 最近记录: |