-
Notifications
You must be signed in to change notification settings - Fork 263
Update comments written by component_writers.h #1043
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update comments written by component_writers.h #1043
Conversation
Clarified how to correctly manage generated files in the comment.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
cppwinrt/component_writers.h
Outdated
| // 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 |
There was a problem hiding this comment.
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
| // 1. Copy this file from the 'Generated Files' directory into the | |
| // 1. Copy this file from its current location into the |
There was a problem hiding this comment.
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...).
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.
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Clarified how developers should manage generated files. Addresses #1042