Error building C# application - Advanced Installer Community
bhavani
Posts: 3
Joined: Fri Dec 17, 2010 3:56 am

Error building C# application

Hi,

When I try to build a C# project with "Visual Studio Import Wizard" it stops when I click next after choosing he .csproj file through the wizard. The error it spawns is:

FAILED TO START VISUAL STUDIO.ERROR: INVALID CLASS STRING.

I have VISUAL C# Express 2005 installed on my machine so what is the problem.....

Regards.

bhavani.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error building C# application

Hi bhavani,

Please send us the .AIP (project) to support at advancedinstaller dot com so we can investigate them.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bhavani
Posts: 3
Joined: Fri Dec 17, 2010 3:56 am

Re: Error building C# application

Hi,

If only you could read properly you would have given a relevant reply. Like I said the wizard did not complete so no .aip file was created. It got stops when I click next after the option to choose the project file which in my case is a .csproj file. The error it spawns is:

FAILED TO START VISUAL STUDIO.ERROR: INVALID CLASS STRING.

Hope u will provide a better reply.

Regards.

bhavani.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Error building C# application

Hello bhavani,

I apologize for the misunderstanding. What I meant to ask for, is the Visual Studio project you are trying to import, without the source files.
Please send that to support at advancedinstaller dot com so we can investigate it and I'll get back to you as soon as we do.

Regards,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bhavani
Posts: 3
Joined: Fri Dec 17, 2010 3:56 am

Re: Error building C# application

Hi,

It a .csproj file (C Sharp project) which is in same folder along with all source files. Do u want me to send u the .csproj file only or the complete source (all files of folder i.e. .csproj, .cs, .resx etc ).

regards,
bhavani.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error building C# application

Hi,

Only the project files are necessary, the one you select for import. The source files are not required.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Error building C# application

Hello,

This problem appeared because it is used the Express version of Visual Studio to create the project.

I'm afraid you cannot import the project in Advanced Installer. Advanced Installer can import projects created at least with a Professional version of VS.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Pesoen
Posts: 1
Joined: Mon Jun 29, 2015 2:51 pm

Re: Error building C# application

i seem to have the same problem, but i am using visual studio 2013 ultimate, any idea why it fails? or will i need to start a new thread and send you the project solution file to get help?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Error building C# application

Hello and welcome to Advanced Installer,

This may happen if Visual Studio is not installed on the machine where Advanced Installer is running. When importing a VS solution Advanced Installer make use of the VS engine.

Let us know if this helped, otherwise please send us your VS project files (solution and the projects without the resource files) to support at advancedinstaller dot com so we can test and investigate on our side. Also, please let us know which version of AI are you currently using.

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

Return to “Common Problems”