Skip to content
Discussion options

You must be logged in to vote

I tried creating a constants project which is referenced by XX.AppHost but that doesn't seem to work, probably because it thinks I'm adding it to the orchestration :-)

If you want to do that, then you need to set IsAspireProjectResource="false" on your project reference:

<ProjectReference Include="..\..\..\src\Aspire.Hosting.Azure\Aspire.Hosting.Azure.csproj" IsAspireProjectResource="false" />

Shared sources also work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@swegele
Comment options

Answer selected by swegele
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants