Hi @ismcgdas,
I havent received any feedback from you
Hi ismcagdas,
I have invited both users to my repo.
I am getting this error in hroku
2020-06-26T11:02:45.771756+00:00 heroku[web.1]: Starting process with command dotnet VuyisaTech.Easy2Comply.Web.Mvc.dll
2020-06-26T11:03:45.976382+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
Changing ENTRYPOINT ["dotnet", "VuyisaTech.Easy2Comply.Web.Mvc.dll"] to CMD ASPNETCORE_URLS=http://*:$PORT dotnet VuyisaTech.Easy2Comply.Web.Mvc.dll
2020-06-26T11:39:41.100896+00:00 heroku[web.1]: State changed from crashed to starting
2020-06-26T11:39:47.279030+00:00 heroku[web.1]: Starting process with command /bin/sh -c ASPNETCORE_URLS\=http://\*:\39198\ dotnet\ VuyisaTech.Easy2Comply.Web.Mvc.dll
2020-06-26T11:40:47.772202+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2020-06-26T11:40:47.797802+00:00 heroku[web.1]: Stopping process with SIGKILL
2020-06-26T11:40:48.121946+00:00 heroku[web.1]: Process exited with status 137
2020-06-26T11:40:48.193619+00:00 heroku[web.1]: State changed from starting to crashed
I think I am getting closer to a solution but I am stuck again please assist
I managed to get the pipeleine working
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1 AS base WORKDIR /app EXPOSE 80 EXPOSE 443
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build WORKDIR /src COPY ["src/VuyisaTech.Easy2Comply.Web.Mvc/VuyisaTech.Easy2Comply.Web.Mvc.csproj", "src/VuyisaTech.Easy2Comply.Web.Mvc/"] COPY ["src/VuyisaTech.Easy2Comply.Web.Core/VuyisaTech.Easy2Comply.Web.Core.csproj", "src/VuyisaTech.Easy2Comply.Web.Core/"] COPY ["src/VuyisaTech.Easy2Comply.Application/VuyisaTech.Easy2Comply.Application.csproj", "src/VuyisaTech.Easy2Comply.Application/"] COPY ["src/VuyisaTech.Easy2Comply.Application.Shared/VuyisaTech.Easy2Comply.Application.Shared.csproj", "src/VuyisaTech.Easy2Comply.Application.Shared/"] COPY ["src/VuyisaTech.Easy2Comply.Core.Shared/VuyisaTech.Easy2Comply.Core.Shared.csproj", "src/VuyisaTech.Easy2Comply.Core.Shared/"] COPY ["src/VuyisaTech.Easy2Comply.Core/VuyisaTech.Easy2Comply.Core.csproj", "src/VuyisaTech.Easy2Comply.Core/"] COPY ["src/VuyisaTech.Easy2Comply.EntityFrameworkCore/VuyisaTech.Easy2Comply.EntityFrameworkCore.csproj", "src/VuyisaTech.Easy2Comply.EntityFrameworkCore/"] COPY ["src/VuyisaTech.Easy2Comply.GraphQL/VuyisaTech.Easy2Comply.GraphQL.csproj", "src/VuyisaTech.Easy2Comply.GraphQL/"]
RUN dotnet restore "src/VuyisaTech.Easy2Comply.Web.Mvc/VuyisaTech.Easy2Comply.Web.Mvc.csproj"
COPY . .
WORKDIR "/src/src/VuyisaTech.Easy2Comply.Web.Mvc" RUN dotnet build "VuyisaTech.Easy2Comply.Web.Mvc.csproj" -c Release -o /app/build
FROM node:6.7.0 WORKDIR "/src/src/VuyisaTech.Easy2Comply.Web.Mvc" RUN npm install -g yarn RUN npm install -g npm run build
FROM build AS publish RUN dotnet publish "VuyisaTech.Easy2Comply.Web.Mvc.csproj" -c Release -o /app/publish
FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["dotnet", "VuyisaTech.Easy2Comply.Web.Mvc.dll"]
2020-06-26T08:05:20.272878+00:00 app[web.1]: at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetService[T](IServiceProvider provider) 2020-06-26T08:05:20.272878+00:00 app[web.1]: at Microsoft.AspNetCore.Hosting.WebHost.EnsureStartup() 2020-06-26T08:05:20.272879+00:00 app[web.1]: at Microsoft.AspNetCore.Hosting.WebHost.EnsureApplicationServices() 2020-06-26T08:05:20.272879+00:00 app[web.1]: at Microsoft.AspNetCore.Hosting.WebHost.Initialize() 2020-06-26T08:05:20.272879+00:00 app[web.1]: at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() 2020-06-26T08:05:20.272880+00:00 app[web.1]: at VuyisaTech.Easy2Comply.Web.Startup.Program.Main(String[] args) in /src/src/VuyisaTech.Easy2Comply.Web.Mvc/Startup/Program.cs:line 12
@ismcagdas Yes it is can you please give me your credentials so that I can give you access.
Hi gterdem,
it is still giving me the same error
Hi Maliming,
Yes it only exists in the CI pipeline
CSC : error CS5001: Program does not contain a static 'Main' method suitable for an entry point [/src/VuyisaTech.Easy2Comply.Web.Mvc/VuyisaTech.Easy2Comply.Web.Mvc.csproj]