Skip to content
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 installcontext_installcontext.cpp #9225

Closed
wants to merge 1 commit into from
Closed

Conversation

olhptr
Copy link

@olhptr olhptr commented Aug 29, 2023

There is a copy-paste error: myInstallObject->myInstallContext
The right invoke is: myInstallObject->Context

There is a copy-paste error: myInstallObject->myInstallContext
The right invoke is: myInstallObject->Context
@olhptr olhptr requested a review from a team as a code owner August 29, 2023 09:44
@ghost ghost added the community-contribution Indicates that the PR has been added by a community member label Aug 29, 2023
@learn-build-service-prod
Copy link

Learn Build status updates of commit f433b90:

✅ Validation status: passed

File Status Preview URL Details
snippets/cpp/VS_Snippets_CLR/InstallContext_InstallContext/CPP/installcontext_installcontext.cpp ✅Succeeded View

For more details, please refer to the build report.

For any questions, please:

@@ -94,7 +94,7 @@ int main()
{
// <Snippet2>
// There are no command line arguments, create an empty 'InstallContext'.
myInstallObject->myInstallContext = gcnew InstallContext;
myInstallObject->Context = gcnew InstallContext;
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure this is correct. InstallContext_Example defines a field called myInstallContext on line 35.

@buyaa-n buyaa-n closed this Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-System.Runtime community-contribution Indicates that the PR has been added by a community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants