dotnet / dotnet/sdk

Interactive TFM selection doesn't evaluate TargetFrameworks extracted from file-based apps

Open
#52,271 1 comment 1 reaction 2 assignees Claimed by @jjonescz View on GitHub
Area-run-file untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

The interactive TFM selection added in https://github.com/dotnet/sdk/pull/51509 (cc @jonathanpeppers) extracts TargetFrameworks property without evaluating it and hence it won't work for files like the following:

```cs
#:property TargetFramework=
#:property MyTfm=net9.0
#:property TargetFrameworks=$(MyTfm);net10.0
Console.WriteLine("Hello Multi-TFM");
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.