Deploying to Umbraco Cloud with additional project...
# help-with-umbraco
d
Hi everyone, i've been dealing with deployment issues for my trial umbraco cloud site since adding an extra project to VS Solution and which is called my my main umbraco project. getting error below from git when trying to deploy:
Copy code
Remote: Get-Content : Cannot find path         
Remote: 'C:\home\site\repository\src\UmbracoProject.Core\umbraco-cloud.json' because         
Remote: it does not exist.        
Remote: At C:\home\SiteExtensions\Umbraco.Cloud.Deployment.SiteExtension.Artifacts.Core        
Remote: \umbraco-deploy\EnsureUmbracoDeployExtraction.ps1:21 char:17        
Remote: +         $JSON = Get-Content $jsonFilePath | Out-String | ConvertFrom- ...        
Remote: +                 ~~~~~~~~~~~~~~~~~~~~~~~~~        
Remote:     + CategoryInfo          : ObjectNotFound: (C:\home\site\re...raco-cloud.js         
Remote:    on:String) [Get-Content], ItemNotFoundException        
Remote:     + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetCo         
Remote:    ntentCommand        
Remote:
I was led to believe I only need an umbraco-cloud.json file in main project, is this incorrect?
s
How does your .umbraco file (in the repository root) look like? It should point to the main project. And yes, you only need umbraco-cloud.json in the main project.
d
base = "src/UmbracoProject" csproj = "UmbracoProject.csproj" base = "src/UmbracoProject.Core" csproj = "UmbracoProject.Core.csproj"
thanks for the response, it looks as above
10 Views