-
Notifications
You must be signed in to change notification settings - Fork 528
Publish script is broken #3387
Comments
Can you share more on the error message that you get please? I can’t repro with the latest bits and dot net publish called in the directory works OK? Could you also confirm the .netcore version you have installed please and whether the VA project (trying to be published) builds without any errors (dotnet build or build in VS) |
I'll try to get back to you on these other check boxes when I get a bit more time---probably tomorrow. EDIT: @darrenj I got your updates.
Contents of
VA project builds without any errors. @darrenj Nice talk at Build by the way. I wish there was a template to simply deploy what you demoed live, in particular, the adaptive dialogs. P.S. Line 213 of
should be
I'll create a separate issue if I get time. |
Also, here's what happens when you accept the changes in my PR #3390.
Everything works! |
Thanks @ericchansen On the Get-Date issue - it works fine for me with powershell core? Can you confirm the version your running? |
Change looks good, thanks for your contribution! 🙏 |
@darrenj Looks like I'm using 7.1.0 locally. What's more important is what Azure DevOps supports out of the box. Here are some pics of my release pipeline. The PowerShell inline code. Looks like it works. It's using PS 7.0.1 by default. The Azure PowerShell inline code. Also works. It's using 5.1.x by default. So I'm guessing that going from PowerShell 7.0.x to 7.1 is when this thing breaks. Maybe we should make the change from |
Indeed - let me check tomorrow and see if is a pwsh bug? |
Thanks @ericchansen - from looking at these docs it seems Raised a PR to merge this change into next branch. With a new update to SDK pending we will update VSIXs to incorporate this and merge into master at that point. |
What project is affected?
Virtual Assistant
What language is this in?
C#
What happens?
The publish script is broken.
What are the steps to reproduce this issue?
Try to use the publish script from a random directory.
What were you expecting to happen?
I expected it to work.
Can you share any logs, error output, etc.?
Any screenshots or additional context?
The dotnet publish command requires a project or solution.
The text was updated successfully, but these errors were encountered: