Programmer:)

[Error:WPF] Fody로 .dll 포함 build (Visual Studio 2017 #Error Fody: No weavers found. Add the desired weavers via their nuget package) 본문

DEV/Error

[Error:WPF] Fody로 .dll 포함 build (Visual Studio 2017 #Error Fody: No weavers found. Add the desired weavers via their nuget package)

ryeggg 2021. 7. 2. 10:31
반응형

version : Visual Studio 2017

error massege

#Error Fody: No weavers found. Add the desired weavers via their nuget package

#error : Fody: No configured weavers. It is possible you have not installed a weaver or have installed a fody weaver nuget into a project type that does not support install.ps1. You may need to add that weaver to FodyWeavers.xml manually. 

.

.

 

 

solution

****이미 설치되어있으면 다운그레이드 할 것.****

#nuget패키지

1.fody(ver.4.0.2)설치

2.Costura.Fody(ver.3.3.3)설치

 

#프로젝트 파일 내 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>

Visual Studio 재시작 후 Build작업 진행 

반응형
Comments