I have a solution with many projects. Each projects have a publish profile inside “properties” folder. All publish profiles have same settings.
I want to take the publish profile in a global location. For ex: in the solution level. And use it for each project.
so I made a folder called “PublishProfiles” and added a Debug.pubxml file inside.
in each project, in the project file I have the following.
<PropertyGroup>
<PublishProfile>......PublishProfilesDebug.pubxml</PublishProfile>
</PropertyGroup>
It does not work. When I right click the project and select publish, it does not consider the file and asks me to add new publish profile.
Anyone has any idea? is that even possible?