Hi! Hosting a .NET MVC Client front end for my azure api, everything builds fine until i get this error in Render console.
I have a main project.solution folder (root), which contains 2 subdirectories: API directory, and a Client directory which contains the Dockerfile, with a .csproj file, and a program.cs file.
Jul 28 01:10:35 PM #11 [build 4/6] RUN dotnet restore
Jul 28 01:10:35 PM #11 0.304 MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
Jul 28 01:10:35 PM #11 ERROR: process “/bin/sh -c dotnet restore” did not complete successfully: exit code: 1
Jul 28 01:10:35 PM ------
Jul 28 01:10:35 PM > [build 4/6] RUN dotnet restore:
Jul 28 01:10:35 PM #11 0.304 MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
Jul 28 01:10:35 PM ------
Jul 28 01:10:35 PM Dockerfile:9
Jul 28 01:10:35 PM --------------------
Jul 28 01:10:35 PM 7 | # Copy the project file(s) and restore dependencies
Jul 28 01:10:35 PM 8 | COPY *.csproj ./
Jul 28 01:10:35 PM 9 | >>> RUN dotnet restore
Jul 28 01:10:35 PM 10 |
Jul 28 01:10:35 PM 11 | # Copy the remaining source code
Jul 28 01:10:35 PM --------------------
Jul 28 01:10:35 PM error: failed to solve: process “/bin/sh -c dotnet restore” did not complete successfully: exit code: 1