gboukis
Cadet
Cadet
  • 152 Views

build configuration for multi-project .NET Core 3.1 web app

I am trying to build an image for a single solution multi-project .NET Core 3.1 web project with local dependencies using S2I strategy. Build Config fails due to error   "Skipping Project. Because model project was not found"

oc start-build web-app –from-dir=. --follow  

Directory structure

  • web-app (solution)
  • manifests
  • web
    • web.csproj
    • Dependencies --- Projects --model
  • api
    • api. csproj
    • Dependencies --- model, data_access
  • Model
    • Model.csproj
  • data_access
    • data+access.csproj
Labels (2)
1 Reply
tat
Flight Engineer Flight Engineer
Flight Engineer
  • 42 Views

Re: build configuration for multi-project .NET Core 3.1 web app

Hey @gboukis ,

 

this is just a wild guess, since I am absolutely no .NET expert, but just from the information given, could it be a problem with case sensitivity?

Both, the directory "Model" and the filename "Model.csproj" start with capital letters, while the referenced project is "model".

 

 

best regards,
Alexander
Reply
Loading...
Join the discussion
You must log in to join this conversation.