microsoft / microsoft/Windows-classic-samples

SampleV2CredentialProvider.dll is not a valid Win32 application

Open
#226 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
5.7k
Forks
3.3k
PR merge metrics
No merged PRs in 30d

Description

I am trying to get the https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/CredentialProvider sample working.

First I had to retarget solution to get it to compile in VS Community 2022 on Windows 10.

As per the instructions in the README, if I try to debug the project, I get error SampleV2CredentialProvider.dll is not a valid Win32 application

What am I missing?

Thanks

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the CredentialProvider sample README and its Visual Studio 2022 retargeting setup. Reproduce the debug attempt on Windows 10 and inspect the project configuration and generated SampleV2CredentialProvider.dll. Done means the sample builds and the documented debug workflow no longer reports that the DLL is not a valid Win32 application.

Written by the indexing model from the issue text.

Assessment

Domain
authentication, desktop-dev, operating-systems
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.