Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2018-07-18 22:58:31 +0300
committerAlexander Köplinger <alex.koeplinger@outlook.com>2018-07-18 22:58:44 +0300
commit2f5bfcd48cedaa0b154b56f8b53f7bd87d5e21ad (patch)
treeaa2a92904eaa1749a3893b8c2063f4966aa16f3f /msvc
parent777b956a35c4d59c0169d957bd1a5f3f4742e33f (diff)
[genconsts] Fix PostBuildEvent
The Microsoft.CSharp.targets import needs to come before the PostBuildEvent, otherwise TargetPath won't be set.
Diffstat (limited to 'msvc')
-rwxr-xr-xmsvc/scripts/genconsts.csproj4
1 files changed, 3 insertions, 1 deletions
diff --git a/msvc/scripts/genconsts.csproj b/msvc/scripts/genconsts.csproj
index fa523495fff..a13108547e7 100755
--- a/msvc/scripts/genconsts.csproj
+++ b/msvc/scripts/genconsts.csproj
@@ -12,10 +12,12 @@
<OutputPath>.\</OutputPath>
<ProjectGuid>{702AE2C0-71DD-4112-9A06-E4FABCA59986}</ProjectGuid>
<RunPostBuildEvent>Always</RunPostBuildEvent>
+ </PropertyGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <PropertyGroup>
<PostBuildEvent>cd $(MSBuildProjectDirectory)
$(TargetPath)</PostBuildEvent>
</PropertyGroup>
- <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<Compile Include="genconsts.cs" />
<Reference Include="System" />