Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter help doesn't work inside of lamdas #7173

Closed
davidfowl opened this issue May 27, 2024 · 1 comment
Closed

Parameter help doesn't work inside of lamdas #7173

davidfowl opened this issue May 27, 2024 · 1 comment
Assignees
Milestone

Comments

@davidfowl
Copy link
Member

In VS Code parameter help doesn't always work with nested lamdas.

VsCodeParameterHelp.mp4

My code:

using Azure.Provisioning;
using Azure.Provisioning.KeyVaults;

var builder = DistributedApplication.CreateBuilder(args);

builder.AddAzureConstruct("kv", c =>
{
    var p = new Parameter();
    var kv = KeyVault.FromExisting(c, "name");
});

builder.Build().Run();

My csproj

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net8.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <IsAspireHost>true</IsAspireHost>
    <UserSecretsId>37f33d8d-1c1a-4cd2-bc29-54a8055a2dc7</UserSecretsId>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Aspire.Hosting.AppHost" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.Azure.KeyVault" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.Azure.SignalR" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.Azure.Storage" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.Azure.Sql" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.Kafka" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.NodeJs" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.PostgreSQL" Version="8.0.1" />
    <PackageReference Include="Aspire.Hosting.Redis" Version="8.0.1" />
  </ItemGroup>

</Project>
@dibarbet
Copy link
Member

Duplicate of #6670, was resolved in 2.33.17

@dibarbet dibarbet closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants