Skip to content

Fix Shared project references in all service .csproj files#33

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778598910-fix-shared-project-references
Open

Fix Shared project references in all service .csproj files#33
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1778598910-fix-shared-project-references

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot commented May 12, 2026

Summary

Fixed incorrect relative paths for Shared project references in all 5 service .csproj files. The references used ..\..\Shared\ which resolved to Services/Shared/ (nonexistent). Changed to ..\..\..\Shared\ which correctly resolves to src/Shared/ from Services/X/X.API/.

This fix enables docker compose up --build to complete successfully — previously the Docker builds for all services failed with CS0246: The type or namespace name 'Shared' could not be found.

Files changed:

  • src/Services/Customer/Customer.API/Customer.API.csproj
  • src/Services/Identity/Identity.API/Identity.API.csproj
  • src/Services/Order/Order.API/Order.API.csproj
  • src/Services/Product/Product.API/Product.API.csproj
  • src/Services/Notification/Notification.API/Notification.API.csproj

Review & Testing Checklist for Human

  • Run cd src && docker compose up --build and verify all 8 containers start (api-gateway, identity, customer, order, product, notification, postgres, rabbitmq)
  • Verify Swagger UI loads at http://localhost:5001/swagger through http://localhost:5005/swagger
  • Verify API Gateway health check: curl http://localhost:5000/healthz returns Healthy

Notes

  • The notification service may need a restart on first boot if PostgreSQL isn't ready yet (race condition — no health check configured in docker-compose).
  • The API Gateway (port 5000) does not have Swagger — it's a YARP reverse proxy only, with a /healthz endpoint.

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/169ec0ad59f746528f617058b4a404f2


Open in Devin Review

…red instead of ../../Shared

All 5 service .csproj files referenced Shared projects with ../../Shared which
resolved to Services/Shared/ (nonexistent). The correct path is ../../../Shared
to reach src/Shared/ from Services/X/X.API/.
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown
Contributor Author

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants