Skip to content

Clarified which New Project should be selected (for VS 2022) #4616

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

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

enricosebastian
Copy link
Contributor

There are two options; one does not work (.NET) due to the prerequisites set in the guide.

There are two options; one does not work (.NET) due to the prerequisites set in the guide.
@prmerger-automator
Copy link
Contributor

@enricosebastian : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit bce7348:

✅ Validation status: passed

File Status Preview URL Details
docs/dotnet/walkthrough-compiling-a-cpp-program-that-targets-the-clr-in-visual-studio.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@Court72
Copy link
Contributor

Court72 commented Jul 5, 2023

@TylerMSFT

Can you review the proposed changes?

When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged Tracking label for the PR review team label Jul 5, 2023
@TylerMSFT
Copy link
Collaborator

Thanks, @enricosebastian. I think the problem is deeper in this topic because it doesn't discuss at all the difference between creating a project for .NET Framework (the original Windows-only version of .NET) or what was once known as .NET Core (the .NET option). You mentioned the pre-requisites pushing you to needing the windows version. I don't see that in the prereqs, though if you do try the suggested example then it needs to be the windows version (.NET Framework). Can you tell me a little more about what in the prereqs suggested to you that it needed to be the Windows version of the .NET framework? I agree a change needs to be made here, I think it may be more than just picking a different template.

@enricosebastian
Copy link
Contributor Author

Thanks, @enricosebastian. I think the problem is deeper in this topic because it doesn't discuss at all the difference between creating a project for .NET Framework (the original Windows-only version of .NET) or what was once known as .NET Core (the .NET option). You mentioned the pre-requisites pushing you to needing the windows version. I don't see that in the prereqs, though if you do try the suggested example then it needs to be the windows version (.NET Framework). Can you tell me a little more about what in the prereqs suggested to you that it needed to be the Windows version of the .NET framework? I agree a change needs to be made here, I think it may be more than just picking a different template.

Hi @TylerMSFT! Been following the C++/CLI documentation for a few days now because I will be needing it for a project at work. Followed the guide, but found out that there would be two CLR Empty Projects options; one that's .NET and another that's .NET Framework. It didn't specify nor differentiate between the two in the walkthrough (or perhaps I missed that par. Sorry, rushing my project hahaha).

Decided to try both .NET and .NET Framework; the former would result in ...\...\...\x64\Debug\[name].dll is not a valid Win32 application, but the .NET Framework would work with no hiccups (and is the method I am currently using for work). Did not decide to look further into the issue yet, but I did follow the setup prereqs via VS Installer.

I do agree with you that a total rework might be needed (or at least the section is split to differentiate between the two C++/CLI projects), but right now this edit will be a big help for those like me just starting to read through the documentation, and just need to see the output

Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

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

Thanks, @enricosebastian!

@TylerMSFT
Copy link
Collaborator

#sign-off

@Jak-MS Jak-MS merged commit 924adad into MicrosoftDocs:main Jul 6, 2023
@enricosebastian enricosebastian deleted the patch-1 branch July 7, 2023 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants