I have a VS solution with AI as one of the projects. Whenever I build my solution everything is successful but VS adds a folder as a subdirectory of the Application Folder and adds a config file to my Application Folder. Neither of these are desired or required. What is more I think that they cause my installation to bring up an error when installing ("RESULT: 0×80131043"). This suggests that the installer was having difficulties registering files to the GAC. All of the files in my application folder get registered to the GAC but I don't want the config file or the sub folder to remain. When I look at the Assemblies area I can actually see that the config file has been added too in order to be registered and that would explain why it is failing. (It gets added along with the main DLL as AI_PROPPATH_FILENAME_PERBUILD_MyComponent.dll. Under the assembly properties there are AI_PROPPATH_FILENAME_PERBUILD_MyComponent.dll and AI_PROPPATH_FILENAME_PERBUILD_MyComponent.dll.config. I am not sure why it is showing AI_PROPPATH_FILENAME_PERBUILD_MyComponent.dll and not simply MyComponent.dll)
When I delete these extra components and build the installer from the AI environment everything works fine. I have not noticed this with any other VS solution.
Thanks
David
FOLLOW US
Get the latest news in Application Packaging