Setup default RunCommand in case MSBuild project RunCommand is undefined#608
Setup default RunCommand in case MSBuild project RunCommand is undefined#608alexfdezsauco wants to merge 1 commit into
Conversation
|
When? |
Good question. I have a project configuration where the project instance RunCommand property is empty, but not sure why. |
|
I know this will sound stupid but does the project build ? Also can you share a repro somehow ? |
|
@tebeco Yes, it builds. I will try to extract the repo (but it will take longer than the time it took me to find this problem). With this default RunCommand, I'm was to continue to work and host the solution on Tye. Well, now I noticed, that it requires a second |
|
I will close this because it is not a definitive solution. It requires to |
|
@tebeco @davidfowl Well I set So, if TargetFramework is undefined even when TargetFrameworks have values the RunCommand will be empty at least on my configuration. |
|
Welcome the the club, see #564 Good news is that you just need to wait for this to be merged : also you can ALREADY edit you yaml by adding name: app-with-targetframeworks
services:
- name: multipletargetframeworks
project: MultipleTargetFrameworks/MultipleTargetFrameworks.csproj
buildProperties:
- name: TargetFramework
value: netcoreapp3.1 |
Sometimes a project RunCommand can't be resolved
Such situation causes that process launch failed.