mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Bans content from directly referencing Robust projects, instead it must go through new MSBuild items <UseRobustApi>. This way we can move types between RT projects without fear of causing breaking changes.
36 lines
1.3 KiB
XML
36 lines
1.3 KiB
XML
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<!-- Properties for both engine and content. -->
|
|
<!-- Import this at the end of any project files in Robust and Content. -->
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
|
|
</PropertyGroup>
|
|
|
|
<Import Project="Robust.Custom.targets" Condition="Exists('Robust.Custom.targets')"/>
|
|
|
|
<!-- Configuration logic -->
|
|
<Import Project="Robust.Configurations.props" />
|
|
|
|
<!-- Some platform management logic -->
|
|
<Import Project="Robust.Platform.props" />
|
|
|
|
<PropertyGroup>
|
|
<EnableClientScripting>False</EnableClientScripting>
|
|
<!-- Client scripting is only enabled on tools builds for security and size reasons. -->
|
|
<EnableClientScripting Condition="'$(RobustToolsBuild)' == 'true'">True</EnableClientScripting>
|
|
</PropertyGroup>
|
|
|
|
<!-- built-in define constants -->
|
|
<Import Project="Robust.DefineConstants.targets" />
|
|
|
|
<!-- analyzer -->
|
|
<Import Project="Robust.Analyzers.targets" Condition="'$(SkipRobustAnalyzer)' != 'true'" />
|
|
|
|
<!-- serialization generator -->
|
|
<Import Project="Robust.Serialization.Generator.targets" Condition="'$(SkipRobustAnalyzer)' != 'true'" />
|
|
|
|
<!-- Robust API system -->
|
|
<Import Project="Robust.Api.targets" />
|
|
</Project>
|