Skip to main content
Became Hot Network Question
added 4 characters in body; edited tags; edited title
Source Link
Richard Seal
  • 20.8k
  • 5
  • 44
  • 79

Publishing Helix Projects/Deploying with Helix Publishing Pipeline

I need to implement a publishing step in a TFS Build deployment Processprocess to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below  . I also created a new website Publishing. Project and added the same and got the samebelow error.:

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error - There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed. I also want the Project website, bin to be generated in the build artifacts.

Publishing Helix Projects with Helix Publishing Pipeline

I need to implement a publishing step in TFS Build deployment Process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below  . I also created a new website Publishing. Project and added the same and got the same error.

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error - There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed. I also want the Project website, bin to be generated in the build artifacts

Publishing/Deploying with Helix Publishing Pipeline

I need to implement a publishing step in a TFS Build deployment process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below . I also created a new website Publishing. Project and added the same and got the below error:

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error -

There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed. I also want the Project website, bin to be generated in the build artifacts.

updated desc
Source Link
Abhay Dhar
  • 1.7k
  • 12
  • 32

I need to implement a publishing step in TFS Build deployment Process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below . I also created a new website Publishing. Project and added the same and got the same error.

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error - There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed. I also want the Project website, bin to be generated in the build artifacts

I need to implement a publishing step in TFS Build deployment Process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below . I also created a new website Publishing. Project and added the same and got the same error.

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error - There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed.

I need to implement a publishing step in TFS Build deployment Process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below . I also created a new website Publishing. Project and added the same and got the same error.

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error - There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed. I also want the Project website, bin to be generated in the build artifacts

Source Link
Abhay Dhar
  • 1.7k
  • 12
  • 32

Publishing Helix Projects with Helix Publishing Pipeline

I need to implement a publishing step in TFS Build deployment Process to generate the Build artifacts. We are using Gulp for our local build/publishing process, but want to try and use HPP for TFS builds.

So first I tried to add the https://github.com/richardszalay/helix-publishing-pipeline Nuget package to my Helix website Project.

I edited the csproj of website and added the below . I also created a new website Publishing. Project and added the same and got the same error.

<ItemGroup>
    <ProjectReference Include="..\..\..\Foundation\*\code\*.csproj" />
    <ProjectReference Include="..\..\..\Feature\*\code\*.csproj" />   
    <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> 
  </ItemGroup>



<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
  <PublishProfile>Company-DEV</PublishProfile>
</PropertyGroup>

<!-- The rest can go into ProjectName.wpp.targets if you prefer -->
<PropertyGroup>
  <AutoPublish Condition="'$(AutoPublish)' == '' and '$(Configuration)' == 'Debug' and '$(BuildingInsideVisualStudio)' == 'true' and '$(PublishProfile)' != ''">true</AutoPublish>

  <AutoPublishDependsOn Condition="'$(AutoPublish)' == 'true'">
    $(AutoPublishDependsOn);
    WebPublish
  </AutoPublishDependsOn>
</PropertyGroup>

But I am getting this error - There is a circular dependency in the target dependency graph involving target "CollectReferencesFromHelixModules".

If I remove this line - <ProjectReference Include="..\..\..\Project\*\code\*.csproj" /> then the error goes away.

Can anyone help to figure out why the circular dependency can be removed.