C# Powershell snapin not registering using installutil

Problem

I used the sample from the following article to learn the custom PowerShell Snap In

http://msdn.microsoft.com/en-us/magazine/cc163293.aspx

I kept getting issue that the snap in was not registered.

Solution

The reason was I was not using the FrameWork64 directory InstallUtil.exe

C:\Windows\Microsoft.NET\Framework64\v4.0.30319

I found the solution from the following link.

http://stackoverflow.com/questions/558577/c-sharp-powershell-snapin-not-registering-using-installutil

About Pankaj

I am a Developer and my linked profile is https://www.linkedin.com/in/pankajsurti/
This entry was posted in Uncategorized and tagged . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s