Open oising opened 3 years ago
Having gone through this a few dozen times now, every time -- without fail -- it takes three attempts. Same issue with --docker
mode.
@oising Do you see this every time, even with new applications, or only with certain applications? I've run into this on occasion (but not in a while); it typically had to do with Tye not shutting down properly which left some cruft in the .tye
folder that eventually gets cleaned on subsequent runs.
I only have one application that I'm building, based on MSFT Orleans. It happens every time, and for the last 30+ attempts, it always takes three attempts to execute correctly. Very bizarre!
Anyone found the solution for the issue. I just started to get the error and couldn't figure out the way to resolve it. I tried reinstalled tye but didn't help.
No, I just stopped using Tye.
Looks like it's due failure to build dependency Db Project I just scaffolded.
I face the same issue. Any updates ?
The .NET CLI tools seems to get stuck and fail to build with no errors. My solution builds fine in VS.
<User> <Dir> % tye run --watch
Loading Application Details...
Evaluating project failed with exit code 1
Drats! 'run' failed:
<User> <Dir> % dotnet build
MSBuild version 17.4.0-preview-22428-01+14c24b2d3 for .NET
Build FAILED.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.00
I'm also facing this. Tried running multiple times, in different terminals, restarting. I dont see .tye folder.. any other suggestions?
We faced this problem after installing Visual Studio with the latest version of .net (7). We deleted any folders in the C:\Program Files\dotnet\sdk
that were greater than version 6.
Tye: 0.10.0-alpha.21420.1+7cec0655cc474aee8d3c3a3d180678985209d439 Docker Desktop: 4.1.1 (69879) Win11: 22000.258 Dotnet Runtime: 5.0.402
When trying to execute
tye run
, it takes a couple of attempts for it to work. The first couple usually fail with: "Evaluated project metadata file could not be found for service X"example:
These three attempts were only a few seconds apart.