久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

在構建服務器上構建沒有 Visual Studio 的 ASP.NET 4

Build ASP.NET 4.5 without Visual Studio on Build Server(在構建服務器上構建沒有 Visual Studio 的 ASP.NET 4.5)
本文介紹了在構建服務器上構建沒有 Visual Studio 的 ASP.NET 4.5的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

自從我設置構建服務器以來已經有一段時間了,所以也許我忘記了一些東西,或者 .NET 4.5 可能與我上次使用的任何版本不同,但這是我的問題.

Its been a while since I setup a Build Server so maybe I've forgotten something or maybe .NET 4.5 is different from whatever version I did this with last time, but here is my problem.

我正在嘗試設置構建服務器來監控源代碼控制存儲庫.每當發生變化時,我希望服務器拉取變化并構建項目.如果沒有錯誤,我想將站點部署到在構建服務器上運行的網站.

I'm trying to setup a build server to monitor a source control repository. Whenever something changes, I want the server to pull the changes and build the project. If there are no errors, I want to deploy the site to a web site running on the build server.

過去,當我這樣做時,我認為只安裝 .NET 就可以做到這一點,但是當我嘗試構建這個項目時,我收到一個錯誤C:Program FilesMSBuildMicrosoftVisualStudiov11.0WebApplicationsMicrosoft.WebApplication.targets" 不見了,如果我去看看,我可以看到它不見了.事實上,沒有 Visual Studio 11 目標文件.

In the past when I did this, I thought that I was able to do this having only .NET installed, but when I try to build this project I get an error that "C:Program FilesMSBuildMicrosoftVisualStudiov11.0WebApplicationsMicrosoft.WebApplication.targets" is missing, and if I go and look I can see that it is missing. In fact there are no Visual Studio 11 targets files.

經過深思熟慮和摸不著頭腦,我走出去得到了Windows 8/.NET 4.5 SDK",認為 .NET 4.5 SDK 可能會安裝我需要的目標文件,但除非我安裝了它才安裝莫名其妙地錯了.

After a lot of thought and head scratching, I went out and got the "Windows 8/.NET 4.5 SDK" thinking that the .NET 4.5 SDK might install the targets files that I needed, but it did not unless I installed it wrong somehow.

那么,我需要在構建服務器上放置什么才能構建項目.我寧愿不必安裝完整的 Visual Studio 2012.

So, what do I need to put on the Build Server in order to get the project to build. I would prefer not to have to install the full Visual Studio 2012.

推薦答案

我的問題與安裝有關Windows 2008 Box 上適用于 Windows 8 的 Windows 軟件開發工具包 (SDK).如果您在該頁面上進一步閱讀,您將看到標有Windows Vista 和 Windows Server 2008 上的 .NET Framework 4.5 SDK 工具"的標題.這告訴你:

My problem was related to installing the Windows Software Development Kit (SDK) for Windows 8 on a Windows 2008 Box. If you read further on the page, you will get to a heading labeled ".NET Framework 4.5 SDK Tools on Windows Vista and Windows Server 2008." This tells you to:

  1. 在受支持的操作系統(例如 Windows 7 或 Windows 8)上運行 Windows SDK for Windows 8 安裝程序.
  2. 在指定位置"屏幕上選擇以下選項:下載 Windows SDK 以在單獨的計算機上安裝.
  3. 按下一步按鈕.
  4. 在加入客戶體驗改善計劃 (CEIP) 屏幕上回答問題.
  5. 在下一個屏幕上,選擇 .NET Framework 4.5 軟件開發工具包功能.取消選擇所有其他可以取消選擇的功能.
  6. 選擇下載按鈕.
  7. 轉到下載位置(在步驟 2 中指定)并找到以下 .NET Framework 4.5 SDK 工具安裝程序文件:sdk_tools4.msi,sdk_tools4.cab
  8. 您可以將這些文件復制到組織內的 Windows Vista 或 Windows 2008 Server 計算機上.這些文件需要復制到 Windows Vista 或 Windows 2008 Server 計算機上的同一目錄中.注意:請勿在您的組織之外或作為任何其他安裝程序的一部分重新分發這些文件.
  9. 在 Windows Vista 或 Windows 2008 Server 計算機上,請在此處查看許可條款.
  10. 檢查計算機上是否已安裝 .NET Framework 4.5.否則,請從 www.microsoft.com 下載并安裝 .NET Framework 4.5.
  11. 以管理員權限打開命令提示符.
  12. 轉到復制 .NET Framework 4.5 SDK Tools 安裝程序文件的目錄.
  13. 使用命令行安裝 .NET Framework 4.5 SDK 工具:Msiexec/i sdk_tools4.msi VSEXTUI=1

這篇關于在構建服務器上構建沒有 Visual Studio 的 ASP.NET 4.5的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

Is there a way to know if someone has bookmarked your website?(有沒有辦法知道是否有人為您的網站添加了書簽?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點的“活動用戶數)
Best way to keep track of current online users(跟蹤當前在線用戶的最佳方式)
Publish one web project from solution with msbuild(使用 msbuild 從解決方案發布一個 Web 項目)
#39;dotnet restore#39; vs. #39;nuget restore#39; with TeamCity(使用 TeamCity 的“dotnet restore與“nuget restore)
Could not load file or assembly #39;Microsoft.Build.Framework#39;(VS 2017)(無法加載文件或程序集“Microsoft.Build.Framework(VS 2017))
主站蜘蛛池模板: 精品视频国产 | 国产综合精品 | 免费在线一区二区 | 精品免费国产一区二区三区四区介绍 | 国产精产国品一二三产区视频 | 成人精品鲁一区一区二区 | 欧美亚洲日本 | 欧美一级黄色片在线观看 | 欧美日韩国产综合在线 | 视频一区在线观看 | 国产精品久久久久久久久久久久午夜片 | 日本精品视频一区二区 | 欧日韩在线 | 成人免费毛片在线观看 | 欧美一级一 | 日韩精品视频在线 | 视频一区二区三区中文字幕 | 91精品国产综合久久久久久丝袜 | ww 255hh 在线观看| 国产精品久久久久久久久久久久 | 欧美日韩视频在线第一区 | 91av视频在线观看 | 国产一区二区精品在线观看 | 欧美激情99| 国产视频在线一区二区 | 亚洲 欧美 另类 综合 偷拍 | 91高清视频| 国产真实精品久久二三区 | 99精品欧美一区二区三区 | 国产福利91精品一区二区三区 | 亚洲一区二区三区在线视频 | 男女又爽又黄视频 | 日本免费网| 日本精品一区二区三区在线观看视频 | 精品一区二区久久久久久久网站 | 久久夜视频 | 久久精品免费 | 日韩精品一区二区三区在线播放 | 亚洲中国字幕 | 国产精品777一区二区 | 精品国产99 |