diff options
author | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2019-01-09 21:52:40 +0300 |
---|---|---|
committer | Mikayla Hutchinson <m.j.hutchinson@gmail.com> | 2019-01-11 04:42:16 +0300 |
commit | a60641c26645e91ecb9e0de8a359787dfcf6d3cf (patch) | |
tree | 8e27e3cd298e80aac01ccc7aeda905ad8f19a36c /main/msbuild | |
parent | a12a6a0f738af0a035cd441177f685d3320ce431 (diff) |
Fix copying editor's substitute WindowsBase
Diffstat (limited to 'main/msbuild')
-rw-r--r-- | main/msbuild/ReferencesVSEditor.Mac.props | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/main/msbuild/ReferencesVSEditor.Mac.props b/main/msbuild/ReferencesVSEditor.Mac.props index e8fdde57a8..6766614841 100644 --- a/main/msbuild/ReferencesVSEditor.Mac.props +++ b/main/msbuild/ReferencesVSEditor.Mac.props @@ -74,4 +74,21 @@ <Private>$(ReferencesVSEditorCopyToOutput)</Private>
</ProjectReference>
</ItemGroup>
-</Project>
\ No newline at end of file +
+ <!-- MSBuild doesn't copy the FPF references as they match BCL assembly names -->
+ <Target Name="CopyFPFAssemblies" AfterTargets="_CopyFilesMarkedCopyLocal" Condition="'$(ReferencesVSEditorCopyToOutput)'=='true'">
+ <PropertyGroup>
+ <FPFConfiguration>Release</FPFConfiguration>
+ <FPFConfiguration Condition="$(Configuration.Contains('Debug'))">Debug</FPFConfiguration>
+ <FPFOutputPath>$(RootDirectory)external\vs-editor-core\bin\FPF\$(FPFConfiguration)\net472\</FPFOutputPath>
+ </PropertyGroup>
+ <ItemGroup>
+ <FPFOutputFiles Include="$(FPFOutputPath)WindowsBase.*" />
+ <FileWrites Include="@(FPFOutputFiles)" />
+ </ItemGroup>
+ <Copy
+ SourceFiles="@(FPFOutputFiles)"
+ DestinationFolder="$(OutputPath)"
+ SkipUnchangedFiles="true" />
+ </Target>
+</Project>
|