Replies: 7 comments 7 replies
-
It works just like any other website publishing. You can use |
Beta Was this translation helpful? Give feedback.
-
Thanks - I tried publishing with VS 2022 as normal but it produced NuGet packages in that folder and no launchable codebase. I'll try again. |
Beta Was this translation helpful? Give feedback.
-
Actually I used Build -> Publish Selection, not command line. I can try using command line. |
Beta Was this translation helpful? Give feedback.
-
Which exact folder should I be trying to publish? What I'm seeing in Solution Explorer: Solution 'OrchardCore'
|
Beta Was this translation helpful? Give feedback.
-
This seems to have done the trick. The code looks right now in the server folder. I have a 403, but that's a separate issue. Thanks for the help. |
Beta Was this translation helpful? Give feedback.
-
Could you please tell me where my web app would be found in the file structure? I don't think /build looks right but I could be wrong. Solution 'OrchardCore' /build |
Beta Was this translation helpful? Give feedback.
-
Based on what you said, I navigated to the /src folder in CLI and tried this: I got an error: Based on this error, it would seem I need to include the -f or --framework flag. Would that be something like this? |
Beta Was this translation helpful? Give feedback.
-
Hello! Thanks in advance.
I have a working Orchard Core CMS site built locally using Visual Studio 2022. It's connected to a SQL Server database. I'm ready to test publishing. If anyone has pointers or links to documentation, I'd appreciate it. I couldn't find anything in the current Orchard Core docs.
Using Visual Studio, I tried to publish like you would a .NET web app. I went to "Publish" although not listed as an option in the Solution Explorer. I chose to publish to a folder. I added the folder and so forth to create a publishing profile. It was "successful" but the web server folder now has 2 files: a NUPKG file and a SNUPKG file.
Please advise on how to publish to a web server.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions