-
Notifications
You must be signed in to change notification settings - Fork 119
Read version information from project.json #29
Comments
One question, should the project.json file be loaded as a Configuration File on ASP.NET Core 1 using a ConfigurationBuilder or should it be loaded in a different way? Trying to figure out the best way to load the file and get the config information from it. |
Are there any other options how to load it? Will |
I don't see problems with |
I will try ConfigurationBuilder then. Just need to add an additional nuget to the project: Microsoft.Extensions.Configuration.Json. Does the appsettings.json contain version info? |
I am sorry for the confusion. I got the question wrong. No, appsettings will not contain the version info. |
Commit for #29 - Read version information from project.json
Does this work without any configuration? Or I need to set up this to work? |
Implement telemetry initializer that populates
telemetry.Component.Version
to the value read from project.json.This was blocked before by the issue in Configuration package. More details: aspnet/Configuration#115
The text was updated successfully, but these errors were encountered: