Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8748067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:27:44+00:00 2026-06-13T12:27:44+00:00

This problem is quite annoying and I’ve been slamming up against it for a

  • 0

This problem is quite annoying and I’ve been slamming up against it for a few hours now. What I’m trying to do is use the configuration preprocessor in CCNet to create an XML element which calls the task in CCNet. I think I’m fundamentally misunderstanding something.

What I have now goes like this:

 <cruisecontrol xmlns:cb="urn:ccnet.config.builder">

         <cb:define name="myBuild">
            <devenv>
                <solutionfile>"$(projPath)"</solutionfile>
                <configuration>"$(releaseMode)"</configuration>
                <buildtype>Rebuild</buildtype>
                <executable>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe</executable>
                <buildTimeoutSeconds>2400</buildTimeoutSeconds>
                <version>VS2008</version>   
            </devenv>
        </cb:define>

Then to use it, I do the following within a project:

<cb:myBuild projPath="C:\sample.sln" releaseMode="Release" />

The error I’m getting is

[CCNET Server: ERROR] INTERNAL ERROR: Reference to unknown symbol ‘releasemode’

Then a huge stack trace of ThoughtWorks dll’s.

My main confusion lies in why “$(projPath)” in the define works fine, but “$(releaseMode)” does not. In fact, if I remove all references to “releaseMode” in the project CCNet accepts the script and even builds them. It, however, does not work as not all of our solutions have a “Release” mode, some are specially named (for some reason, don’t ask me).

Any help as to what’s going on or, more importantly, how one could solve this issue would be much appreciated.

I am running version 1.8.2. Also, we do have plans to move the actual build scripts to NANT, but this is a first step on a long road for our build process.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:27:45+00:00Added an answer on June 13, 2026 at 12:27 pm

    I constructed a simple config file from your parts, but it works flawlessly:

    <cb:define name="myBuild">
      <devenv>
        <solutionfile>"$(projPath)"</solutionfile>
        <configuration>"$(releaseMode)"</configuration>
        <buildtype>Rebuild</buildtype>
        <executable>C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe</executable>
        <buildTimeoutSeconds>2400</buildTimeoutSeconds>
        <version>VS2008</version>   
      </devenv>
    </cb:define>
    
    <project name="a">
      <tasks>
        <cb:myBuild projPath="C:\sample.sln" releaseMode="Release" />
      </tasks>
    </project>
    

    Somehow I doubt the error realted to any other configuration settings on the server.

    To simplify troubleshooting use CCValidator.exe if you’re not doing it yet. This way you’ll have a lot less potential sources of problems. You can find it in your CruiseControl.NET\server folder. Try opening your config file inside it to see if it displays any errors.

    If it does, try commenting out or removing all the parts of the config to make it as small as possible while still reproducing the issue. If you still can’t solve it, post that config for the others to take a look at.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've been struggling a bit with this tiny problem - and I'm quite sure
Ok, so I'm quite new to jQuery, but found this bizzare problem just now,
My problem is quite annoying, probably something really stupid but I've been going around
This has really been annoying me and it is quite important for me to
This problem has been afflicting me for quite a while and it's been really
This question is quite simple but I have run into the problem a few
I have been getting this annoying error/bug in Visual Studio 2008 quite a bit
I didn't find information on this annoying problem, and it seem quite common to
I add this problem for quite some time when using NetBeans. Recently I add
I noticed people wrote about this circular reference problem quite a bit before but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.