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

  • Home
  • SEARCH
  • 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 3965812
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:30:55+00:00 2026-05-20T03:30:55+00:00

We use Linq2Sql and CruiseControl.NET. Visual Studio likes to rebuild the register any layout

  • 0

We use Linq2Sql and CruiseControl.NET. Visual Studio likes to rebuild the register any layout change on the DBML designer as a change to the DBML. This forces it to regenerate the DataContext.designer.cs and DataContext.layout files. This, in turn, causes spurious conflicts with Subversion when we go to commit.

I would like to svn:ignore the .designer.cs and .layout files to avoid the conflicts, and let our CI server generate them as part of the build process. MSBuild, which works well for building the rest of our project, does not generate the .designer.cs files.

Normally, those files are built upon save of the .DBML within Visual Studio using the custom tool MSLinqToSQLGenerator. I need to be able to do it unattended without running Visual Studio.

How do I do this?

  • 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-20T03:30:56+00:00Added an answer on May 20, 2026 at 3:30 am

    Based mostly on this question, but also this question, this question and my own experience, I don’t think it’s possible without a lot of ugliness, pain or without converting your LINQ to SQL code generation over to T4 (not appealing, IMO).

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

Sidebar

Related Questions

I use Linq2Sql and am tired of recreating the dbml everytime the database changes.
I notice a lot of the examples for ASP.NET use Linq2Sql as the datasource.
I'm struggling to think of a good way to use linq2sql, simply I want
I use linq2sql and m_DateContext.Dates class for table ID | ParentID | Datestamp ---|----------|----------
I am trying to use Linq2Sql to return all rows that contain values from
Is it possible to use LINQ2SQL as MVC model and bind? - Since L2S
Would it be a terrible if I were to use Linq2Sql in my front
I am slowly porting over an app from MySQL to use Linq2Sql - but
I want to use a temp directory that will be unique to this build.
Is there any reason why I should not use an Integer as primary key

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.