forked from dotnet/corert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdir.targets
25 lines (20 loc) · 1.16 KB
/
dir.targets
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
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ErrorIfBuildToolsRestoredFromIndividualProject Condition="!Exists('$(ToolsDir)')">true</ErrorIfBuildToolsRestoredFromIndividualProject>
</PropertyGroup>
<Import Project="..\dir.targets" />
<!-- Returns the assembly version of the project for consumption
by the NuGet package generation -->
<Target Name="GetAssemblyVersion"
Returns="$(AssemblyVersion)"/>
<!-- Returns the generated documentation file for consumption
by the NuGet package generation -->
<Target Name="GetDocumentationFile"
Returns="$(DocumentationFile)"/>
<!-- Project language -->
<PropertyGroup Condition="'$(ProjectLanguage)' == ''">
<ProjectLanguage Condition="'$(MSBuildProjectExtension)' == '.ilproj' OR '$(Language)' == 'IL'">IL</ProjectLanguage>
<ProjectLanguage Condition="'$(MSBuildProjectExtension)' == '.csproj' OR '$(Language)' == 'C#' OR '$(ProjectLanguage)'==''">CSharp</ProjectLanguage>
</PropertyGroup>
<Import Project="$(ToolsDir)\IL.targets" Condition="'$(ProjectLanguage)' == 'IL'" />
</Project>