摘要:
1.nuget常用命令 nuget spec a bin\Debug\DllName.dll f //根据dll生成.nuspec文件,这样会生成无用的默认标签,比如licenseUrl、tags等 cd [ProjectDir] nuget pack //建议根据项目生成nupkg,并从中解压出n 阅读全文
摘要:
Unity的注入有3种方式:构造函数、[Dependency]属性、[InjectionMethod]方法。这3种方式涉及到的interface或class都会去Registrations里找,找不到会报could not be resolved的exception。 这里有个小坑:用[Depen... 阅读全文