dotnet / dotnet/msbuild

Properties as attributes on Project element

Open
#1,679 3 comments 3 reactions 0 assignees View on GitHub
Area: Language needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Hey friends,
With all the great strides that are happening with the *proj format, wouldn't it be neat if you could set property values as attributes on the root project element?

f.e, before:

```


Exe
netcoreapp1.0

```

after

``

This would only be a short hand and most people would set most of their properties the old way, but it would get some of those properties you always set out of the way.

In my mind this would be for properties only, not Items, so the names would not be ambiguous in that sense. They'd then be pre processed into regular property groups (if I remember correctly there is a preprosessor step that transforms the sdk property already correct?)

What do you think?

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.