右键单击“网站和发布网站”
后面是构建------ Build started: Project: Company.CIO.BIA.GTE.DomainModel.Interface, Configuration: Debug Any CPU ------ Company.CIO.BIA.GTE.DomainModel.Interface -> C:\CIO-BIA\GTE\Development\Codes\Business Layer\Company.CIO.BIA.GTE.DomainModel.Interface\bin\Debug\DomainModel.Interface.dll ------ Build started: Project: Company.CIO.BIA.GTE.DataAccess, Configuration: Debug Any CPU ------ Company.CIO.BIA.GTE.DataAccess -> C:\CIO-BIA\GTE\Development\Codes\Data Access Layer\Company.CIO.BIA.GTE.DataAccess\bin\Debug\DataAccess.dll ------ Build started: Project: Company.CIO.BIA.GTE.DomainModel, Configuration: Debug Any CPU ------ Company.CIO.BIA.GTE.DomainModel -> C:\CIO-BIA\GTE\Development\Codes\Business Layer\Company.CIO.BIA.GTE.DomainModel\bin\Debug\DomainModel.dll ------ Build started: Project: Main.Interface, Configuration: Debug Any CPU ------ Main.Interface -> C:\CIO-BIA\GTE\Development\Codes\Main.Interface\bin\Debug\Main.Interface.dll ------ Skipped Build: Project: Main, Configuration: Debug Any CPU ------ Project not selected to build for this solution configuration ------ Build started: Project: C:\...\Company.CIO.BIA.GTE\, Configuration: Debug Any CPU ------ Pre-compiling Web Site Building directory '/Company.CIO.BIA.GTE/App_Code/'. Building directory '/Company.CIO.BIA.GTE/Errors/'. Building directory '/Company.CIO.BIA.GTE/Shared/'. Building directory '/Company.CIO.BIA.GTE/Main/'. Building directory '/Company.CIO.BIA.GTE/UserControl/'. Building directory '/Company.CIO.BIA.GTE/Scripts/JQuery/CLEditor/'. Building directory '/Company.CIO.BIA.GTE/Scripts/JQuery/'. Building directory '/Company.CIO.BIA.GTE/Scripts/'. Pre-compilation Complete ------ Publish started: Project: C:\...\Company.CIO.BIA.GTE\, Configuration: Debug Any CPU ------ Connecting to site C:\CIO-BIA\GTE\Development\Codes\PrecompiledWeb\Company.CIO.BIA.GTE... Deleting existing files... Publishing directory /... Publishing directory App_Themes... Publishing directory App_Themes/Default... Publishing directory bin... Publishing directory Errors... Publishing directory Images... Publishing directory Main... Publishing directory Scripts... Publishing directory Scripts/JQuery... Publishing directory Scripts/JQuery/CLEditor... Publishing directory Scripts/JQuery/CLEditor/images... Publishing directory Shared... Publishing directory SiteMap... Publishing directory Styles... Publishing directory UserControl... Publishing directory WebService... Publishing directory WebService/Batch... ========== Build: 5 succeeded or up-to-date, 0 failed, 1 skipped ========== ========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
我不想构建整个解决方案只是那些在Visual Studio中的Publish Website方法构建的项目。
它的等效MSBUILD命令是什么?除了分配构建配置。
谢谢!
答案 0 :(得分:0)
您可以在命令行中使用项目名称而不是解决方案名称。但要实现这一点,项目必须定义配置,它不能仅依赖于解决方案级别的配置。如果需要,使用配置管理器创建项目级配置。其余的参数都有很好的记录。