Menu

#1229 Add New and Add Existing errors

v3.0
closed
votive (347)
2012-09-15
2008-06-05
No

With the 4130 build of Wix 3.0, if you try to Add New Item or Add Existing Item for a *.wxs, you immediately get an error saying "Value does not fall within the expected range."

Discussion

  • Jason Ginchereau

    Logged In: YES
    user_id=2086430
    Originator: NO

    I don't see this problem with either VS2005 or VS2008 and WiX 3.0.4130.

    Does it happen if you add other types of files? What about if you open in the editor a WXS file that is already in the project?

    What was the previous build you had where it was working for you?

     
  • Benjamin Day

    Benjamin Day - 2008-06-06

    Logged In: YES
    user_id=2108589
    Originator: YES

    My previous build that I installed was 3815 and it was working.

    With 4130, I can open existing existing wxs files.

    I think that this bug has something to do with source control integration. Even tho VS is configured to automatically checkout on edit, it doesn't do the automatic checkout on any project type anymore. If I try to add a file to another project (for example, a Class Library), I get a dialog saying that the csproj file is not checked out. I then click OK and then I get the same error dialog as described in my initial bug report: "Value does not fall within the expected range."

    Also, after playing around with the repro scenarios for this comment, source control through Solution Explorer has stopped working entirely for my WiX project. Source control is working for all other projects in my solution. All my source control options except for "Unshelve Pending Changes" are grey'd out.

    BTW, I'm using VS2008 Team Suite with TFS2008 as the repository.

     
  • Jason Ginchereau

    Logged In: YES
    user_id=2086430
    Originator: NO

    Resolving as a duplicate of 1977311: "3.0.4123.0 breaks source control"

    This is another symptom of the same problem. This problem only occurs when attempting to use an older project with a newer build of WiX. Since WiX v3 is still in beta we might have to break compatibility across builds now and then. Actually did I investigate adding some code to auto-upgrade the projects in this case, but automating it reliably wasn't straightforward so we decided against it.

    The old projects can be updated manually by following the instructions at
    http://blogs.msdn.com/jasongin/archive/2008/07/09/votive-project-platform-configurations.aspx

     
MongoDB Logo MongoDB