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

Using a variable for the TargetFramework property fails to generate recommendations #550

Open
96malhar opened this issue May 11, 2022 · 0 comments
Labels
bug This issue is a bug. p2 This is a standard priority issue queued

Comments

@96malhar
Copy link
Contributor

Describe the bug
No recommendations are generated when the project .csproj file uses a variable for the TargetFramework property.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new ASP.NET Core web app
  2. Replace the TargetFramework property group with the following
<PropertyGroup>
    <TargetFrameworkVersion>net5.0</TargetFrameworkVersion>
    <TargetFramework>$(TargetFrameworkVersion)</TargetFramework>
</PropertyGroup>
  1. Perform a deployment using dotnet aws deploy --project-path <projectpath>
  2. No recommendations will be generated for the project.

Expected behavior
Correct recommendations should be generated even when using a variable for the TargetFramework property.


This is a 🐛 bug report

@ashishdhingra ashishdhingra added bug This issue is a bug. p2 This is a standard priority issue queued labels Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. p2 This is a standard priority issue queued
Projects
None yet
Development

No branches or pull requests

2 participants