3 months ago
dotnet publish --no-restore -c Release -o out
1s
Welcome to .NET 10.0!
---------------------
SDK Version: 10.0.103
----------------
Installed an ASP.NET Core HTTPS development certificate.
To trust the certificate, run 'dotnet dev-certs https --trust'
Learn about HTTPS: https://aka.ms/dotnet-https
----------------
Write your first app: https://aka.ms/dotnet-hello-world
Find out what's new: https://aka.ms/dotnet-whats-new
Explore documentation: https://aka.ms/dotnet-docs
Report issues and find source on GitHub: https://github.com/dotnet/core
Use 'dotnet --help' to see available commands or visit: https://aka.ms/dotnet-cli
--------------------------------------------------------------------------------------
/mise/installs/dotnet/10.0.103/sdk/10.0.103/Microsoft.Common.CurrentVersion.targets(2189,5): warning MSB9008: The referenced project ../SharedKernel/ModernERP.SharedKernel.csproj does not exist. [/app/ModernERP.Api.csproj]
CSC : error CS2021: File name '**/*.razor' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long [/app/ModernERP.Api.csproj]
CSC : error CS2001: Source file '**/*.razor' could not be found. [/app/ModernERP.Api.csproj]
CSC : error CS2021: File name '**/*.cshtml' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long [/app/ModernERP.Api.csproj]
CSC : error CS2001: Source file '**/*.cshtml' could not be found. [/app/ModernERP.Api.csproj]
CSC : error CS2021: File name '**/*.cs' is empty, contains invalid characters, has a drive specification without an absolute path, or is too long [/app/ModernERP.Api.csproj]
CSC : error CS2001: Source file '**/*.cs' could not be found. [/app/ModernERP.Api.csproj]
ERROR: failed to build: failed to solve: process "dotnet publish --no-restore -c Release -o out" did not complete successfully: exit code: 1
1 Replies
Status changed to Awaiting Railway Response Railway • 3 months ago
3 months ago
Does the build process work locally?
And also, have you tried using absolute paths? (I'd try using Docker if you're currently not using it to minimize cross-platform/environment issues).