pvk2pfx.exe - can not find - visual-studio

Could tell me where to find the file pvk2pfx.exe?
It is supposed to be located in <programfile>/Visual Studio 8/Common7/Tools/bin/pvk2pfx.exe, but not on my machine.
I don't seem to be able to find it online either. I tried installing the SDK, but it didn't work.

Have you checked the SDK path? The SDK path on my machine where pvk2pfx.exe is located is C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin>

pvk2pfx.exe is not related to Microsoft .NET (2.0) SDK but to C/C++ SDK so look fo in c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ directory.

You need to install Windows SDK https://developer.microsoft.com/pl-pl/windows/downloads/windows-sdk/ . When installing please have selected "Windows SDK for Desktop C++ x86 apps" option.
Then the pvk2pfx.exe file will be located in C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86 .

You can also run the "Developer Powershell for VS 2022" (or the latest equivalent) and it will already know where to look.

Related

How to find Android sdkmanager installed path in Windows with Visual Studio 2017

We are using Visual Studio 2017 (15.7.4 update) with Windows OS. We are facing issue on Android SDK manager installed path. Can you please suggest idea to get Android SDK manager installed path based on registry or command line?
Regards,
Dheepa
It should be in: C:\Program Files (x86)\Android unless you set a particular path. You won't have any key on the registry since it a folder from which VS (or any other IDE) "uses" the Android SDK. You can give it a try checking in your Environment Variables if there is any path referring to the Android SDK, otherwise simply redownload the zip.
To work with Android Visual Studio installs openJDK in
C:\Program Files\Android\jdk
and Android SDK at
C:\Program Files (x86)\Android\android-sdk
You can find sdkmanager.bat at
C:\Program Files (x86)\Android\android-sdk\tools\bin
It is recommended to add the bin directory to the system path.

"Windows Kits\10\Redist\ucrt\DLLs" doesn't exist

I am trying to build a WebRTC library. It has a bunch of build python scripts one of which is trying to access
C:\Program Files (x86)\Windows Kits\10\Redist\ucrt\DLLs\x64
And copy ucrt Dlls into build directory.It fails there because my Redist directory doesn't have ucrt folder. I tried to uninstall my Windows SDK 10 and reinstall it.But Redist is still empty. Based on this doc by Microsoft:
To obtain the binaries for app-local deployment, install the Windows
Software Development Kit (SDK) for Windows 10. The binaries will be
installed to C:\Program Files (x86)\Windows Kits\10\Redist\ucrt.
But it simply doesn't happen.I also tried to reinstall all the Windows tools and SDK via my VS2015 (Community) installer.
Did Microsoft deprecate the redistributable part of the installation?
How can I solve this?
I installed Windows SDK 10.0.16299.0 . My system is Windows 10 64bit.
It happened to me. Both the visual studio installer and the standalone install incomplete/corrupt versions of the sdk.
Solution: Install the sdk in a windows VM (you can use the Microsoft provided vm: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/) and install the SDK there, then copy the complete folder (named 10 in my case) to the appropriate route. In Windows 10 would be: *C:\Program Files (x86)\Windows Kits*
(Commenting 4 year later because I came here looking for the same answer :) )

makecert.exe missing in windows 7, how to get it and use it

I am using Windows 7. I don't have the makecert.exe, which I came to know when I tried to run commands to generate certificates like
makecert -sk XYZ -n "CN=XYZ Company" testXYZ.cer
I get error :
'makecert' is not recognised as an internal or external command, operable program or batch file.
Pls suggest how to resolve this issue. Do i need to install the Windows SDK again.
Regards,
Pravin.
makecert.exe comes with both Visual Studio and the Windows SDK. Therefore just use either the Visual Studio Command Prompt or the Windows SDK command prompt and it will work straight out of the box as it will be included in the command prompt path.
makecert is included in the ".NET Development > Tools" bucket.
This selected bucket includes the makecert utility (at least in SDK v7.1).
C:\Program Files (x86)\Windows Kits\8.0\bin\x64
OR
C:\Program Files (x86)\Windows Kits\8.0\bin\x86
You can find a version of makecert here : http://www.inventec.ch/chdh/notes/makecert_5_131_3790_0.zip. Also instructions on how to use it here : http://www.inventec.ch/chdh/notes/14.htm
Have you read this link: MakeCert? It sends you to Microsoft Windows Software Development Kit from where you can download the SDK including makecert
I know its too late to reply, however it might help other looking out for this executable.
if you have installed VS 2005, you will find it under
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin
if you have installed VS 2008, you will find it under
C:\Program Files\Microsoft Visual Studio 9.0\SmartDevices\SDK\SDKTools
go to this location on command prompt and then run you "makecert" command with arguments.
MakeCert.exe is now deprecated. You should use PowerShell's New-SelfSignedCertificate cmdlet to create a selfsigned certificate.
You can find it on microsoft sdks directory:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\makecert.exe
My copy (with Visual Studio 2017 installed) was here: "C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64\makecert.exe"
Ran into the same problem awhile back and thought I would share the link I found to download and install this tool.
http://go.microsoft.com/fwlink/p/?linkid=84091
Please let me know if this works if you do get around to it, I realize this post is a little old.
Windows 10 after installing Windows SDKs:
If you have ARM microprocessor: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\arm64
Intel microprocessor: C:\Program Files (x86)\Windows Kits\10\bin\10.0.17134.0\x64
Add that folder to your PATH environment variable

Task could not find "AL.exe" using the SdkToolsPath

I have this problem tring to build one solution
Task could not find "AL.exe" using the SdkToolsPath "C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\" or the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SDKs\Windows\v7.0A". Make sure the SdkToolsPath is set and the tool exists in the correct processor specific location under the SdkToolsPath and that the Microsoft Windows SDK is installed
I know there is a similar question, but the aswer didn't work for me
In the same computer a can build other solutions in Net 4 without any problem, so don't understand
I'm using:
Windows XP Professional SP3
Visual Web Developer 2010 Express
Easiest thing to do is copy al.exe
from
C:\Program Files\Microsoft SDKs\Windows\v7.1\bin\NETFX 4.0 Tools\
(For Windows 10 from
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6 Tools)
to
C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\NETFX 4.0 Tools\
As I got this issue in VS2019 after a fresh install of both Windows and Visual Studio 2019 I thought it might be good to share:
Installing Microsoft.Net.Component.4.7.2.SDK from the Visual Studio installer fixed it for me!
Do you have any resource files in your project? Try to delete all of them and build your project again.
I've got exact the same error and after deleting the resource files (*.hrsx) my build worked again.
Maybe it helps.
I am using VS2019, this way works for me:
Add a system env variable TargetFrameworkSDKToolsDirectory
like this:
TargetFrameworkSDKToolsDirectory=C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.2 Tools

signtool.exe not found in vs2008

I'm trying to publish a program in vs2008 but I get the following error,
can not publish because a project failed to build.
An error occurred while signing: signtool.exe not found.
I've been searching Google for some time now but I can't find the answer.
I can't find signtool.exe; can anyone tell me where I can get it?
signtool.exe is included with the Windows SDK, and a copy of the Windows SDK is included with VS2008.
It should be installed as %ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\signtool.exe, but it might depend on installation options.
Another route is to install the Windows SDK directly (latest version includes Win7/2008R2 support).
VS 2008 - This tool is located at,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
Probably you could find in any one of this location.
C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\Bin
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin

Resources