Quantcast
Channel: TeamCity : Powerful CI/CD for DevOps-centric teams | The JetBrains Blog
Viewing all articles
Browse latest Browse all 916

Comment on Build, test and deploy .NET Core projects with TeamCity by Richard

$
0
0

I got the following error when publishing to IIS. Anything I miss?

[21:48:25][Step 3/3] Configuring the following project for use with IIS: ‘.\output’
[21:48:25][Step 3/3] No web.config found. Creating ‘.\output\web.config’
[21:48:26][Step 3/3] System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\BuildAgentPlatinumProd\work\81197cfcde494597\src\Api\MarketExposure.Api\output\web.config’.
[21:48:26][Step 3/3] at System.IO.Win32FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent)
[21:48:26][Step 3/3] at System.IO.Win32FileSystem.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent)
[21:48:26][Step 3/3] at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
[21:48:26][Step 3/3] at Microsoft.AspNetCore.Server.IISIntegration.Tools.PublishIISCommand.Run()
[21:48:26][Step 3/3] at Microsoft.AspNetCore.Server.IISIntegration.Tools.Program.c__DisplayClass0_0.b__0()
[21:48:26][Step 3/3] at Microsoft.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
[21:48:26][Step 3/3] at Microsoft.AspNetCore.Server.IISIntegration.Tools.Program.Main(String[] args)
[21:48:26][Step 3/3] Could not find a part of the path ‘C:\BuildAgentPlatinumProd\work\81197cfcde494597\src\Api\MarketExposure.Api\output\web.config’.


Viewing all articles
Browse latest Browse all 916

Trending Articles