我见过的示例都是使用相对于nuspec文件位置的路径来指定要包含的文件,例如:
<file src=".\bin\Debug\SomeFile.dll" target="..." />
有没有一种方式可以指定这样一个东西,以便根据我的构建配置使用相应的源目录,即:
- 如果我使用 -Prop Configuration=Debug 打包,则使用 bin\Debug
- 如果我使用 -Prop Configuration=Release 打包,则使用 bin\Release