Skip to content

Commit

Permalink
Update sln templates to special-case CLI instead of VS (#3953)
Browse files Browse the repository at this point in the history
* Update sln templates to special-case CLI instead of VS

Fixes #3951

* Fix primary outputs
  • Loading branch information
DamianEdwards authored Apr 25, 2024
1 parent fc9d468 commit fe190c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
{
"modifiers": [
{
"condition": "(hostIdentifier == \"vs\")",
"condition": "(hostIdentifier != \"dotnetcli\" && hostIdentifier != \"dotnetcli-preview\")",
"exclude": [
"*.sln"
]
Expand Down Expand Up @@ -219,7 +219,7 @@
"primaryOutputs": [
{
"path": "AspireApplication.1.sln",
"condition": "(hostIdentifier != \"vs\")"
"condition": "(hostIdentifier == \"dotnetcli\" || hostIdentifier == \"dotnetcli-preview\")"
},
{
"path": "AspireApplication.1.AppHost\\AspireApplication.1.AppHost.csproj"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{
"modifiers": [
{
"condition": "(hostIdentifier == \"vs\")",
"condition": "(hostIdentifier != \"dotnetcli\" && hostIdentifier != \"dotnetcli-preview\")",
"exclude": [
"*.sln"
]
Expand Down Expand Up @@ -349,7 +349,7 @@
"primaryOutputs": [
{
"path": "AspireStarterApplication.1.sln",
"condition": "(hostIdentifier != \"vs\")"
"condition": "(hostIdentifier == \"dotnetcli\" || hostIdentifier == \"dotnetcli-preview\")"
},
{
"path": "AspireStarterApplication.1.AppHost\\AspireStarterApplication.1.AppHost.csproj"
Expand Down

0 comments on commit fe190c6

Please sign in to comment.