Announcement

Collapse
No announcement yet.

debugging build error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    debugging build error

    this is driving me nuts.

    How do I correct this?
    Attached Files
    -Alex Cunningham

    #2
    The path to Revit is incorrect, it shouldn't contain the "(x86)" part. Fix the path in the "project.csproj.user" file.
    http://krispcad.blogspot.com/

    Comment


      #3
      This is my project.csproj.user file for my project. Where would I put the revit.exe path?

      Code:
      <?xml version="1.0" encoding="utf-8"?>
      <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
        <PropertyGroup>
          <PublishUrlHistory />
          <InstallUrlHistory />
          <SupportUrlHistory />
          <UpdateUrlHistory />
          <BootstrapperUrlHistory />
          <ErrorReportUrlHistory />
          <FallbackCulture>en-US</FallbackCulture>
          <VerifyUploadedFiles>false</VerifyUploadedFiles>
          <ProjectView>ProjectFiles</ProjectView>
        </PropertyGroup><PropertyGroup>
          <ReferencePath></ReferencePath>
        </PropertyGroup>
      </Project>
      -Alex Cunningham

      Comment


        #4
        Be warned! - This answer is from a API noob

        But I think you need to add this line below the <PropertyGroup> Tag:

        Code:
        <StartProgram>C:\Program Files\Revit Architecture 2011\Program\Revit.exe</StartProgram>
        Klaus Munkholm
        "Do. Or do not. There is no try."

        Comment


          #5
          Thanks for trying Klaus, but if I even modify the file it breaks my project.
          -Alex Cunningham

          Comment


            #6
            LOL - Would have been shocked if something that I had touched in the API actually worked... so of course it didn´t :blah:

            You´ll need to wait for the clever API Gurus to show up then.
            Klaus Munkholm
            "Do. Or do not. There is no try."

            Comment


              #7
              when i said "project.csproj.user" file i should have mentioned that you should replace "project" with whatever your project is called sorry, the contents of mine typically looks like this:
              Code:
              <?xml version="1.0" encoding="utf-8"?>
              <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
                <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
                  <StartAction>Program</StartAction>
                  <StartProgram>C:\Program Files\Autodesk\Revit Architecture 2012\Program\Revit.exe</StartProgram>
                </PropertyGroup>
              </Project>
              so Klaus was corrrect
              http://krispcad.blogspot.com/

              Comment


                #8
                AWESOME!!! it works perfectly now. Thank You.
                -Alex Cunningham

                Comment

                Related Topics

                Collapse

                Working...
                X