forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMonoGame.Content.Builder.Editor.csproj
80 lines (71 loc) · 3.39 KB
/
MonoGame.Content.Builder.Editor.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Description>The MonoGame Framework Content Builder Editor (MGCB-Editor) is a graphical tool used for editing your content projects ready for processing.</Description>
<BaseOutputPath>..\..\Artifacts\MonoGame.Content.Builder.Editor\Launcher</BaseOutputPath>
<PackAsTool>true</PackAsTool>
<ToolCommandName>mgcb-editor</ToolCommandName>
<PackageId>dotnet-mgcb-editor</PackageId>
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
<AssemblyName>mgcb-editor</AssemblyName>
<!-- DisableFastUpToDateCheck so we get updates to other projects even though
the ProjectReferences have 'ReferenceOutputAssembly' set to false. -->
<DisableFastUpToDateCheck>true</DisableFastUpToDateCheck>
</PropertyGroup>
<Choose>
<When Condition="$(SolutionName.Contains('Linux'))">
<PropertyGroup>
<TargetPlatform>Linux</TargetPlatform>
</PropertyGroup>
</When>
<When Condition="$(SolutionName.Contains('Mac'))">
<PropertyGroup>
<TargetPlatform>Mac</TargetPlatform>
</PropertyGroup>
</When>
<When Condition="$(SolutionName.Contains('Windows'))">
<PropertyGroup>
<TargetPlatform>Windows</TargetPlatform>
</PropertyGroup>
</When>
<Otherwise>
<PropertyGroup>
<TargetPlatform>All</TargetPlatform>
</PropertyGroup>
</Otherwise>
</Choose>
<ItemGroup>
<None Remove="**\*" />
<Compile Remove="**\*" />
<None Include="..\AppReference.targets" />
<Compile Include="Platform\Launcher\**\*.cs" />
<Compile Include="Platform\Utilities\**\*.cs" />
<Compile Include="Common\ProcessStartInfoExtensions.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.CommandLine" Version="2.0.0-beta1.20158.1" />
</ItemGroup>
<!-- Reference app projects with 'ReferenceOutputAssembly' false so they don't impact each other.
For example, if Windows has 'ReferenceOutputAssembly' set to true, the SDK used by the launcher and
the Mac app is changed to WindowsDesktop, which prevents them from running on other platforms. -->
<ItemGroup>
<ProjectReference Include="..\MonoGame.Content.Builder\MonoGame.Content.Builder.csproj">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<AppReference>true</AppReference>
</ProjectReference>
<ProjectReference Include="MonoGame.Content.Builder.Editor.Linux.csproj" Condition="'$(TargetPlatform)' == 'Linux' OR '$(TargetPlatform)' == 'All'">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<AppReference>true</AppReference>
</ProjectReference>
<ProjectReference Include="MonoGame.Content.Builder.Editor.Mac.csproj" Condition="'$(TargetPlatform)' == 'Mac' OR '$(TargetPlatform)' == 'All'">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<AppReference>true</AppReference>
</ProjectReference>
<ProjectReference Include="MonoGame.Content.Builder.Editor.Windows.csproj" Condition="'$(TargetPlatform)' == 'Windows' OR ('$(TargetPlatform)' == 'All' AND '$(OS)' == 'Windows_NT')">
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<AppReference>true</AppReference>
</ProjectReference>
</ItemGroup>
<Import Project="..\AppReference.targets" />
</Project>