|
-
Sep 16th, 2009, 05:07 PM
#1
Thread Starter
Banned
Chaning Solution/Build name?
How would I change the Solution/Build name? VB saves the project in a folder, how would I change the name of the
-Folder
-Solution File
-Finished EXE
WITHOUT breaking the project?
-
Sep 16th, 2009, 05:37 PM
#2
Re: Chaning Solution/Build name?
I often have fun with this... You can right click the top level of the solution in Solution Explorer inside VS (assuming you have the solution node visible) and do Rename there and that should take care of the Solution File. The top level folder you will have to change manually but that doesnt affect anything inside the folder so it wont break it. The EXE you can change by going into your project properties (double click My project) and changing the Assembly Name option in there
-
Sep 16th, 2009, 05:41 PM
#3
Thread Starter
Banned
Re: Chaning Solution/Build name?
When I rename the assembly name I get
"Error when trying to run project: could not load file or assembly '"New EXE"' or one of its dependencies. The Given assembly name or codebase was invaild"
Thats when I debug
Also
The .SLN doesnt change but the .vbproj does
-
Sep 16th, 2009, 05:42 PM
#4
Re: Chaning Solution/Build name?
Have you rebuilt the solution? (Build menu -> Build Solution)
-
Sep 16th, 2009, 05:50 PM
#5
Thread Starter
Banned
Re: Chaning Solution/Build name?
 Originally Posted by chris128
Have you rebuilt the solution? (Build menu -> Build Solution)
When I do build, it says changed name, But the .SLN file is still the same
Also, how would I change the Assembly name and be able to debug?
I can build with no error, but I cant debug
-
Sep 16th, 2009, 05:57 PM
#6
Re: Chaning Solution/Build name?
Try closing VS and opening it again and seeing if debugging works. Did you change the solution name in the place I suggested? (right clicking the solution level in solution explorer and going to Rename)
-
Sep 16th, 2009, 05:59 PM
#7
Thread Starter
Banned
Re: Chaning Solution/Build name?
 Originally Posted by chris128
Try closing VS and opening it again and seeing if debugging works. Did you change the solution name in the place I suggested? (right clicking the solution level in solution explorer and going to Rename)
Ill try that, I already renamed the solution
edit: it didnt work
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|