How to Deploy ASP.NET Website Projects Without Project Files?

0
7
Asked By CreativeCoder87 On

I'm looking for advice on CI/CD deployment for a .NET Framework 4.7 website project that doesn't have a .csproj or similar project file. Specifically, I'm trying to publish using commands like 'msbuild ./ /t:Publish /p:PublishDir=publish', but it's not functioning as expected. Has anyone dealt with a similar situation and can offer suggestions? Thanks in advance!

1 Answer

Answered By TechSavvy24 On

Make sure you’re testing the build command locally first, and then integrate that into your CI/CD pipeline. Sometimes local issues can affect your deployment process.

CuriousDev92 -

I’ve definitely tried this locally first before attempting it in CI/CD, but it isn’t working in either case.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.