unable to find type [string] - Advanced Installer Community
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

unable to find type [string]

when i create installer for visual studio project and select the solution and error comes up "unable to find type[string]: make sure that assembly containing this type" i also attached a screenshot please solve it asap thankyou :)
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: unable to find type [string]

Hello,

Just install PowerShell 3.0 on your current machine and this issue should be fixed. Please take a look on our "Build Project error" forum thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

Re: unable to find type [string]

Daniel wrote:Hello,

Just install PowerShell 3.0 on your current machine and this issue should be fixed. Please take a look on our "Build Project error" forum thread.

All the best,
Daniel
I downloaded powershell but when i launch the setup it says "the update is not applicable to your computer"
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: unable to find type [string]

Hello,

Just please make sure you downloaded the correct package for your operating system and architecture.
  • Windows 7 Service Pack 1
    ---64-bit versions: Windows6.1-KB2506143-x64.msu
    ---32-bit versions: Windows6.1-KB2506143-x86.msu
    Windows Server 2008 R2 SP1
    ---64-bit versions: Windows6.1-KB2506143-x64.msu
    Windows Server 2008 Service Pack 2
    ---64-bit versions: Windows6.0-KB2506146-x64.msu
    ---32-bit versions: Windows6.0-KB2506146-x86.msu
Let us know if this helped.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

Re: unable to find type [string]

Daniel wrote:Hello,

Just please make sure you downloaded the correct package for your operating system and architecture.
  • Windows 7 Service Pack 1
    ---64-bit versions: Windows6.1-KB2506143-x64.msu
    ---32-bit versions: Windows6.1-KB2506143-x86.msu
    Windows Server 2008 R2 SP1
    ---64-bit versions: Windows6.1-KB2506143-x64.msu
    Windows Server 2008 Service Pack 2
    ---64-bit versions: Windows6.0-KB2506146-x64.msu
    ---32-bit versions: Windows6.0-KB2506146-x86.msu
Let us know if this helped.

All the best,
Daniel
infact i downloaded all of them and checked each one of them every package says the same and i have windows 7 sp1 64 bit
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: unable to find type [string]

Hello,

Please make sure that .Net Framework 4.0 is already installed on your machine before trying to install PowerShell 3.0. Just follow the "Install PowerShell 3.0 on Windows 7" article steps and let us know how this worked.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

Re: unable to find type [string]

Daniel wrote:Hello,

Please make sure that .Net Framework 4.0 is already installed on your machine before trying to install PowerShell 3.0. Just follow the "Install PowerShell 3.0 on Windows 7" article steps and let us know how this worked.

All the best,
Daniel
done all the things still powershell 3 says this update is not applicable to your computer tried on .net 4 and now 4.5 also and updated the windows updates too but still that error :(
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: unable to find type [string]

Hello,

Can you please make sure that there is no previous version of Windows Management Framework 3.0 already installed on your machine. Open "Control Panel" and go to "Programs->Uninstall a program->View installed updates". Here search for any installed
KB2506143 update and uninstall it. Then try to install again the Windows Management Framework 3.0.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

Re: unable to find type [string]

Daniel wrote:Hello,

Can you please make sure that there is no previous version of Windows Management Framework 3.0 already installed on your machine. Open "Control Panel" and go to "Programs->Uninstall a program->View installed updates". Here search for any installed
KB2506143 update and uninstall it. Then try to install again the Windows Management Framework 3.0.

All the best,
Daniel

no there is not any update for KB2506143
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

Re: unable to find type [string]

I figured out the problem I had simple win 7 not service pack 1 now I updated it service pack 1 and power shell is started but now it says this
Attachments
untitled.JPG
untitled.JPG (20.43 KiB) Viewed 7498 times
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: unable to find type [string]

Hello,

Please make sure no Powershell.exe process i running during the "Windows Management Framework 3.0" MSU installation.

Also, before the installation please execute a system reboot. Maybe there are some pending updates which could block the installation of the current update.


All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
fakeid112
Posts: 7
Joined: Mon Dec 12, 2016 5:52 am

Re: unable to find type [string]

Daniel wrote:Hello,

Please make sure no Powershell.exe process i running during the "Windows Management Framework 3.0" MSU installation.

Also, before the installation please execute a system reboot. Maybe there are some pending updates which could block the installation of the current update.


All the best,
Daniel
tried everything you told but still same error :(
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: unable to find type [string]

Hello,

I'm afraid I run out of ideas. I don't know anything else what you could try. Maybe you could ask on Microsoft forums about how to successfully install PowerShell 3.0 on your machine.

Thank you for your understanding.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”