-
Sorry if dumb question, but I couldn't figure it out. I'm on Aspire preview 5. ALL the examples use magic strings in the apphost and then in the various actuall projects. var myredis = builder.AddRedis("myredis");
var myorleans = builder.AddOrleans("myorleans")
.WithClustering(myredis )
.WithGrainStorage("mygrainstore", myredis ); 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 :-) EDIT: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If you want to do that, then you need to set Shared sources also work. |
Beta Was this translation helpful? Give feedback.
If you want to do that, then you need to set
IsAspireProjectResource="false"
on your project reference:aspire/playground/mongo/Mongo.AppHost/Mongo.AppHost.csproj
Line 17 in f71c302
Shared sources also work.