Copying visual studio settings for one project to another

I have a visual studio 2010 project executed on VB.net, and I have about 45 variables in the application settings. The one you set in the properties.settings settings. Now I have a similar project, and I want to copy the parameter variables into this project. Not sure how to do this.

what I did is trying to copy the automatically generated settings code to this project, and it didn’t work out well. I don’t even know how to do this, and tried the following.

  • copying application settings from one project to another in a visual studio.
  • moving application settings between visual studio projects

Both of them did not get what I wanted, and I really don’t know what to look for.

So, there is a way to directly copy settings from one project to another.

+6
source share
1 answer

All I did was capture the physical Settings.Designer.vb and Settings.settings files found in the My Project folder of your application (assuming that this is a Windows application and not on the Internet) and copied / replaced the existing settings files into a new project. Did the new project recover errors, but it was only desinger code referencing the name of the old project. Fixed by replacing the old project name with a new and veil. It worked.

NTN

Dave

+5
source

Source: https://habr.com/ru/post/896319/


All Articles