GridProtectionAlliance / openHistorian

The Open Source Time-Series Data Historian
MIT License
172 stars 52 forks source link

Fix build tools to update version in SDK project files #61

Open contributor51 opened 3 years ago

contributor51 commented 3 years ago

Version info can be set in the csproj file within the new SDK project file format. One way to do this easily is like this: <PropertyGroup<VersionPrefix2.3.306</VersionPrefix</PropertyGroup (see, for example, .\openHistorian\Source\Tools\SampleFunctions\SampleFunctions.csproj)

Stackoverflow has this reference (https://stackoverflow.com/questions/56512069/how-can-you-share-assembly-info-between-vs-2019-formatted-projects#56517268)

Microsoft has this reference (https://docs.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2019)

Build tools need to be updated to catch version info in SDK project files, or GPA needs to adopt a style guide stating that you are going to keep version info in assemblyinfo files.