如何使aspnet_compiler编译项目依赖?
我尝试用aspnet_compiler编译我的web项目。
aspnet_compiler -f -fixednames -u -v / -p C:testtestprojtestproj c:testoutput -c
testproj是一个依赖于名为MyLib的类库的网站。
问题是aspnet_compiler只编译网站而不是类库MyLib。
因此,每当我对类库进行更改时,我必须使用msbuild手动构建MyLib并复制.dll。或者在visual studio中重建解决方案。
如何让aspnet_compiler重建所有引用的项目?
没有找到相关结果
已邀请:
1 个回复
冲汉
如果您使用的是Visual Studio 2010,则可以将Web站点迁移到ASP.NET Web应用程序项目,该项目使用可以使用MSBUILD编译的.csproj文件(无需额外下载):