Results 1 to 7 of 7

Thread: Chaning Solution/Build name?

  1. #1

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    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?

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    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
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    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

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Chaning Solution/Build name?

    Have you rebuilt the solution? (Build menu -> Build Solution)
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  5. #5

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    Re: Chaning Solution/Build name?

    Quote Originally Posted by chris128 View Post
    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

  6. #6
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    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)
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  7. #7

    Thread Starter
    Banned
    Join Date
    Aug 2009
    Posts
    333

    Re: Chaning Solution/Build name?

    Quote Originally Posted by chris128 View Post
    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
  •  



Click Here to Expand Forum to Full Width