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

Getting many issues with building this repo in latest Visual Studio #66

Open
rajendrasp opened this issue Dec 6, 2023 · 0 comments
Open

Comments

@rajendrasp
Copy link

I am trying to build the samples from win32 folder specifically SampleCppApp. Getting many issues.
I am using VS 2022.
When I change target platform, it is still giving me error saying that v140 toolset not installed. It seems it somehow refers to project \Samples\Native\MyApp. I do not understand why it does it.
Also, the package paths for imported packages seem incorrect. They start with .... but packages folder is created in the same folder as solution folder in VS 2022 so that is messed up.
Now after fixing all that, I am stuck with below error

Error MIDL2011 [msg]unresolved type declaration [context]: Windows.UI.Xaml.Controls.UserControl [ RuntimeClass 'MyApp.MainUserControl' ]

This error comes from MyApp project which I do not understand why needs to be built to work with SampleCppApp.

Any help?

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

No branches or pull requests

1 participant