-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some users report problems with start bot: "dotnet build" failed #2926
Comments
@benbrown could you provide more information, could this relate to dotnet version? or nuget package update? could you ask them to check the dotnet version or clean up the nuget packages first? |
Hi, when hitting "Start Bot" on the Composer (master branch) I get directline 500 error in Emulator. When running "dotnet build" directly in the localPublish folder I get this error: "MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file." |
Our theory right now is that both problems are due to your path containing spaces, which is causing our We will patch this soon and hopefully this will resolve! |
@zxyanliu Yan, do we have a page in our Composer documentation where we can send people? |
@mareekuh we have this one on the live side, is recently updated here adding the electrons. Should I add "dotnet build" as a prerequisite for the electrons in the docs? If so, I think I can update this article adding electron with "dotnet build" as a prerequisite. |
do we have a specific doc that talks about why Composer needs .NET for the time being? |
I am working on a PR right now, adding .NET Core SDK 3.1 and above to this specific doc. Will follow up shortly. |
@mareekuh The specific doc link is this one. I added both the Bot Framework Emulator and the .NET Core SDK 3.1 as prerequisites before download and install Composer electron in this PR. You can view the specific doc from review side here. The content will go live after publish. @benbrown I was wondering if you could review this specific PR? Thanks. |
|
maybe a bit more whitespace below the intro sentence (ending with ''Learn more") and the " |
This is a lovely error message. Have we determined the root cause of the problem though? |
We probably need to instrument the call to Right now the actual error gets swallowed. It was definitely happening to users who did have Dotnet installed properly. |
I've added to the PR a call to |
@MNHarun did you install .NET Core 3.1 or later? |
The two lists provided by
not showing what is installed? Here's new result,
|
I just tested and was unable to reproduce your issue.
|
I did not go through the setup-yarn, opt to do the desktop application portion of the doc.
There's installation instruction under the "Build Composer from source" topic. |
Yes, the doc applies to both if you see there are different sections: For the desktop application, we only need to install the prerequisites, download the app that fits your platform, install the app. Then you are all set. |
No, you do not need to do 2. |
I was unable to reproduce your error. |
Good morning. I ran into this exact issue this morning. First time installation of Composer on my laptop.
It's not an issue with my dotnet version, if 3.1 is the minimum: |
As a check, I decided to do the build Composer from source option, so to see if something went sideways in my installation. I get the same error. |
@MNHarun I was able to get help to get mine fixed. Can you try some steps to try to see an in-depth error message?
When I did this, I got a full error message on why my build was failing. For me, it was because composer was looking in the wrong location for my packages. I was able to solve this, and now can build bots as expected. |
I'm going to reclose this issue. @MNHarun, if you're still having this issue, please comment and we'll look into it. |
i have got same issue , don't know how to fix it. |
@TheBestBirth , we upgraded the UX in 1.3.0, please go to project settings to custom your runtime: |
@TheBestBirth Did you use Composer v1.3.0 and follow these installation instructions in the doc? |
@zxyanliu @luhan2017 Thank you guys for your support. i managed to find it and noticed that it is to be found under Project Setting as Lu han mentioned. |
@TheBestBirth Great! Thanks for your feedback. |
Hi, i am having a similar issue on v1.3.1 of composer |
What is the exact issue? @devInTheNorth
|
i am new to bot framework composer and i do not know how to "eject my runtime" so can you please give me directions? |
@devInTheNorth First of all, could you please check if you install dotnet3.1 in your local machine? If yes, you could do the follow steps to get more information: |
@devInTheNorth Hi Mate, one other ting that may fix your issue, when you select "get a new of the runtime code" , JS works for me and not C. (FYI) |
I am receiving this error while starting the bot Message:
Output: Determining projects to restore... Build FAILED. /usr/local/share/dotnet/sdk/5.0.201/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.EolTargetFrameworks.targets(28,5): warning NETSDK1138: The target framework 'netcoreapp3.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy. [/Users/sweta/BotFrameworkComposer/hostedBots/29531.9996440776/runtime/azurefunctions/Microsoft.BotFramework.Composer.Functions.csproj] Time Elapsed 00:00:13.32 |
I have installed .Net SDK,BotFramework-Composer all prerequisites met. Still not able to start bot.Can someone pls help? |
Chiming in as somebody experiencing the "dotnet build" error when creating a new bot.
Got the error.
The project folder is still empty, nothing there. .NET: 5.0.301 No spaces in composer path or project path:
|
@heinrich-ulbricht @swetagrover I had this recently. I was able to troubleshoot the actual issue by attempting to create a bot outside Composer using:
In the end, my issue was related to nuget sources. Running
|
Describe the bug
Some users have reported a problem with the start bot button reporting "dotnet build" failing.
The dotnet build step happens in the
localPublish
plugin as part of the management of the local runtime: https://github.com/microsoft/BotFramework-Composer/blob/master/Composer/plugins/localPublish/src/index.ts#L173So far, people who have reported this are building locally and using the browser version. Both are using Windows.
The text was updated successfully, but these errors were encountered: