❔ Issues separating build artifacts in dev ops
I'm having trouble packaging some artificats in dev ops, I have an IO and an Presntation project. The presentation layer keeps being coppied into the API collateral as well as separately
MainProject.sln
- Model_Library.csproj
- StaticUtilities.csproj
- BlazorServerApp.csproj
- APIWorkerForBlazorServerApp.csproj
Desired goal
* Artifacts
Presentation/
BlazorServerApp.dll
Resources
wwwwroot, etc
API/
APIWorkerForBlazorServerApp.dll
Resources
Actual Outcome
* Artifacts
Presentation/
BlazorServerApp.dll
Resources
wwwwroot, etc
API/
APIWorkerForBlazorServerApp.dll
Resources
Presentation/
BlazorServerApp.dll
Resources
wwwwroot, etc
Build steps are
.NET CORE: Restore
Build API
.NET CORE: Publish to artificat directory
ASP Publish to file location
rx/API
Build Presentation
.NET CORE: Publish to artificat directory
ASP Publish to file location
rx/Presentation
I'm thinking maybe the deploy web app step on I think publish is looking for appsettings.json so it grabs presentation collateral and shoves in inside my io collateral
2 Replies
the solution structure is WHAT now?
you have projects within projects?
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.