[C#] fix the location of FodyWeavers.xml (#3782)

* fix fody weavers xml location

* update c# petstore sample
This commit is contained in:
wing328
2016-09-13 18:05:42 +08:00
committed by GitHub
parent 07eff7116b
commit 19047c2eec
11 changed files with 320 additions and 29 deletions

View File

@@ -253,7 +253,7 @@ public class CSharpClientCodegen extends AbstractCSharpCodegen {
}
if(Boolean.TRUE.equals(generatePropertyChanged)) {
supportingFiles.add(new SupportingFile("FodyWeavers.xml", "", "FodyWeavers.xml"));
supportingFiles.add(new SupportingFile("FodyWeavers.xml", packageFolder, "FodyWeavers.xml"));
}
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));