我在这个主题上看过很多其他帖子,但没有一个可以解决我的问题(我正在试着让我的头发工作!).我正在尝试在VS2013(Windows 8.1)中创建一个简单的单页网站并在Firefox中查看该页面而我无法做到 - 我得到"无法启动IIS Express Web服务器"
然后我收到来自IIS Express的错误消息"正在使用指定的端口:进程IIS Express已经使用了端口8080(进程ID'6332')建议:1.尝试切换到8080及更高版本以外的端口比1024. 2)停止使用端口'8080'的应用程序
当我点击Open Log File链接时,我得到:
Failed to register URL "http://localhost:8080/" for site "WebSite1" application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)
Failed to register URL "http://localhost:63997/" for site "WebApplication2" application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)
Failed to register URL "http://localhost:64532/" for site "WebApplication3" application "/". Error description: Cannot create a file when that file already exists. (0x800700b7)
Registration …Run Code Online (Sandbox Code Playgroud) 我们刚刚升级到 TFS2015(现场),我正在尝试设置一个构建,该构建将执行与我的 xaml 构建相同的操作,但我似乎无法构建相同的文件。这是我用来发布站点的 xaml 输出目录的图片。为了得到这个,我导航到 build 文件夹,然后深入到 _PublishedWebsites\BOTWitecoreWeb 文件夹:
这是解决方案资源管理器的图片:
正如你所看到的 BOTWSitecoreWeb 是我的启动项目,它构成了网站的基础。因此,要发布此网站,我只需将文件夹:_PublishedWebsites\BOTWSitecoreWeb 复制到我的 IIS 目录。这是使用 xaml 构建的样子:
如果我深入到 TFS2015 构建输出文件夹中的 Drops/Source/sc/Website 文件夹,我会得到这个,其中包含比我预期的更多的文件和文件夹:
所以我的问题是如何获得与当前从 TFS2015 构建的 xaml 构建中获得的输出相同的输出?
bin 文件夹具有相同数量的文件,因此这是一个好的开始。这是 xaml 构建中的 bin 文件夹:
这是来自 TFS 2015 版本的 bin 文件夹。请注意,它们都有 57 个文件,我认为这是一件好事!
预先感谢您提供的任何见解!
本