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

[WinMSR]: "ValidateNTTargetVersion" was not assigned a value for the mandatory parameter "ValidNTTargetVersions". #615

Closed
MatteoBax opened this issue Dec 6, 2023 · 5 comments
Assignees

Comments

@MatteoBax
Copy link
Contributor

When I try to compile the MSR driver for Windows from Visual Studio I get this:

Project "D:\Users\Matteo\source\repos\pcm\src\WinMSRDriver\MSR.vcxproj" on node 1 (default targets).
D:\Windows Kits\10\build\10.0.22621.0\WindowsDriver.common.targets(314,5): error MSB4044: Task "ValidateNTTargetVersion" was not assigned a value for the mandatory parameter "ValidNTTargetVersions". [D:\Users\Matteo\source\repos\pcm\src\WinMSRDriver\MSR.vcxproj]
@opcm
Copy link
Contributor

opcm commented Dec 7, 2023

thank you for reporting this. I am not able to reproduce the issue on my Windows machine. No error..

@jjasoliya
Copy link

jjasoliya commented Jan 10, 2024

My build fails with following error. Any suggestions.

(base) PS C:\Users\jaymi\source\repos\Intel_PCM\pcm\src> cd .\WinMSRDriver\
(base) PS C:\Users\jaymi\source\repos\Intel_PCM\pcm\src\WinMSRDriver> MSBuild.exe MSR.vcxproj -property:Configuration=Release -property:Platform=x64
MSBuild version 17.8.3+195e7f5a3 for .NET Framework
Build started 1/10/2024 3:36:07 PM.

Project "C:\Users\jaymi\source\repos\Intel_PCM\pcm\src\WinMSRDriver\MSR.vcxproj" on node 1 (default targets).
C:\Program Files (x86)\Windows Kits\10\build\10.0.22621.0\WindowsDriver.common.targets(314,5): error MSB4044: The "ValidateNTTargetVersion" task was not given a value for the required parameter "ValidNTTargetVersions". [C:\Users\jaymi\source\repos\Intel_PCM\pcm\src\WinMSRDriver\MSR.vcxproj]
Done Building Project "C:\Users\jaymi\source\repos\Intel_PCM\pcm\src\WinMSRDriver\MSR.vcxproj" (default targets) -- FAILED.


Build FAILED.

"C:\Users\jaymi\source\repos\Intel_PCM\pcm\src\WinMSRDriver\MSR.vcxproj" (default target) (1) ->
(ValidateNTTargetVersion target) ->
  C:\Program Files (x86)\Windows Kits\10\build\10.0.22621.0\WindowsDriver.common.targets(314,5): error MSB4044: The "ValidateNTTargetVersion" task was not given a value for the required parameter "ValidNTTargetVersions". [C:\Users\jaymi\source\repos\Intel_PCM\pcm\src\WinMSRDriver\MSR.vcxproj]

    0 Warning(s)
    1 Error(s)

@rdementi
Copy link
Contributor

this issue should now be resolved in the master branch : 5690185

@rdementi rdementi self-assigned this Feb 24, 2024
@rdementi
Copy link
Contributor

please reopen if the issue is still there

@MatteoBax
Copy link
Contributor Author

this issue should now be resolved in the master branch : 5690185

The issue has been solved, thanks.

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

4 participants