Repository navigation
Expand file tree
/
Copy pathIronPython.Modules.csproj
More file actions
46 lines (38 loc) · 1.87 KB
/
Copy pathIronPython.Modules.csproj
File metadata and controls
46 lines (38 loc) · 1.87 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netcoreapp2.0;netcoreapp2.1</TargetFrameworks>
<BaseAddress>885063680</BaseAddress>
<CodeAnalysisRuleSet>$(AssemblyName).ruleset</CodeAnalysisRuleSet>
<DocumentationFile>$(OutputPath)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'net45' ">
<Reference Include="Mono.Posix" Condition=" '$(Mono)' == 'true' ">
<SpecificVersion>False</SpecificVersion>
</Reference>
<PackageReference Include="Mono.Posix" Version="5.4.0.201" Condition=" '$(Mono)' != 'true' " />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" Condition=" '$(TargetFramework)' == 'netcoreapp2.0' OR '$(TargetFramework)' == 'netcoreapp2.1' " />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\IronPython\IronPython.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="IronPython.Modules.ruleset" />
</ItemGroup>
<ItemGroup>
<Compile Include="..\AssemblyVersion.cs" Link="Properties\AssemblyVersion.cs" />
</ItemGroup>
<ItemGroup Condition=" '$(TargetFramework)' == 'netcoreapp2.0' OR '$(TargetFramework)' == 'netcoreapp2.1' ">
<PackageReference Include="Microsoft.Win32.Registry" Version="4.5.0" />
</ItemGroup>
<Import Project="$(BeforeTargetFiles)" />
<Target Name="BeforeBuildStarts" BeforeTargets="BeforeBuild" DependsOnTargets="$(BeforeTargets);GenerateCurrentVersion" />
<ItemGroup>
<!-- if the file does not exist it's not picked up automatically -->
<Compile Remove="Properties\CurrentVersion.Generated.cs" />
<Compile Remove="Properties\BuildInfo.Generated.cs" />
</ItemGroup>
<Import Project="$(AfterTargetFiles)" />
<Target Name="AfterBuildEnds" AfterTargets="AfterBuild" DependsOnTargets="$(AfterTargets)" />
</Project>