-
|
While converting an Aspire project to use a single-file AppHost.cs, I ran into an issue. Previously my testing project had a ProjectReference to Once I converted AppHost.cs to a single-project file using var appHost = await DistributedApplicationTestingBuilder.CreateAsync<Projects.AspireOrchestration>(cancellationToken);because Projects.AspireOrchestration was no longer found. (I had not moved the location of AppHost.cs, so it was still in the AspireOrchestration folder, but it no longer had a .csproj file). Is there a syntax (either existing or planned for a future .NET release) for ProjectReferences to a file-based app? Or is the only answer to bring back the .csproj file if you want to have a ProjectReference to it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
It's not currently possible, but it's being considered for a future version. |
Beta Was this translation helpful? Give feedback.
It's not currently possible, but it's being considered for a future version.