Cannot create project in Visual Studio 2019

Got a problem you cannot solve? Try here.
Post Reply
KrunoslavKanjuh
Posts: 6
Joined: Thu Mar 05, 2020 3:11 am

Cannot create project in Visual Studio 2019

Post by KrunoslavKanjuh »

Hi,

I'm install extension in VS2019. When I try to create new project, I get bellow error. Also, I install latest version with all components.

Error while creating setup project: Unable to load DLL 'IaVsExt.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Could you please help me with this?

Regards,
Kruno
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cannot create project in Visual Studio 2019

Post by FrancescoT »

Which is your exact Visual Studio 2019 version (ex. 16.7.5)?

Did you install the extension from the Visual Studio MarketPlace, or did you use our trial installer as available from: https://www.installaware.com/downloads- ... nloads.htm?
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
KrunoslavKanjuh
Posts: 6
Joined: Thu Mar 05, 2020 3:11 am

Re: Cannot create project in Visual Studio 2019

Post by KrunoslavKanjuh »

Hi Francesco,

I first install IA from trial installer and active using setup downloaded from www.installaware.com/myinstallaware. Then install extension using extension dialog in VS2019.

My version of VS2019 is 16.7.5

Regards
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cannot create project in Visual Studio 2019

Post by FrancescoT »

It's not clear to me why you didn't install the VS Extension just using the IA trial installer.

Of course, our Extension can be also installed from Visual Studio (Visual Studio MarketPlace). But this is generally not necessary when IA was already installed.

So, unless the "Visual Studio add-in" feature component doesn't get deselected from setup wizard of the IA trial installer, this also includes the installation of the Visual Studio Extension (by default).

At any rate, I suspect that probably the Extension didn't install properly.

Due of this, I suggest you to proceed as follow:

1. Uninstall the VS Extension from Visual Studio.
Launch the VS 2019 IDE, Extensions menu -> Manage Extensions. Then select to uninstall the Extension.
Vs_manage_ext.png
Vs_manage_ext.png (212.22 KiB) Viewed 8016 times
*follow the on-screen instruction to complete the uninstall...you will need to close and restart VS to complete the process. Once the Extension removal has completed, Have care to close the VS IDE before proceeding with the next point.

2. Modify your current IA product installation and Install the VS-Extension.
Run the IA X12 trial installer. Because on your machine IA was already installed, the setup will run in maintenance mode. Select "Change features" from the wizard, then next.
setup.png
setup.png (108.13 KiB) Viewed 8016 times
Scroll down the features list, locate the "Visual Studio Add-in" component, choose to install it, and then Next to confirm.
component_tree.png
component_tree.png (271.87 KiB) Viewed 8016 times
Once the IA installer has completed (You may need to apply once again your personal license file at the end of the process), launch Visual studio 2019, and finally check if the problem is now fixed.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
KrunoslavKanjuh
Posts: 6
Joined: Thu Mar 05, 2020 3:11 am

Re: Cannot create project in Visual Studio 2019

Post by KrunoslavKanjuh »

Hi Francesco,

When I try to change installation, I don't see this add-in (image below).
2020-10-13_18-59-52.png
2020-10-13_18-59-52.png (172.31 KiB) Viewed 8010 times
I uninstall IA X12 and try again to install but still I don't see this add-in. When I try to install on my private laptop then I see add-in.
I before have installed IA X11. It may be in some folder exists old installed settings and this block to I see VS add-in?

Regards
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cannot create project in Visual Studio 2019

Post by FrancescoT »

Such "Visual Studio Add-in" component, it will be only listed if you are installing on a machine where VS is already installed as well.

Are you installing on the same machine where you have VS 2019 installed?
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
KrunoslavKanjuh
Posts: 6
Joined: Thu Mar 05, 2020 3:11 am

Re: Cannot create project in Visual Studio 2019

Post by KrunoslavKanjuh »

On both laptops I have installed VS2019. Only difference is that on private I have Community version and on company I have Enterprise.
On company laptop not work. I have full admin rights.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cannot create project in Visual Studio 2019

Post by FrancescoT »

The VS Edition can't be the problem. I also have the Enterprise edition and I never had any issue to install the Extension.

I cannot say for sure, but it may possible that your issue could be related with the system account of your company laptop.

At any rate, I may suggest you to do another try as follow:

1. Remove the Extension from VS 2019 as I described previously.
2. Uninstall IA X12 from your system.
3. Under "C:\ProgramData", check for the presence of a folder named "miaXXXX.tmp" (ex. miaA2BF.tmp). Delete the folder if present.
4. Restart your system.
5. Launch the Visual Studio 2019 IDE, and install the "InstallAware Extension" from Visual studio (Extensions menu -> Manage Extensions). Follow on-screen instruction to complete the installation of the Extension (you will need to close and restart VS to complete the process).
6. Launch the Visual Studio 2019 IDE once again, click the IA icon on the "IA Extension toolbar", and then select YES to confirm the installation as requested by the message-box.
Install_ext.png
Install_ext.png (60.43 KiB) Viewed 7988 times
(*) The X12 install process will start automatically once the download is completed.
7. Finally proceed with the X12 install process as you usually do, and have care to select to install the edition that matches your licensed edition.

I just tested the above steps on a test machine, and both "IA and Extension" were installed successfully.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
KrunoslavKanjuh
Posts: 6
Joined: Thu Mar 05, 2020 3:11 am

Re: Cannot create project in Visual Studio 2019

Post by KrunoslavKanjuh »

Hi Francesco,

This work for me. Thank you.

Regards
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Cannot create project in Visual Studio 2019

Post by FrancescoT »

Happy you solved!
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply