Unable to load MSBuild assemblies - Advanced Installer Community
ryanm
Posts: 1
Joined: Mon Dec 10, 2018 10:36 pm

Unable to load MSBuild assemblies

I used the "Word 2013 and 2016 VSTO Document" template to create a VSTO addin for Microsoft Word. It adds a ribbon to Word and runs simple code once a button on the ribbon is clicked. I am trying to create an .msi file for this addin but I am getting the error "Unable to load MSBuild assemblies." What can be the cause of this error? Some information: The programs builds/runs with no errors, the ribbon works perfectly, Target Framework: 4.6.1, Application Type: Class Library, not COM Visible...

I'm relatively new to Visual Studios and coding so sorry in advance for a lack of helpful information provided.

Thanks,

Ryan
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unable to load MSBuild assemblies

Hello Ryan and welcome to our forums,

Can you please let us know if this error occurs during the MSI installation process or during your application runtime after installation?

Also, could you share with us your setup project (.aip file) and its built MSI setup package so we can fully test this on our side? If so, please send us a download link by email to support at advancedinstaller dot com.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
advanced99
Posts: 7
Joined: Sun Feb 03, 2019 4:30 am

Re: Unable to load MSBuild assemblies

Hi,

I have encountered the same problem. It's working as intended on my laptop, but not on my desktop.
What could be the problem?

FYI, I have tried doing a repair install of AI, tested it on very simple VS projects and changing the target framework to no avail.

John
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unable to load MSBuild assemblies

Hello John and welcome to our forums,

I replied you on the "Unable to load MSBuild Assemblies during importing Visual Studio Project" thread.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
advanced99
Posts: 7
Joined: Sun Feb 03, 2019 4:30 am

Re: Unable to load MSBuild assemblies

Hi Daniel,

Please see my response in the other thread.

Thanks,
John
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unable to load MSBuild assemblies

Hello John,

I replied you back. Let's continue this topic on the other thread.

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

Return to “Common Problems”