-
Notifications
You must be signed in to change notification settings - Fork 520
exception when I try to get started #1024
Comments
Do you have .net 5 installed? |
I got the same issues,after create a tye.yaml, then run successfully |
We are actively looking into this, seems to be an issue when the 6.0 preview SDK is installed. We had a dependency still on msbuild in-process, which we are trying to remove. @davidfowl see #1008 for my attempt of a fix. It's spicy. |
To work around for now, you'd need to uninstall the 6.0-preview SDK (or maybe a global.json file would work, but I haven't tried). |
I met another problem with docker-compose, I can start my app via I add a link for the redis dependency in the version: '2.1'
services:
redis:
container_name: redis
image: redis:alpine
restart: always
healthcheck:
test: ["CMD", "redis-cli", "-h", "127.0.0.1", "PING"]
interval: 30s
timeout: 10s
retries: 10
db:
container_name: mysql
image: mysql:8.0
environment:
- 'MYSQL_ROOT_PASSWORD=Admin888'
restart: always
healthcheck:
test: ["CMD", "mysqladmin", "ping"]
interval: 30s
timeout: 10s
retries: 10
reservation:
build:
context: .
dockerfile: Dockerfile
container_name: reservation
environment:
- 'Reservation_AppSettings__DbType=MySql'
- 'Reservation_ConnectionStrings__ElasticSearch='
- 'Reservation_ConnectionStrings__Reservation=server=db-server;database=Reservation;uid=root;pwd=Admin888;'
- 'Reservation_ConnectionStrings__Redis=redis-server'
ports:
- 65026:80
depends_on:
redis:
condition: service_healthy
db:
condition: service_healthy
links:
- db:db-server
- redis:redis-server
|
WorkaroundUninstalling works around this issue for now. |
@WeihanLi if you try the latest nightlies, do you still see this issue: https://github.com/dotnet/tye/blob/main/docs/getting_started.md#working-with-ci-builds |
Hey @jkotalik, I tried the latest nightly build, the first issue was fixed completely, while the docker-compose network issues still exists. |
Are you saying that |
Describe the bug
Exception when I try to get started...
To Reproduce
Just installed the tool via
dotnet tool install -g Microsoft.Tye --version "0.6.0-alpha.21070.5"
, and then try to runtye run
in the solution dir, but got the exception below:Further technical details
Include the output of
tye --version
:0.6.0-alpha.21070.5+a42e4463943e3136dbd1de38474d8d62b802797c
If possible rerun the command with
-v debug
and include the output:The platform:
Windows
The text was updated successfully, but these errors were encountered: