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

在構(gòu)建服務(wù)器上構(gòu)建沒有 Visual Studio 的 ASP.NET 4

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

問題描述

自從我設(shè)置構(gòu)建服務(wù)器以來已經(jīng)有一段時(shí)間了,所以也許我忘記了一些東西,或者 .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.

我正在嘗試設(shè)置構(gòu)建服務(wù)器來監(jiān)控源代碼控制存儲(chǔ)庫(kù).每當(dāng)發(fā)生變化時(shí),我希望服務(wù)器拉取變化并構(gòu)建項(xiàng)目.如果沒有錯(cuò)誤,我想將站點(diǎn)部署到在構(gòu)建服務(wù)器上運(yùn)行的網(wǎng)站.

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.

過去,當(dāng)我這樣做時(shí),我認(rèn)為只安裝 .NET 就可以做到這一點(diǎn),但是當(dāng)我嘗試構(gòu)建這個(gè)項(xiàng)目時(shí),我收到一個(gè)錯(cuò)誤C:Program FilesMSBuildMicrosoftVisualStudiov11.0WebApplicationsMicrosoft.WebApplication.targets" 不見了,如果我去看看,我可以看到它不見了.事實(shí)上,沒有 Visual Studio 11 目標(biāo)文件.

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.

經(jīng)過深思熟慮和摸不著頭腦,我走出去得到了Windows 8/.NET 4.5 SDK",認(rèn)為 .NET 4.5 SDK 可能會(huì)安裝我需要的目標(biāo)文件,但除非我安裝了它才安裝莫名其妙地錯(cuò)了.

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.

那么,我需要在構(gòu)建服務(wù)器上放置什么才能構(gòu)建項(xiàng)目.我寧愿不必安裝完整的 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.

推薦答案

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

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. 在受支持的操作系統(tǒng)(例如 Windows 7 或 Windows 8)上運(yùn)行 Windows SDK for Windows 8 安裝程序.
  2. 在指定位置"屏幕上選擇以下選項(xiàng):下載 Windows SDK 以在單獨(dú)的計(jì)算機(jī)上安裝.
  3. 按下一步按鈕.
  4. 在加入客戶體驗(yàn)改善計(jì)劃 (CEIP) 屏幕上回答問題.
  5. 在下一個(gè)屏幕上,選擇 .NET Framework 4.5 軟件開發(fā)工具包功能.取消選擇所有其他可以取消選擇的功能.
  6. 選擇下載按鈕.
  7. 轉(zhuǎn)到下載位置(在步驟 2 中指定)并找到以下 .NET Framework 4.5 SDK 工具安裝程序文件:sdk_tools4.msi,sdk_tools4.cab
  8. 您可以將這些文件復(fù)制到組織內(nèi)的 Windows Vista 或 Windows 2008 Server 計(jì)算機(jī)上.這些文件需要復(fù)制到 Windows Vista 或 Windows 2008 Server 計(jì)算機(jī)上的同一目錄中.注意:請(qǐng)勿在您的組織之外或作為任何其他安裝程序的一部分重新分發(fā)這些文件.
  9. 在 Windows Vista 或 Windows 2008 Server 計(jì)算機(jī)上,請(qǐng)?jiān)诖颂幉榭丛S可條款.
  10. 檢查計(jì)算機(jī)上是否已安裝 .NET Framework 4.5.否則,請(qǐng)從 www.microsoft.com 下載并安裝 .NET Framework 4.5.
  11. 以管理員權(quán)限打開命令提示符.
  12. 轉(zhuǎn)到復(fù)制 .NET Framework 4.5 SDK Tools 安裝程序文件的目錄.
  13. 使用命令行安裝 .NET Framework 4.5 SDK 工具:Msiexec/i sdk_tools4.msi VSEXTUI=1

這篇關(guān)于在構(gòu)建服務(wù)器上構(gòu)建沒有 Visual Studio 的 ASP.NET 4.5的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

相關(guān)文檔推薦

Is there a way to know if someone has bookmarked your website?(有沒有辦法知道是否有人為您的網(wǎng)站添加了書簽?)
Determining an #39;active#39; user count of an ASP.NET site(確定 ASP.NET 站點(diǎn)的“活動(dòng)用戶數(shù))
Best way to keep track of current online users(跟蹤當(dāng)前在線用戶的最佳方式)
Publish one web project from solution with msbuild(使用 msbuild 從解決方案發(fā)布一個(gè) Web 項(xiàng)目)
#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))
主站蜘蛛池模板: 亚洲精品久久久久久久久 | 国产精品麻豆免费版 | 国产aⅴ爽av久久久久成人 | 亚洲欧美国产毛片在线 | 色呦呦国产精品 | 国产欧美一区二区三区视频在线观看 | 中日韩毛片 | 精品久久国产 | 97精品在线| 国产精品福利在线 | 免费av网址在线观看 | 国产精品自在线 | 红桃av在线 | 日韩福利视频 | 欧美日韩成人在线 | 在线观看视频一区二区 | 免费一级大片 | 欧美视频在线观看一区 | 日韩精品中文字幕在线观看 | 免费av在线| 激情视频一区 | 日韩中文字幕视频 | 亚洲精品综合 | 中文字幕一区二区三区在线观看 | 草草免费视频 | 精品国产一区二区三区久久久蜜月 | 婷婷久久综合 | 日韩精品视频免费在线观看 | 精品视频在线观看 | 97在线看 | 中文字幕影院 | av在线播放不卡 | 国产青青操 | 日韩小视频 | 亚洲色欧美 | 一级黄色录像片 | 久久精品国产免费 | 色婷婷在线播放 | 黄色在线小视频 | 日韩精品一区二区在线 | 一级真人毛片 |