-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathAudience.Runtime.csproj
More file actions
25 lines (25 loc) · 1.16 KB
/
Copy pathAudience.Runtime.csproj
File metadata and controls
25 lines (25 loc) · 1.16 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<LangVersion>9.0</LangVersion>
<Nullable>disable</Nullable>
<!-- Match the Unity asmdef assembly name so InternalsVisibleTo works in both contexts -->
<AssemblyName>Immutable.Audience.Runtime</AssemblyName>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Sources live in the package folder, not next to this project -->
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<PackageRoot>$(MSBuildThisFileDirectory)../../Packages/Audience</PackageRoot>
</PropertyGroup>
<!--
The Unity/ subtree belongs to the sibling Immutable.Audience.Unity asmdef.
It references UnityEngine, so it cannot build under the headless .NET SDK.
Excluding it here mirrors the noEngineReferences:true portability guard on
com.immutable.audience.asmdef, catching stray UnityEngine usage in Core/,
Events/, Transport/ and Utility/.
-->
<ItemGroup>
<Compile Include="$(PackageRoot)/Runtime/**/*.cs"
Exclude="$(PackageRoot)/Runtime/Unity/**/*.cs"
LinkBase="Runtime" />
</ItemGroup>
</Project>