dotnet / dotnet/templating

Add properties/items to project file when generating template

Open
#5,812 1 comment 4 reactions 0 assignees View on GitHub
area: authoring feature Priority:2 triage:transfer-to-sdk triaged
Dominant language
No language data
Stars
1.7k
Forks
399
Avg merge
3d 5h
Merged PRs (30d)
39

Description

At the moment the template engine is not capable of modifying any existing files, including project files.
This is an issue for certain class of templates, requiring update of project files in addition to adding new files.

As concrete case, this is required for F# item templates. When adding item template to F# project, it has to be added to project file as well:
```



```

Therefore, to support F# item templates, the engine should be extended to allow project file modification.

Suggested basic F# item templates at the moment:
- F# file - generates empty *.fs file and adds it to project
- F# signature file - generates empty *.fsi file and adds it to project

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.