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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T20:33:27+00:00 2026-06-09T20:33:27+00:00

If there’s configured binding of the solution with TFS, when you opening a solution

  • 0

If there’s configured binding of the solution with TFS, when you opening a solution VS asks you:

---------------------------
Microsoft Visual Studio
---------------------------
Go Online

This solution is offline but its associated Team Foundation Server is available.

Would you like to go online with this solution after it has loaded?
---------------------------
Yes   No   Help   
---------------------------

Or alternatively if TFS is not available it proposed the choice to work temporarily offline or remove bindings at all.

Is there a way to suppress these dialogs?

To give you some context. Part of our team is working with TFS directly and other part is working via git-tfs. When working with git-tfs – I don’t need online mode at all. So every time I open a solution or reload a project in the solution – I should answer the same things, over and over again. But I couldn’t delete bindings as then the people working with TFS directly will lose ability to connect to TFS seamlessly.

  • 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-09T20:33:29+00:00Added an answer on June 9, 2026 at 8:33 pm

    VS 2012 doesn’t show this dialog, but rather writing some info to output about unavailability of TFS, which is acceptable.

    For VS 2010 and VS 2008 the most irritating thing is that sometimes this dialog showed for each project, i.e. if you have 30 project in solution – you have to click ‘OK’ 30 times at each solution opening. For these I may suppose a partial solution – create a file named “ProjectConfiguration.xml” in the root folder of your solution with this content:

    <?xml version="1.0" encoding="utf-8"?>
    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
      <PropertyGroup>
        <SccProjectName>SAK</SccProjectName>
        <SccLocalPath>SAK</SccLocalPath>
        <SccAuxPath>SAK</SccAuxPath>
        <SccProvider>SAK</SccProvider>
      </PropertyGroup>
    </Project>
    

    Then, in each *.csproj file, remove all SccXxx elements and add this line (as a first-level XML node, not in the PropertyGroup): <Import Project="$(SolutionDir)ProjectConfigurations.xml" />
    After that VS fires the dialog just one time. Moreover, if you, like me, are working with git, you can issue git update-index --assume-unchanged 'ProjectConfigurations.xml' and comment these lines without committing them (assume-unchanged basically commands git to ignore changes even if file is tracked already – here is brief description of this option).

    P.S. We also included in these file some other option as well, e.g. <TreatWarningsAsErrors>true</TreatWarningsAsErrors> – it is handled by both VS and MSbuild perfectly.

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

Sidebar

Related Questions

There must be a simple solution to this, but after 4 hours of browsing
There are nice SO question and answers about this issue, but these options didn't
There have been multiple questions regarding this topic but I have never really settled
There are things like f.call(...) f.apply(...) But then there's this (1, alert)('Zomg what is
There is a conversion process that is needed when migrating Visual Studio 2005 web
There are many questions about this PersistenceException, but I have not seen some, where
There is a column that exists in 2 tables. In table 1, this column
There's a Rails 3.2.3 web application which doesn't use any database. But in spite
There is this strange situation I'm fighting on. I have 3 pages, les call
There are a lot of questions about full-joining in mysql(5.1.36). Of course the solution

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.