Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Wed Mar 20, 2019 10:14 am

You're always welcome, Robert.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Rauldoce
Posts: 2
Joined: Fri Mar 22, 2019 11:30 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Fri Mar 22, 2019 11:36 am

Hello, I have just installed Version 15.8 and, for the first time after packaging several other VSNet Solutions I am experiencing the same error message.

Since it happens during import, I do not have an AIP-file. A few details on my environment:

- Installed VS 2015 and VS 2017
- the solution is now in VS2017 and had been imported from a previous VS2015 Project.

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Fri Mar 22, 2019 1:40 pm

Hello and welcome to Advanced Installer forums,

Unfortunately, I can not say why this happens. In order for me to further investigate this, could you please forward me the solution that you are trying to import and that generates such an error by e-mail at support at advancedinstaller dot com?

Also, is this reproducible with any solution that is imported from Visual Studio 2015 to Visual Studio 2017, or is this particular to one solution?
- Installed VS 2015 and VS 2017
- the solution is now in VS2017 and had been imported from a previous VS2015 Project.
Thank you for providing these details. I am pretty sure this will be of help for investigating the root cause of this issue.

Looking forward to hearing from you.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Rauldoce
Posts: 2
Joined: Fri Mar 22, 2019 11:30 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Fri Mar 22, 2019 5:43 pm

I have found a solution in the meantime. I changed the following lines in the SLN-file:


Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.489
MinimumVisualStudioVersion = 10.0.40219.1
Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VISTA_Forms", "VISTA_Forms\VISTA_Forms.vbproj", "{156F1794-6A08-4A92-B81F-29CEBD24F60F}"

EndProject
Global

...
EndGlobal

Due to import from VS2015, the version did not correspond.

Advanced Installer: Great product

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Mon Mar 25, 2019 5:08 pm

Hello,

I have further tested this and I was able to reproduce the described behavior. The issue seems to appear when, on the machine, there are two versions of Visual Studio installed, side by side (e.g. 2015 and 2017, 2017 and 2019, etc.).

Thank you for your followup on this and for sharing your valuable solution with us. This solution was of high importance for us as it led to us being able to isolate the issue and finding the root cause of it. With that being said, we were able to fix this (hopefully, this will be available starting with the next version of Advanced Installer).

For a quick-fix to this problem, do not hesitate to send us an e-mail at support at advancedinstaller dot com.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Tue Mar 26, 2019 2:44 pm

Hello,
Daniel wrote:
Mon Feb 18, 2019 1:25 pm
Hello John,

Thank you for your valuable feedback. Indeed it seems our application fails to import a SLN when VS 2017 and VS 2019 are installed side by side.

We will try to add a fix for this issue in a future version of Advanced Installer, thank you for helping us to isolate this. As soon as a fix is out we will update this thread.

All the best,
Daniel
This was fixed in 15.8 version of Advanced Installer, released on March 20th, 2019.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

francis.matamoros
Posts: 15
Joined: Fri Mar 23, 2018 7:39 pm

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Fri Apr 12, 2019 4:30 pm

Hello, I just upgraded Advanced Installer to version 15.8 because I could never import a Visual Studio solution and I keep getting the same error:

Unable to load MSBuild Assemblies

Thank you

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Mon Apr 15, 2019 8:44 am

Hello Francis,

I have tried to test this, but I was not able to reproduce the described behavior. In order for us to continue our investigations, could you please forward me the following information:

- on what machine are you testing this? Are you testing this on a Windows 10 machine or on an older version of Windows?

- which version of Visual Studio you have installed on your machine? If you have more than one version installed, please enumerate all of them.

- if possible, please forward me the solution and all of the projects included in your solution (we need only the project files without their source code files) by e-mail at support at advancedinstaller dot com.

- also, could you go to Control Panel and tell me what version of "Microsoft Visual Studio Installer" version you have installed?

Looking forward to hearing from you.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

francis.matamoros
Posts: 15
Joined: Fri Mar 23, 2018 7:39 pm

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Wed Apr 24, 2019 10:34 am

Hello Catalin, here you have the required information:

1. Winver: Windows 10 Pro version 1809 (compilation 17763.437)
2. Visual Studio 2017 (15.9.11)
Visual Studio 2008 Professional (older projects - I don't use it)
3. Microsoft Visual Studio Installer version 2.0.3287.312

I passed to email one sample project.
Thank you

Catalin
Posts: 6542
Joined: Wed Jun 13, 2018 7:49 am

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Wed Apr 24, 2019 1:58 pm

Hello Francis,

Thanks for the provided files.

Before starting to investigate this on our end, could you please try to download the latest version of Advanced Installer that we have just released (15.9) and retest the import functionality with it?

https://www.advancedinstaller.com/download.html

If that is of no help, just let me know so I can start investigating this.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

francis.matamoros
Posts: 15
Joined: Fri Mar 23, 2018 7:39 pm

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Wed Apr 24, 2019 3:40 pm

Hello, I installed the latest version this morning and checked that it still does not work.

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

Re: Unable to load MSBuild Assemblies during importing Visual Studio Project

Fri May 03, 2019 10:29 am

Hello Francisco,

Until now we were unable to replicate the import error with Advanced Installer 15.9. However, we will continue investigating this and get back to you as soon as we have a conclusion. Thank you for your further patience.

Until then, as a workaround you can try to use our Visual Studio extension to create the setup project or simply create the setup project within Advanced Installer from scratch.

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

Return to “Building Installers”