-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathUniversalSceneDescription.csproj
More file actions
122 lines (107 loc) · 5.35 KB
/
Copy pathUniversalSceneDescription.csproj
File metadata and controls
122 lines (107 loc) · 5.35 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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<RootNamespace>UniversalSceneDescription</RootNamespace>
<AssemblyName>UniversalSceneDescription</AssemblyName>
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<!-- Compile only curated source items below. -->
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<EnableDefaultEmbeddedResourceItems>false</EnableDefaultEmbeddedResourceItems>
<EnableDefaultNoneItems>false</EnableDefaultNoneItems>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<NoWarn>$(NoWarn);CS1591;SYSLIB1054</NoWarn>
</PropertyGroup>
<!-- NuGet package metadata -->
<PropertyGroup>
<IsPackable>true</IsPackable>
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<PackageId>UniversalSceneDescription</PackageId>
<Version>7.3.0</Version>
<Title>Universal Scene Description for .NET</Title>
<Authors>Pixar, Unity, 3DEngine</Authors>
<Company>3DEngine</Company>
<Copyright> Pixar, Unity Technologies, 3DEngine. Distributed under the Mozilla Public License 2.0.</Copyright>
<Description>Pixar's OpenUSD (Universal Scene Description) for .NET 10 - bundles the managed USD.NET assembly (from Unity's com.unity.usd.core), per-RID native USD runtime libraries, and the Pixar plugin tree. The .NET SDK auto-deploys native assets to the consumer's output directory via the standard runtimes/<rid>/native/ convention. Native binaries are included for win-x64, linux-x64, osx-x64, and osx-arm64.</Description>
<PackageTags>USD;OpenUSD;Pixar;USD.NET;UniversalSceneDescription;3D;Scene;Graphics;Unity;3DEngine</PackageTags>
<PackageProjectUrl>https://github.com/EggyStudio/UniversalSceneDescription</PackageProjectUrl>
<RepositoryUrl>https://github.com/EggyStudio/UniversalSceneDescription</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>logo.png</PackageIcon>
<Deterministic>true</Deterministic>
</PropertyGroup>
<!-- Branding / docs -->
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="/" />
<None Include=".github\assets\*" Pack="true" PackagePath="/" Visible="true" />
</ItemGroup>
<!-- Surface GitHub Actions workflows in the IDE solution view.
Not packed, not copied to output. -->
<ItemGroup>
<None Include=".github/workflows/*.yml" Pack="false" Visible="true"/>
<None Include=".github/workflows/*.yaml" Pack="false" Visible="true"/>
</ItemGroup>
<!-- Import the same staging logic locally so this project's own bin/ output
mirrors what downstream consumers receive. -->
<Import Project="build/UniversalSceneDescription.targets" />
<!-- Managed source files -->
<ItemGroup>
<Compile Include="src/**/*.cs"
Exclude="src/bin/**;src/obj/**" />
</ItemGroup>
<!-- Reference the Unity-built USD.NET managed assembly so package
consumers can compile against the pxr.* types. -->
<ItemGroup>
<Reference Include="USD.NET">
<HintPath>src\USD.NET.dll</HintPath>
<Private>false</Private>
</Reference>
</ItemGroup>
<!-- Managed USD.NET assembly: shipped under lib/net10.0/ -->
<ItemGroup>
<None Include="src\USD.NET.dll"
Pack="true"
PackagePath="lib\net10.0\USD.NET.dll"
CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<!-- Native runtime: package all per-RID assets under runtimes/<rid>/native/.
%(RecursiveDir) keeps subfolder layout (including usd/* plugin files).
README placeholders are excluded from the package. -->
<ItemGroup>
<None Include="runtimes\**\*"
Exclude="runtimes\**\README.md"
Pack="true"
PackagePath="runtimes\%(RecursiveDir)%(Filename)%(Extension)"
CopyToOutputDirectory="PreserveNewest"
Link="runtimes\%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
<!--
NuGet's runtime-asset deployment only stages files placed *directly* under
runtimes/<rid>/native/; it does not recurse into subdirectories, so the
Pixar USD plugin tree (runtimes/<rid>/native/usd/**) shipped in this
package never reaches the consumer's bin/ output on its own.
Ship a build/ + buildTransitive/ .targets pair (at the *package root*, not
a TFM-scoped subfolder) so that any consuming project - direct or
transitive PackageReference, on any current or future TFM - gets the
plugin tree staged automatically. Keeping the targets at the root also
keeps the relative `Import` path in buildTransitive unambiguous.
-->
<ItemGroup>
<None Include="build\UniversalSceneDescription.targets"
Pack="true"
PackagePath="build\UniversalSceneDescription.targets" />
<None Include="buildTransitive\UniversalSceneDescription.targets"
Pack="true"
PackagePath="buildTransitive\UniversalSceneDescription.targets" />
</ItemGroup>
<ItemGroup>
<EditorConfigFiles Remove=".editorconfig" />
</ItemGroup>
</Project>