Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.

Fixing issues in version.h that were causing file description changes.#669

Merged
joperezr merged 1 commit intodotnet:masterfrom
joperezr:FixFileDescriptionVersionIssue
Apr 26, 2016
Merged

Fixing issues in version.h that were causing file description changes.#669
joperezr merged 1 commit intodotnet:masterfrom
joperezr:FixFileDescriptionVersionIssue

Conversation

@joperezr
Copy link
Member

When we added versioning to native components to coreclr repo, we broke the File Description of the assemblies when they had one defined. This changes will only force the versions to be changed, everything else will stay the same if it is already defined.

Once this is merged and consumed by coreclr, it will fix dotnet/coreclr#4367

cc: @weshaggard

FYI: @AndyAyersMS @mikedn

@weshaggard
Copy link
Member

It isn't entirely clear to me how this fixes the issue in coreclr. Did we have actual projects with AssemblyName=build?

@joperezr
Copy link
Member Author

No, the reason why the name was "build" was because the version.h file is only generated once per build, and we do it by calling into the project build.proj. The project don't really have an assembly Name defined so it just uses the name of the proj file as the assembly name. For this reason, we need to respect the file description if is already defined, since individual native projects will define it separately.

@joperezr
Copy link
Member Author

joperezr commented Apr 26, 2016

What we were doing previous to this change, was to override the description that the native projects already defined. This is an example of how native projects define their own file description names.

@weshaggard
Copy link
Member

OK so the only think you are force overriding now is the version then.

LGTM

@joperezr
Copy link
Member Author

joperezr commented Apr 26, 2016

Exactly, only the version will be overridden now.

@joperezr joperezr merged commit 38f5ede into dotnet:master Apr 26, 2016
@joperezr joperezr deleted the FixFileDescriptionVersionIssue branch April 26, 2016 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Corerun (or something) munges the task description on windows

3 participants