This topic tells you how to troubleshoot issues you encounter with VMware Tanzu Developer Tools for Visual Studio.
WorkloadNotRunningState error messageIn v0.1.0 and earlier, the Tanzu: Delete Workload command might give the following error message even when a workload is running:
Invalid transition DeleteWorkload from state WorkloadNotRunningState
Re-apply your workload by running Tanzu: Workload Apply or Tanzu: Start Live Update. This realigns the extension’s internal state with the proper workload state. The delete operation is enabled again after the extension detects that the workload is running.
In v0.1.0 and earlier, the Tanzu: Start Live Update command does not update the remote app.
The Tiltfile might be specifying an incorrect local path.
In your Tiltfile, change the lines
live_update=[
sync('./bin', '/workspace')
]
to
live_update=[
sync('./bin/Debug/net6.0', '/workspace')
]
This copies the correct portion of the local workspace to the remote app. The actual path bin/Debug/net6.0 might be different depending on your Visual Studio configuration and target.
In v0.1.0 and earlier, the Tanzu: Delete Workload command appears to run but does not delete the workload.
The workload is running in a namespace other than default.
Only deploy workloads to the default namespace. Alternatively, set the default Kubernetes namespace to the one where your workload is running. To do so, run:
kubectl config set-context --current --namespace=NAMESPACE
ClusterBuilderLive Update does not work when using the Jammy ClusterBuilder.
A fix is planned for Tanzu Application Platform v1.5.1.
waiting on language server...The Tanzu Workloads panel shows waiting on language server....
The language server has not started.
Open workload.yaml or Tiltfile in the editor.
When an application is applied from Visual Studio it restarts frequently.
An application or environment behavior is triggering the application to restart.
Observed trigger behaviors include:
Prevent the trigger behavior. Example solutions include: