forked from microsoft/bond
/
CoreNS10.csproj
77 lines (77 loc) · 5.29 KB
/
CoreNS10.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
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
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(MSBuildThisFileDirectory)\..\..\build\internal\Common.Internal.props" />
<PropertyGroup>
<TargetFrameworks>net45</TargetFrameworks>
<Configurations>Debug;Release;Fields</Configurations>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>UnitTest</RootNamespace>
<AssemblyName>Bond.UnitTestCoreNS10</AssemblyName>
<IsCodedUITest>False</IsCodedUITest>
<TestProjectType>UnitTest</TestProjectType>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<!-- This project is used to test the netstandard1.0 implementation of Bond -->
<BondTargetFramework>netstandard1.0</BondTargetFramework>
<BondIOTargetFramework>netstandard1.3</BondIOTargetFramework>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<IntermediateOutputPath>$(IntermediateOutputPath)\Properties\</IntermediateOutputPath>
<OutputPath>$(OutputPath)\Properties\</OutputPath>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Fields' ">
<IntermediateOutputPath>$(IntermediateOutputPath)\Fields\</IntermediateOutputPath>
<OutputPath>$(OutputPath)\Fields\</OutputPath>
<BondOptions>--fields --collection-interfaces</BondOptions>
</PropertyGroup>
<ItemGroup>
<BondImportDirectory Include="..\core\import dir with spaces\" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\core\*.cs" />
<BondCodegen Include="..\core\Aliases.bond">
<Options>$(BondOptions) --using="Lazy=Lazy<{0}>" --using="OrderedSet=SortedSet<{0}>" --using="Decimal=decimal" --using="EnumString=Alias.EnumString<{0}>" --using="Array={0}[]" --using=ArrayBlob=byte[] --using="CustomList=UnitTest.Aliases.SomeCustomList<{0}>"</Options>
</BondCodegen>
<BondCodegen Include="..\core\NamespaceConflict.bond" />
<BondCodegen Include="..\core\NamespaceConflictBond.bond" />
<BondCodegen Include="..\core\ReadOnly.bond">
<Options Condition=" '$(Configuration)' != 'Fields' ">$(BondOptions) --readonly-properties</Options>
<Options Condition=" '$(Configuration)' == 'Fields' ">--readonly-properties --collection-interfaces</Options>
</BondCodegen>
<BondCodegen Include="..\core\Containers.bond">
<Options Condition=" '$(Configuration)' != 'Fields' ">$(BondOptions) --collection-interfaces</Options>
<Options Condition=" '$(Configuration)' == 'Fields' ">--fields</Options>
</BondCodegen>
<BondCodegen Include="..\core\UnitTest.bond">
<Options>$(BondOptions) --using="DateTime=System.DateTime"</Options>
</BondCodegen>
<BondCodegen Include="..\core\ImmutableCollections.bond">
<Options>$(BondOptions) --using="ImmutableArray=System.Collections.Immutable.ImmutableArray<{0}>" --using="ImmutableList=System.Collections.Immutable.ImmutableList<{0}>" --using="ImmutableHashSet=System.Collections.Immutable.ImmutableHashSet<{0}>" --using="ImmutableSortedSet=System.Collections.Immutable.ImmutableSortedSet<{0}>" --using="ImmutableDictionary=System.Collections.Immutable.ImmutableDictionary<{0},{1}>" --using="ImmutableSortedDictionary=System.Collections.Immutable.ImmutableSortedDictionary<{0},{1}>"</Options>
</BondCodegen>
<!-- uses mixed slashes to test the targets can deal with that -->
<BondCodegen Include="..\core\import dir with spaces\dir1/dir2/Bond File With Spaces.bond" />
<!-- Resharper Workaround -->
<Compile Include="$(IntermediateOutputPath)\Aliases_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\Bond File With Spaces_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\Containers_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\NamespaceConflict_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\NamespaceConflictBond_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\ReadOnly_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\UnitTest_types.cs" Condition="False" />
<Compile Include="$(IntermediateOutputPath)\ImmutableCollections_types.cs" Condition="False" />
<!-- End Resharper Workaround -->
</ItemGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="NUnit" Version="3.10.*" />
<PackageReference Include="NUnit3TestAdapter" Version="3.10.*" />
<PackageReference Include="System.Collections.Immutable" Version="1.7.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\attributes\Attributes.csproj" AdditionalProperties="TargetFramework=$(BondTargetFramework)" />
<ProjectReference Include="..\..\src\core\Bond.csproj" AdditionalProperties="TargetFramework=$(BondTargetFramework)" />
<ProjectReference Include="..\..\src\reflection\reflection.csproj" AdditionalProperties="TargetFramework=$(BondTargetFramework)" />
<ProjectReference Include="..\..\src\io\IO.csproj" AdditionalProperties="TargetFramework=$(BondIOTargetFramework)" />
<ProjectReference Include="..\..\src\json\JSON.csproj" AdditionalProperties="TargetFramework=$(BondTargetFramework)" />
</ItemGroup>
<Import Project="$(MSBuildThisFileDirectory)\..\..\build\internal\Common.Internal.targets" />
</Project>