Skip to content

Instantly share code, notes, and snippets.

@jstangroome
Created December 9, 2010 02:36
Show Gist options
  • Save jstangroome/734259 to your computer and use it in GitHub Desktop.
Save jstangroome/734259 to your computer and use it in GitHub Desktop.
Use hard links instead of copying files during builds.
@zowers
Copy link

zowers commented Jun 23, 2011

sadly there is no way to force creation of hardlinks when building in vs for
all except CreateHardLinksForAdditionalFilesIfPossible

@zowers
Copy link

zowers commented Jun 24, 2011

or you can replace UseHardlinksIfPossible="$(CreateHardLinksForCopyLocalIfPossible)" to ="true" in Framework\v4.0.30319\Microsoft.Common.targets

@wollmich
Copy link

or you can replace UseHardlinksIfPossible="$(CreateHardLinksForCopyLocalIfPossible)" to ="true" in Framework\v4.0.30319\Microsoft.Common.targets

Where can I replace that? I assume the goal is that when building inside Visual Studio hard links are generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment