Answered by:
Use a Working Publish Profile on Another Machine

Question
-
User1769015664 posted
How do I copy a working Custom Publish Profile (e.g. CustomProfile1) and make it to work on another machine?
I've tried copying it over to another machine but it did not work.
Wednesday, December 9, 2020 9:54 PM
Answers
-
User1769015664 posted
I copied the entire working project folder over to another machine, launched VS and chose to Publish. The drop down didn't list the custom profile that I used on other machine.For now, I have resolved the issue by re-creating the profile.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, December 16, 2020 3:34 AM
All replies
-
User1535942433 posted
Hi NJ2,
As far as I think,the only solution is to copy the publish profile (.pubxml) in the Properties\PublishProfiles directory.
When you create a new publish profile, two files are created : .pubxml and .pubxml.user. The .pubxml.user file contains only a few settings that apply to a specific user, such as an encrypted password.
You could post your problems in this progress.
Best regards,
Yijing Sun
Thursday, December 10, 2020 5:08 AM -
User1769015664 posted
It was already tried before I posted my question.
Tuesday, December 15, 2020 6:49 PM -
User753101303 posted
Hi,
It should be part of the project so I don't even see why you need to copy that separately even if not using a code reposiitory software.
Then always tell what is the first bad thing that happens when you try rather than just that "it doesn't work" . I'm not even sure if you have a problem when tdoing the copy (?), when trying to use it (you may have to "show all files" and add it to your existing project) or when usng it (could it depend from a local folder or a permission this user doesn't have).
Tuesday, December 15, 2020 7:18 PM -
User1769015664 posted
I copied the entire working project folder over to another machine, launched VS and chose to Publish. The drop down didn't list the custom profile that I used on other machine.For now, I have resolved the issue by re-creating the profile.- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Wednesday, December 16, 2020 3:34 AM