Background: I have a winforms app written in C# that converts xlsx files to csv by calling a 2nd entirely seperate application ConvertExcelTo.Exe from the command line. I'm using the Build Publishing tool to compile a setup / install file out of the solution for the winforms app.
Problem: The Windows installer completes without any errors on my computer with Windows 7 Ultimate, Visual Studio 2010 Premium, and Framework 3.5 but the user operating on Windows XP SP3 without VS gets the following installation error message:
This application requires microsoft.visualstudio.hostingprocess.utilites.sync
version 9.0.0.0 be installed in the Global Assembly Cache (GAC) first.
Under Prerequisites I have selected:
Under Application Files I have:
I've tried:
Question:
Thanks for looking! :)
I solved this issue by adding a Setup and Deployment project to my existing project to create an installer where I could select "Global Assembly Cache Folder" by right clicking "File System on Target Machine"
In the existing project, Go to File Menu > click Add > New Project > now the “Add New Project” dialog will appear.
Select the “Other Project Types” and click “Setup and Deployment” projects,Choose “Setup Project”give name project name in name text box finally click OK.
New project appear in solution explorer,for eg., you have give the name “myEXE” file will be displays with given name.
Right click the myEXE > go View
You can see the “File System on Target Machine” under 3 folders:
Application Folder, User’s Desktop, & User’s Program Menu. Right click the "File System on Target Machine" and select "Global Assembly Cache Folder"
Select Application Folder and right click Add>Project Output>select Primary output
I hope this helps others as well :)