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 190359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:14:59+00:00 2026-05-11T16:14:59+00:00

I am developping a DSL with its own graphical editor. Such files have a

  • 0

I am developping a DSL with its own graphical editor. Such files have a .own extension. I also have a small tool that compiles .own files into .h files.

X.own –> X.h and X/*.h

I have written a simple .rules file to launch the generation.

My problem is the following :
Most of my source files include X.h, but a change in X.own does not mean the generated X.h (or any other generated file) will be different. This is dealt with by the generator through the use of temporary files and file comparison. But Visual Studio does not seem to know how to deal with all this. If i set the “output file(s)” property to the right file(s), it always assumes they will be changed. If i don’t, it generates its build process assuming they won’t be !

How can i make things right ?

1) Launch custom build tool

2) Compute build process based on dependencies

  • 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-05-11T16:14:59+00:00Added an answer on May 11, 2026 at 4:14 pm

    jheriko’s answer is interesting, because it provides a way to launch custom tool, then generate build dependencies. But it’s not very usable, because you then lose all possibilities to use “custom build tools” toolkit, in which you can

    • choose to always compile files with some precise extension
    • manually skip custom build for a particular file in a particular project configuration (and visualize this decision)

    There is no way (or at least i have found none) to “have it all”. The only way i have found is to have the custom build tool return a non-zero number when files have been updated, with a message to the user explaining that it is not an error and inviting him to launch build again. The next time, custom build tool is launched again (not optimal, but the tool i use is pretty fast) but modifies no new file, and build process goes on, using valid dependencies.

    Note : the approach described above does not work with Incredibuild, which seems to ignore project build order.

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

Sidebar

Related Questions

I'm developping a small UML Class editor in Java, mainly a personal project, it
I am developping a (relatively small) website in ASP.Net 2.0. I am also using
I'm developping an android application. For that I need to have a dynamic tableView.
I'm developping a card game. I have an ASP.NET page with some 52 small
I am developping an application that retrieves some data from a server. I have
i am developping an application that has chat&message support. I need to know weather
I am developping a web part that I can't update on the SharePoint server
I'm developping a web application that will be used either in Europe or in
I'm developping an application in java that regulary saves objects onto the hard disk
I'm developping a Java software that should make requests towards URLs over HTTP. Some

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.