Unpack dotnet sdk zipfile and add documentation file to nupkg
[platform/core/dotnet/build-tools.git] / dotnet / sdk / 2.0.0-preview1-005700 / Microsoft / Portable / v4.5 / Microsoft.Portable.VisualBasic.targets
1 <!--\r
2 ***********************************************************************************************\r
3 Microsoft.Portable.VisualBasic.targets\r
4 \r
5 Contains common properties and targets that are shared by all v4.5 Portable Library VB projects.\r
6 \r
7 WARNING:  DO NOT MODIFY this file unless you are knowledgeable about MSBuild and have\r
8           created a backup copy.  Incorrect changes to this file will make it\r
9           impossible to load or build your projects from the command-line or the IDE.\r
10 \r
11 Copyright (C) Microsoft Corporation. All rights reserved.\r
12 ***********************************************************************************************\r
13 -->\r
14 \r
15 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
16 \r
17     <PropertyGroup>\r
18         <NoConfig>true</NoConfig>\r
19         <MyType>Empty</MyType>\r
20     </PropertyGroup>\r
21 \r
22     <!-- Turns on VB runtime embedding if not already set and Microsoft.VisualBasic.dll does not exist in the target framework -->\r
23     <Target\r
24         Name="GetVBRuntime"\r
25         BeforeTargets="CoreCompile"\r
26         Condition="'$(VBRuntime)' == ''">\r
27 \r
28         <ItemGroup>\r
29             <!-- Turn TargetFrameworkDirectory (which is a property with one or more directories) into an item -->\r
30             <_VBRuntimeSearchDirectories Include="$(TargetFrameworkDirectory)" />\r
31         </ItemGroup>\r
32 \r
33         <PropertyGroup>\r
34             <_VBRuntimeFound Condition="Exists('%(_VBRuntimeSearchDirectories.Identity)Microsoft.VisualBasic.dll')">true</_VBRuntimeFound>\r
35         </PropertyGroup>\r
36 \r
37         <PropertyGroup Condition="$(_VBRuntimeFound) != 'true'">\r
38             <VBRuntime>Embed</VBRuntime>\r
39         </PropertyGroup>\r
40     </Target>\r
41 \r
42     <Import Project="Microsoft.Portable.Common.targets" />\r
43     <Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />\r
44     <Import Project="..\Microsoft.Portable.Core.targets" />\r
45 \r
46 </Project>\r