我尝试用 aspnet_compiler 编译我的 web 项目。
aspnet_compiler -f -fixednames -u -v / -p C:\test\testproj\testproj c:\test\output -c
testproj 是一个依赖于名为 MyLib 的类库的网站。
问题是aspnet_compiler 只编译网站而不编译类库MyLib。因此,每当我对类库进行更改时,我都必须使用 msbuild 手动构建 MyLib 并复制 .dll。或者在 Visual Studio 中重建解决方案。
如何让 aspnet_compiler 重建所有引用的项目?