forked from MonoGame/MonoGame
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMonoGame.Content.Builder.csproj
38 lines (33 loc) · 1.62 KB
/
MonoGame.Content.Builder.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<BaseOutputPath>..\..\Artifacts\MonoGame.Content.Builder</BaseOutputPath>
<PackAsTool>true</PackAsTool>
<ToolCommandName>mgcb</ToolCommandName>
<PackageId>dotnet-mgcb</PackageId>
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
<AssemblyName>mgcb</AssemblyName>
<UseAppHost>true</UseAppHost>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\MonoGame.Framework\MonoGame.Framework.DesktopGL.csproj" />
<ProjectReference Include="..\..\MonoGame.Framework.Content.Pipeline\MonoGame.Framework.Content.Pipeline.csproj" />
</ItemGroup>
<!-- Build and copy MGFXC, just don't reference it! -->
<PropertyGroup>
<!-- NuGet warns if we copy assemblies but don't reference them; we suppress those warnings. -->
<NoWarn>NU5100</NoWarn>
</PropertyGroup>
<ItemGroup>
<Content Include="..\..\Artifacts\MonoGame.Effect.Compiler\Release\*"
Exclude="..\..\Artifacts\MonoGame.Effect.Compiler\Release\*.nupkg"
Visible="false">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Target Name="BuildMFGXC" BeforeTargets="Restore">
<MSBuild Projects="..\MonoGame.Effect.Compiler\MonoGame.Effect.Compiler.csproj" Properties="Configuration=Release;UseAppHost=False" Targets="Restore" />
<MSBuild Projects="..\MonoGame.Effect.Compiler\MonoGame.Effect.Compiler.csproj" Properties="Configuration=Release;UseAppHost=False" Targets="Build" />
</Target>
</Project>