diff options
author | Katelyn Gadd <kg@luminance.org> | 2018-09-02 18:54:01 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2018-09-02 18:54:01 +0300 |
commit | 84af5b235e6fed68197d95448b5715fb776776dd (patch) | |
tree | 96943321c36111bf0279c64402122d1d749c66fa /msvc | |
parent | 707bddeaff0848a240e4954ffa8d48bd258cd166 (diff) |
Move the PreBuild dependency property later in the file so targets can't override it (#10429)
* Move the PreBuild dependency property later in the file so targets can't override it
* [csproj] Update project files
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/scripts/csproj.tmpl | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/msvc/scripts/csproj.tmpl b/msvc/scripts/csproj.tmpl index 4dc8a980798..492144bf584 100644 --- a/msvc/scripts/csproj.tmpl +++ b/msvc/scripts/csproj.tmpl @@ -27,10 +27,6 @@ Microsoft.NETFramework.props will force a dependency on the assembly System.Core. This
is a problem to compile the Mono mscorlib.dll -->
<AddAdditionalExplicitAssemblyReferences>false</AddAdditionalExplicitAssemblyReferences>
- <!-- Force the pre-build event to run after references have been resolved. The default
- behavior is to run them before resolving references, which can cause things like
- culevel.exe to be used before they have been built. -->
- <PreBuildEventDependsOn>ResolveReferences</PreBuildEventDependsOn>
</PropertyGroup>
<!-- @ALL_PROFILE_PROPERTIES@ -->
@@ -55,5 +51,12 @@ <!-- @ALL_REFERENCES@ -->
<!-- @ALL_RESOURCES@ -->
+ <PropertyGroup>
+ <!-- Force the pre-build event to run after references have been resolved. The default
+ behavior is to run them before resolving references, which can cause things like
+ culevel.exe to be used before they have been built. -->
+ <PreBuildEventDependsOn>ResolveReferences</PreBuildEventDependsOn>
+ </PropertyGroup>
+
@PREBUILD_POSTBUILD@
</Project>
|