dotnet / dotnet/templating

Dependency drift across .NET 8 and .NET 9 packages

Open
#8,361 4 comments 1 reaction 1 assignee Claimed by @joeloff View on GitHub
area: infra triage:transfer-to-sdk
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

### Product

dotnet CLI (dotnet new)

### Describe The Bug

Chatted with @sayedihashimi and @phenning today about if/when VS should update to 9.x Template Engine packages, and we saw some discrepancies that are concerning.

.NET 8 package:
![image](https://github.com/user-attachments/assets/94fef31b-20f7-4fab-8555-d665ea04efab)

.NET 9 package:
![image](https://github.com/user-attachments/assets/0f975615-38fd-41b5-93f8-0b3a2b756770)

The big problems I see are:
* the .net framework TFM has floated to something VS can't use - net481. VS requires net472 currently. This comes from the Arcade NetFrameworkCurrent property I think?
* the NS2.0 dependencies dropped the System. deps, which may require work from Phil to consume (he mentioned missing deps in the past)

Were these on purpose? Do we need to have tests to pin the expectations of the VS host so we don't unwittingly violate them?

### To Reproduce

N/A

### dotnet Info

N/A

### Visual Studio Version

_No response_

### Additional context

_No response_

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.