Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>As has already been stated, you're going to be looking at using a work-around.</p> <p>You could look at using MSBuild to do this, so it's part of your build process. To access TFS, you can either shell out to TF.EXE, or use the <a href="http://www.codeplex.com/MSBuildExtensionPack" rel="nofollow noreferrer">MSBuildExtensionPack</a> (see <a href="https://stackoverflow.com/questions/224460/checkout-from-tfs-with-msbuild">this question also</a>).</p> <p>Hopefully you have a single project within your solution that is dependant on the content that is elsewhere in your source code, so you have an obvious location to put your MSBuild custom code.</p> <p>I'd envisage the MSBuild code would:</p> <ol> <li>Get the applicable content, overwriting existing content.</li> <li>Remove source control bindings - <a href="http://www.wintellect.com/cs/blogs/jrobbins/archive/2006/12/26/working-offline-with-tfs.aspx" rel="nofollow noreferrer">this blog post</a> looks like it might have pointers.</li> </ol> <p>It isn't beautiful, but it's unlikely you'll find a beautiful solution in the absence of import. This approach has the advantage that putting your customisation within a .csproj means that you don't need any kind of custom build process to ensure the content is updated. It'll simply happen everytime the project you use is built.</p> <p>If you know people building your script will have the content you want to import checked out in a predictable location relative to the solution being built, you could simply copy from that location, instead of using TF get.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload