1<Project Sdk="Microsoft.NET.Sdk"> 2 3 <PropertyGroup> 4 <OutputType>Exe</OutputType> 5 <TargetFramework>netcoreapp3.1</TargetFramework> 6 </PropertyGroup> 7 8 <ItemGroup> 9 <Compile Remove="Properties\AssemblyInfo.cs" /> 10 </ItemGroup> 11 12 <PropertyGroup Condition="'$(UnsafeByteBuffer)' == 'true'"> 13 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 14 <DefineConstants>$(DefineConstants);UNSAFE_BYTEBUFFER</DefineConstants> 15 </PropertyGroup> 16 17 <PropertyGroup Condition="'$(EnableSpanT)' == 'true'"> 18 <AllowUnsafeBlocks>true</AllowUnsafeBlocks> 19 <DefineConstants>$(DefineConstants);ENABLE_SPAN_T</DefineConstants> 20 </PropertyGroup> 21 22 <ItemGroup> 23 <Compile Include="..\..\net\FlatBuffers\ByteBuffer.cs"> 24 <Link>FlatBuffers\ByteBuffer.cs</Link> 25 </Compile> 26 <Compile Include="..\..\net\FlatBuffers\ByteBufferUtil.cs"> 27 <Link>FlatBuffers\ByteBufferUtil.cs</Link> 28 </Compile> 29 <Compile Include="..\..\net\FlatBuffers\IFlatbufferObject.cs"> 30 <Link>FlatBuffers\IFlatbufferObject.cs</Link> 31 </Compile> 32 <Compile Include="..\..\net\FlatBuffers\Offset.cs"> 33 <Link>FlatBuffers\Offset.cs</Link> 34 </Compile> 35 <Compile Include="..\..\net\FlatBuffers\FlatBufferBuilder.cs"> 36 <Link>FlatBuffers\FlatBufferBuilder.cs</Link> 37 </Compile> 38 <Compile Include="..\..\net\FlatBuffers\FlatBufferConstants.cs"> 39 <Link>FlatBuffers\FlatBufferConstants.cs</Link> 40 </Compile> 41 <Compile Include="..\..\net\FlatBuffers\Struct.cs"> 42 <Link>FlatBuffers\Struct.cs</Link> 43 </Compile> 44 <Compile Include="..\..\net\FlatBuffers\Table.cs"> 45 <Link>FlatBuffers\Table.cs</Link> 46 </Compile> 47 <Compile Include="..\MyGame\Example2\Monster.cs"> 48 <Link>MyGame\Example2\Monster.cs</Link> 49 </Compile> 50 <Compile Include="..\MyGame\Example\Any.cs"> 51 <Link>MyGame\Example\Any.cs</Link> 52 </Compile> 53 <Compile Include="..\MyGame\Example\AnyAmbiguousAliases.cs"> 54 <Link>MyGame\Example\AnyAmbiguousAliases.cs</Link> 55 </Compile> 56 <Compile Include="..\MyGame\Example\AnyUniqueAliases.cs"> 57 <Link>MyGame\Example\AnyUniqueAliases.cs</Link> 58 </Compile> 59 <Compile Include="..\MyGame\Example\Color.cs"> 60 <Link>MyGame\Example\Color.cs</Link> 61 </Compile> 62 <Compile Include="..\MyGame\Example\Race.cs"> 63 <Link>MyGame\Example\Race.cs</Link> 64 </Compile> 65 <Compile Include="..\MyGame\Example\Monster.cs"> 66 <Link>MyGame\Example\Monster.cs</Link> 67 </Compile> 68 <Compile Include="..\MyGame\Example\Referrable.cs"> 69 <Link>MyGame\Example\Referrable.cs</Link> 70 </Compile> 71 <Compile Include="..\MyGame\Example\Stat.cs"> 72 <Link>MyGame\Example\Stat.cs</Link> 73 </Compile> 74 <Compile Include="..\MyGame\Example\Test.cs"> 75 <Link>MyGame\Example\Test.cs</Link> 76 </Compile> 77 <Compile Include="..\MyGame\Example\TestSimpleTableWithEnum.cs"> 78 <Link>MyGame\Example\TestSimpleTableWithEnum.cs</Link> 79 </Compile> 80 <Compile Include="..\MyGame\Example\TypeAliases.cs"> 81 <Link>MyGame\Example\TypeAliases.cs</Link> 82 </Compile> 83 <Compile Include="..\MyGame\Example\Vec3.cs"> 84 <Link>MyGame\Example\Vec3.cs</Link> 85 </Compile> 86 <Compile Include="..\MyGame\Example\Ability.cs"> 87 <Link>MyGame\Example\Ability.cs</Link> 88 </Compile> 89 <Compile Include="..\MyGame\Example\ArrayTable.cs"> 90 <Link>MyGame\Example\ArrayTable.cs</Link> 91 </Compile> 92 <Compile Include="..\MyGame\Example\ArrayStruct.cs"> 93 <Link>MyGame\Example\ArrayStruct.cs</Link> 94 </Compile> 95 <Compile Include="..\MyGame\Example\NestedStruct.cs"> 96 <Link>MyGame\Example\NestedStruct.cs</Link> 97 </Compile> 98 <Compile Include="..\MyGame\Example\TestEnum.cs"> 99 <Link>MyGame\Example\TestEnum.cs</Link> 100 </Compile> 101 <Compile Include="..\MyGame\InParentNamespace.cs"> 102 <Link>MyGame\InParentNamespace.cs</Link> 103 </Compile> 104 <Compile Include="..\namespace_test\NamespaceA\NamespaceB\EnumInNestedNS.cs"> 105 <Link>NamespaceA\NamespaceB\EnumInNestedNS.cs</Link> 106 </Compile> 107 <Compile Include="..\namespace_test\NamespaceA\NamespaceB\StructInNestedNS.cs"> 108 <Link>NamespaceA\NamespaceB\StructInNestedNS.cs</Link> 109 </Compile> 110 <Compile Include="..\namespace_test\NamespaceA\NamespaceB\TableInNestedNS.cs"> 111 <Link>NamespaceA\NamespaceB\TableInNestedNS.cs</Link> 112 </Compile> 113 <Compile Include="..\namespace_test\NamespaceA\NamespaceB\UnionInNestedNS.cs"> 114 <Link>NamespaceA\NamespaceB\UnionInNestedNS.cs</Link> 115 </Compile> 116 <Compile Include="..\namespace_test\NamespaceA\TableInFirstNS.cs"> 117 <Link>NamespaceA\TableInFirstNS.cs</Link> 118 </Compile> 119 <Compile Include="..\union_vector\Attacker.cs"> 120 <Link>union_vector\Attacker.cs</Link> 121 </Compile> 122 <Compile Include="..\union_vector\BookReader.cs"> 123 <Link>union_vector\BookReader.cs</Link> 124 </Compile> 125 <Compile Include="..\union_vector\Character.cs"> 126 <Link>union_vector\Character.cs</Link> 127 </Compile> 128 <Compile Include="..\union_vector\Movie.cs"> 129 <Link>union_vector\Movie.cs</Link> 130 </Compile> 131 <Compile Include="..\union_vector\Rapunzel.cs"> 132 <Link>union_vector\Rapunzel.cs</Link> 133 </Compile> 134 <Compile Include="..\optional_scalars\OptionalByte.cs"> 135 <Link>optional_scalars\OptionalByte.cs</Link> 136 </Compile> 137 <Compile Include="..\optional_scalars\ScalarStuff.cs"> 138 <Link>optional_scalars\ScalarStuff.cs</Link> 139 </Compile> 140 </ItemGroup> 141 142 <ItemGroup> 143 <None Remove=".gitignore" /> 144 <None Remove="clean.sh" /> 145 <None Remove="NetTest.sh" /> 146 <None Remove="packages.config" /> 147 <None Remove="README.md" /> 148 </ItemGroup> 149 150 <ItemGroup> 151 <Content Include="..\monsterdata_test.mon"> 152 <Link>Resources\monsterdata_test.mon</Link> 153 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 154 </Content> 155 <Content Include="..\monsterdata_test.json"> 156 <Link>Resources\monsterdata_test.json</Link> 157 <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> 158 </Content> 159 </ItemGroup> 160 161 <ItemGroup> 162 <PackageReference Include="Newtonsoft.Json" Version="12.0.3" /> 163 </ItemGroup> 164 165</Project> 166