Skip to content

Conversation

@ptorr-msft
Copy link
Contributor

Clarified how developers should manage generated files. Addresses #1042

Clarified how to correctly manage generated files in the comment.
@kennykerr
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

// add this file to your project, as any changes you make will be lost.
//
// If this is a new file:
// 1. Copy this file from the 'Generated Files' directory into the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that the name "Generated Files" did not come from cppwinrt.exe. It came from the Visual Studio <GeneratedFilesDir> property in Directory.Build.props. Somebody who uses a different build system (like Razzle) will have an output directory that isn't named "Generated Files".

Perhaps

Suggested change
// 1. Copy this file from the 'Generated Files' directory into the
// 1. Copy this file from its current location into the

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. The problem is that "current location" is relative, so if you've already moved / copied the file and then "forget" you already did it, the "current location" is actually the proper location. I'll change it to "original location" (which is still not super helpful, but...).

ptorr-msft and others added 8 commits October 21, 2021 09:24
Accept Raymond's suggestion

Co-authored-by: Raymond Chen <oldnewthing@users.noreply.github.com>
Accept Raymond's suggestion

Co-authored-by: Raymond Chen <oldnewthing@users.noreply.github.com>
Accept Raymond's suggestion

Co-authored-by: Raymond Chen <oldnewthing@users.noreply.github.com>
Accept Raymond's suggestion

Co-authored-by: Raymond Chen <oldnewthing@users.noreply.github.com>
Accept Raymond's suggestion

Co-authored-by: Raymond Chen <oldnewthing@users.noreply.github.com>
More cleanup based on Raymond's feedback.
@kennykerr
Copy link
Collaborator

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kennykerr kennykerr merged commit 2f1e651 into microsoft:master Oct 25, 2021
@ptorr-msft ptorr-msft deleted the component_writers_update branch October 25, 2021 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants