forked from chickensoft-games/GodotNodeInterfaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChickensoft.GodotNodeInterfacesGenerator.csproj
34 lines (31 loc) · 1.51 KB
/
Chickensoft.GodotNodeInterfacesGenerator.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net7.0</TargetFramework>
<EnableDynamicLoading>true</EnableDynamicLoading>
<LangVersion>preview</LangVersion>
<Nullable>enable</Nullable>
<CopyAllFiles>true</CopyAllFiles>
<RootNamespace>Chickensoft.GodotNodeInterfacesGenerator</RootNamespace>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<DebugType>portable</DebugType>
<OutputPath>.output</OutputPath>
<PackageId>Chickensoft.GodotNodeInterfaces</PackageId>
</PropertyGroup>
<ItemGroup>
<!-- Dependencies go here. -->
<PackageReference Include="GodotSharp" Version="4.3.0" />
<PackageReference Include="Microsoft.CodeAnalysis.Analyzers" Version="3.11.0" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.11.0" PrivateAssets="all" />
<!-- Lets us get XML documentation easily. -->
<PackageReference Include="Towel" Version="1.0.40" />
</ItemGroup>
<!--
This lets us copy the XML file from GodotSharp to our output directory
-->
<Target Name="_ResolveCopyLocalNuGetPkgXmls" AfterTargets="ResolveReferences">
<ItemGroup><!-- Copy XML files from all PackageReferences to output dir -->
<ReferenceCopyLocalPaths Include="@(ReferenceCopyLocalPaths->'%(RootDir)%(Directory)%(Filename).xml')" Condition="'%(ReferenceCopyLocalPaths.NuGetPackageId)'!='' and Exists('%(RootDir)%(Directory)%(Filename).xml')" />
</ItemGroup>
</Target>
</Project>