1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<Project ToolsVersion =" 4.0" DefaultTargets =" Build" xmlns =" http://schemas.microsoft.com/developer/msbuild/2003" >
3
3
<PropertyGroup >
4
- <ProductVersion >8.0.30703</ProductVersion >
5
- <SchemaVersion >2.0</SchemaVersion >
4
+ <Name >Nitra.Grammar</Name >
5
+ <RootNamespace >Nitra.Grammar</RootNamespace >
6
+ <NuspecFile >Nitra.Grammar.nuspec</NuspecFile >
7
+ <ProjectGuid Condition =" '$(ProjectGuid)' == '' " >{792f6159-9ff0-4352-8323-591a9bad3472}</ProjectGuid >
8
+ <NeedAddVersionToAssemblyName >False</NeedAddVersionToAssemblyName >
9
+ <CustomArguments >$(CustomArguments) -nowarn:114</CustomArguments >
10
+ </PropertyGroup >
11
+ <PropertyGroup > <!-- Common properties -->
6
12
<Stage Condition =" '$(Stage)' == '' " >Stage1</Stage >
7
- <ProjectGuid Condition = " '$( Stage)' == 'Stage1' " >{792f6159-9ff0-4352-8323-591a9bad3472}</ ProjectGuid >
8
- <Configuration Condition =" '$(Configuration )' == '' " >Debug</ Configuration >
9
- <Platform Condition = " '$(Platform)' == '' " >AnyCPU</ Platform >
10
- <Name Condition =" '$(Stage )' == 'Stage1 ' " >Nitra.Grammar</ Name >
13
+ <!-- NameSuffix - must be set when the Stage property set to "Boot" -- >
14
+ <NameSuffix2 Condition =" '$(NeedAddVersionToAssemblyName )' == 'True' And $(NameSuffix) != '' " >.$(NameSuffix)</ NameSuffix2 >
15
+ <AssemblyName >$(Name)$(NameSuffix2)</ AssemblyName >
16
+ <CommonFilesPath Condition =" '$(CommonFilesPath )' == '' " >..\..\Common</ CommonFilesPath >
11
17
<NemerleVersion >Net-4.0</NemerleVersion >
12
18
<NemerleBinPathRoot Condition =" '$(NemerleBinPathRoot)' == '' " >$(ProgramFiles)\Nemerle</NemerleBinPathRoot >
19
+ <NemerleLibs Condition =" '$(NemerleLibs)' == '' " >$(NemerleBinPathRoot)\$(NemerleVersion)</NemerleLibs >
13
20
<Nemerle Condition =" '$(Stage)' == 'Boot' " >$(MSBuildProjectDirectory)\..\..\Boot1\$(NemerleVersion)</Nemerle >
14
- <Nemerle Condition =" '$(Stage)' == 'Stage1' " >$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle >
15
- <Nemerle Condition =" '$(Stage)' == 'Stage2' " >$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle >
21
+ <Nemerle Condition =" '$(Stage)' != 'Boot' " >$(NemerleBinPathRoot)\$(NemerleVersion)</Nemerle >
22
+ <KeyOriginatorFile >$(CommonFilesPath)\Nitra.snk</KeyOriginatorFile >
23
+ <Configuration Condition =" '$(Configuration)' == '' " >Debug</Configuration >
24
+ <Platform Condition =" '$(Platform)' == '' " >AnyCPU</Platform >
25
+ <ProductVersion >8.0.30703</ProductVersion >
26
+ <SchemaVersion >2.0</SchemaVersion >
16
27
<OutputType >Library</OutputType >
17
- <NoStdLib >true</NoStdLib >
18
28
<AppDesignerFolder >Properties</AppDesignerFolder >
19
- <RootNamespace >Nitra.Grammar</RootNamespace >
20
- <AssemblyName >Nitra.Grammar</AssemblyName >
29
+ <NoStdLib >true</NoStdLib >
21
30
<TargetFrameworkVersion >v4.5</TargetFrameworkVersion >
22
31
<FileAlignment >512</FileAlignment >
23
- <CustomArguments >$(CustomArguments) -nowarn:114</CustomArguments >
24
- <CommonFilesPath Condition =" '$(CommonFilesPath)' == '' " >..\..\Common</CommonFilesPath >
25
- <KeyOriginatorFile >$(CommonFilesPath)\Nitra.snk</KeyOriginatorFile >
26
- <NuspecFile >Nitra.Grammar.nuspec</NuspecFile >
32
+ <DefineConstants >TRACE;DEBUG_EVAL_DEPENDENT_PROPERTIES</DefineConstants >
33
+ <DefineConstants Condition =" '$(BuildConstant)' != '' " >$(BuildConstant);$(DefineConstants)</DefineConstants >
34
+ <DefineConstants Condition =" '$(AdditionalDefineConstants)' != '' " >$(AdditionalDefineConstants);$(DefineConstants)</DefineConstants >
27
35
<SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\..\</SolutionDir >
28
36
<RestorePackages >true</RestorePackages >
29
37
</PropertyGroup >
30
38
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
39
+ <DefineConstants >$(DefineConstants);DEBUG</DefineConstants >
31
40
<DebugSymbols >true</DebugSymbols >
32
41
<Optimize >false</Optimize >
33
- <OutputPath >bin\Debug\$(Stage)\</OutputPath >
42
+ <OutputPath >..\..\ bin\Debug\$(Stage)\</OutputPath >
34
43
<IntermediateOutputPath >obj\Debug\$(Stage)\</IntermediateOutputPath >
35
- <DefineConstants >DEBUG;TRACE</DefineConstants >
36
44
<ErrorReport >prompt</ErrorReport >
37
45
<WarningLevel >4</WarningLevel >
38
46
</PropertyGroup >
39
47
<PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' " >
40
48
<DebugSymbols >false</DebugSymbols >
41
49
<Optimize >true</Optimize >
42
- <OutputPath >bin\Release\$(Stage)\</OutputPath >
50
+ <OutputPath >..\..\ bin\Release\$(Stage)\</OutputPath >
43
51
<IntermediateOutputPath >obj\Release\$(Stage)\</IntermediateOutputPath >
44
- <DefineConstants >TRACE</DefineConstants >
45
52
<ErrorReport >prompt</ErrorReport >
46
53
<WarningLevel >4</WarningLevel >
47
54
<DocumentationFile >$(OutputPath)\$(MSBuildProjectName).xml</DocumentationFile >
48
55
</PropertyGroup >
49
- <PropertyGroup >
50
- <DefineConstants Condition =" '$(BuildConstant)' != '' " >$(BuildConstant);$(DefineConstants)</DefineConstants >
51
- </PropertyGroup >
52
56
<ItemGroup >
53
57
<Reference Include =" mscorlib" />
54
58
<Reference Include =" System" />
55
59
<Reference Include =" System.Core" />
56
- <Reference Include =" System.Drawing" />
57
60
<Reference Include =" Nemerle" >
58
61
<SpecificVersion >False</SpecificVersion >
59
- <HintPath >$(NemerleBinPathRoot)\$(NemerleVersion)\Nemerle.dll</HintPath >
60
- <Private >True</Private >
62
+ <HintPath >$(NemerleLibs)\Nemerle.dll</HintPath >
61
63
</Reference >
64
+ </ItemGroup >
65
+ <ItemGroup >
62
66
<Reference Include =" Nemerle.Compiler" >
63
67
<SpecificVersion >False</SpecificVersion >
64
- <HintPath >$(NemerleBinPathRoot)\$(NemerleVersion)\Nemerle.Compiler.dll</HintPath >
65
- <Private >True</Private >
68
+ <HintPath >$(NemerleLibs)\Nemerle.Compiler.dll</HintPath >
66
69
</Reference >
67
70
</ItemGroup >
71
+ <ItemGroup >
72
+ <Reference Include =" System.Collections.Immutable, Version=1.1.37.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" >
73
+ <Name >System.Collections.Immutable</Name >
74
+ <AssemblyName >System.Collections.Immutable.dll</AssemblyName >
75
+ <HintPath >..\..\packages\System.Collections.Immutable.1.1.37\lib\portable-net45+win8+wp8+wpa81\System.Collections.Immutable.dll</HintPath >
76
+ </Reference >
77
+ <Reference Include =" System.Drawing" />
78
+ </ItemGroup >
68
79
<Choose >
69
80
<When Condition =" '$(Stage)' == 'Boot' " >
70
81
<ItemGroup >
565
576
</PropertyGroup >
566
577
<Error Condition =" !Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text =" $([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
567
578
</Target >
568
- </Project >
579
+ </Project >
0 commit comments