Add GenerateReferenceAssembly option
authorWonYoung Choi <wy80.choi@samsung.com>
Mon, 8 May 2017 10:18:22 +0000 (19:18 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Mon, 8 May 2017 10:36:25 +0000 (19:36 +0900)
Change-Id: I6bd989a04c6f5f6db683d2797cb815c9bc0f1cd3

GenAPI/GenAPI.exe
GenAPI/Microsoft.Cci.Extensions.dll
Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets
packaging/dotnet-build-tools.spec

index 55a3548..e43eec3 100755 (executable)
Binary files a/GenAPI/GenAPI.exe and b/GenAPI/GenAPI.exe differ
index fa29934..69ea7d7 100755 (executable)
Binary files a/GenAPI/Microsoft.Cci.Extensions.dll and b/GenAPI/Microsoft.Cci.Extensions.dll differ
index 57ad2a0..6698df1 100644 (file)
     <TargetFramework Condition="'$(_ShortTargetFrameworkIdentifier)' != ''">$(_ShortTargetFrameworkIdentifier)$(_TargetFrameworkVersionWithoutV)</TargetFramework>
   </PropertyGroup>
 
+  <!-- Suppress Missing XML comment warning -->
+  <PropertyGroup>
+    <NoWarn>$(NoWarn);1591</NoWarn>
+  </PropertyGroup>
+
   <!-- Modify BuildDependsOn -->
   <PropertyGroup Condition="'$(UseTizenGBSImportAfterTarget)' == 'true'">
     <BuildDependsOn>
   <!-- Additional files to append to .nuspec -->
   <ItemGroup>
     <NuGetAssemblyFile Include="$(DocumentationFile)">
-      <TargetPath>ref/$(TargetFramework)</TargetPath>
+      <TargetPath>lib/$(TargetFramework)</TargetPath>
     </NuGetAssemblyFile>
     <NuGetAssemblyFile Include="$(OutputPath)$(TargetFileName)">
       <TargetPath>lib/$(TargetFramework)</TargetPath>
     </NuGetAssemblyFile>
+  </ItemGroup>
+
+  <ItemGroup Condition="'$(GenerateReferenceAssembly)' == 'true'">
     <NuGetAssemblyFile Include="$(_GenAPITargetAssemblyPath)">
       <TargetPath>ref/$(TargetFramework)</TargetPath>
     </NuGetAssemblyFile>
@@ -73,7 +81,7 @@
       <_referencePathDirectories Include="%(_referencePathDirectoriesWithDuplicates.Identity)" />
     </ItemGroup>
 
-    <Exec Command="$(_GenAPICommand) -assembly:&quot;$(TargetPath)&quot; -libPath:&quot;@(_referencePathDirectories)&quot; -out:&quot;$(_GenAPITargetSourcePath)&quot; -throw -global" />
+    <Exec Command="$(_GenAPICommand) -assembly:&quot;$(TargetPath)&quot; -libPath:&quot;@(_referencePathDirectories)&quot; -out:&quot;$(_GenAPITargetSourcePath)&quot; -throw&quot;Not Supported Feature&quot; -global" />
 
     <ItemGroup>
       <__RefCompile Include="$(_GenAPITargetSourcePath)"/>
 
   <!-- Generate Reference Assembly .dll file -->
   <Target Name="__GenerateReferenceAssembly"
+          Condition="'$(GenerateReferenceAssembly)' == 'true'"
           Inputs="@(__RefCompile)"
           Outputs="$(_GenAPITargetAssemblyPath)"
           DependsOnTargets="__GenerateReferenceAssemblySource;__GenerateAssemblyInfoSource">
index cc565e8..0cfaf46 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       dotnet-build-tools
 Summary:    Tools for building C# API projects
-Version:    1.2.2
+Version:    1.2.3
 Release:    1
 Group:      Development/Libraries
 License:    MIT and Apache-2.0