Created
May 12, 2016 15:26
-
-
Save xoofx/7ff3ca4f70c100430dd8045e0d44d2d1 to your computer and use it in GitHub Desktop.
Microsoft.Common.CurrentVersion.targets with a DSL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************************************************************** | |
Microsoft.Common.CurrentVersion.targets | |
WARNING: DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have | |
created a backup copy. Incorrect changes to this file will make it | |
impossible to load or build your projects from the command-line or the IDE. | |
This file defines the steps in the standard build process for .NET projects. It | |
contains all the steps that are common among the different .NET languages, such as | |
Visual Basic, and Visual C#. | |
Copyright (C) Microsoft Corporation. All rights reserved. | |
***********************************************************************************************/ | |
project {default_targets:"build", initial_targets:"_CheckForInvalidConfigurationAndPlatform", treat_as_local_property:"OutDir"} | |
if !MicrosoftCommonPropsHasBeenImported && file.exist('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props') | |
import "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" | |
end | |
ImportByWildcardBeforeMicrosoftCommonTargets = ImportByWildcardBeforeMicrosoftCommonTargets ?? true | |
ImportByWildcardAfterMicrosoftCommonTargets = ImportByWildcardAfterMicrosoftCommonTargets ?? true | |
ImportUserLocationsByWildcardBeforeMicrosoftCommonTargets = ImportUserLocationsByWildcardBeforeMicrosoftCommonTargets ?? true | |
ImportUserLocationsByWildcardAfterMicrosoftCommonTargets = ImportUserLocationsByWildcardAfterMicrosoftCommonTargets ?? true | |
if ImportUserLocationsByWildcardBeforeMicrosoftCommonTargets && file.exist("$(MSBuildUserExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.targets\ImportBefore") | |
import "$(MSBuildUserExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.targets\ImportBefore\*" | |
end | |
if ImportByWildcardBeforeMicrosoftCommonTargets && file.exist("$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.targets\ImportBefore") | |
import "$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.targets\ImportBefore\*" | |
end | |
[...] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment