Hi,
Does anyone know the correct way to rename a vb.net project and assosiated
project files and project folder?
As when I first created my new project it was just a test project. But now
the program has fledged into a fully blown program and I really would like
to be able to rename the project to a more meaningfull name rather than the
test name I had used when I first created the project.
I had tried renaming various files in windows explorer but this does not
work and the program ended up not loading.
If someone could explain how to rename a project correctly I would be greatful.
Thanks in advance
Mark
2 Replies - 2481 Views - Last Post: 04 September 2013 - 05:06 AM
#1
How to rename an existing vb.net project and folder
Posted 03 September 2013 - 11:59 PM
Replies To: How to rename an existing vb.net project and folder
#2
Re: How to rename an existing vb.net project and folder
Posted 04 September 2013 - 12:27 AM
Hi,
You can try this:
Open the project file (*.vbproj) in a text editor, and add the following line inside the first <PropertyGroup> element:
Now when Visual Studio regenerates the folder, it will call it "NewName", and anything it generates that it would put in My Project (such as AssemblyInfo.vb) will be put there.
You can then move (in Explorer, not Visual Studio) the contents of "My Project" to that folder, delete "My Project", and everything should work as expected.
You can try this:
Open the project file (*.vbproj) in a text editor, and add the following line inside the first <PropertyGroup> element:
<AppDesignerFolder>NewName</AppDesignerFolder>
Now when Visual Studio regenerates the folder, it will call it "NewName", and anything it generates that it would put in My Project (such as AssemblyInfo.vb) will be put there.
You can then move (in Explorer, not Visual Studio) the contents of "My Project" to that folder, delete "My Project", and everything should work as expected.
#3
Re: How to rename an existing vb.net project and folder
Posted 04 September 2013 - 05:06 AM
Hi,
Thanks for your reply.
I will have a go tonight and see if that work.
Regards
Mark
Thanks for your reply.
I will have a go tonight and see if that work.
Regards
Mark
This post has been edited by solorize: 04 September 2013 - 05:08 AM
Page 1 of 1

New Topic/Question
Reply


MultiQuote



|