From: WonYoung Choi Date: Mon, 1 May 2017 05:43:44 +0000 (+0900) Subject: Add ref assemblies to nupkg file X-Git-Tag: accepted/tizen/unified/20170502.041128^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1902c96a457de828c25f09beef7b3a9cc03c85f8;p=platform%2Fcore%2Fdotnet%2Fbuild-tools.git Add ref assemblies to nupkg file Change-Id: Iec2ce510e213c974dc66df2826d5e9f3059a7634 --- diff --git a/GenAPI/Microsoft.Cci.Extensions.dll b/GenAPI/Microsoft.Cci.Extensions.dll index aa7d7f8..fa29934 100755 Binary files a/GenAPI/Microsoft.Cci.Extensions.dll and b/GenAPI/Microsoft.Cci.Extensions.dll differ diff --git a/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets b/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets index dbf32d5..57ad2a0 100644 --- a/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets +++ b/Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets @@ -1,16 +1,12 @@ + false true - - - $(OutputPath)$(AssemblyName).xml - - - + <_ShortTargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == '.NETStandard'">netstandard <_ShortTargetFrameworkIdentifier Condition="'$(TargetFrameworkIdentifier)' == 'Tizen'">tizen @@ -18,55 +14,59 @@ $(_ShortTargetFrameworkIdentifier)$(_TargetFrameworkVersionWithoutV) - - - $(MSBuildProjectDirectory)/$(AssemblyName).nuspec - - - - - - - - + - __AppendNuGetFiles; $(BuildDependsOn); - __CleanUpIntemediate; __GenerateReferenceAssembly; + __AppendNuGetAssemblyFiles; - - - - - - - - - + + + $(OutputPath)$(AssemblyName).xml + + <_GenAPITargetDir>_ref <_GenAPITargetSourcePath>$(_GenAPITargetDir)/$(TargetName).cs + <_GenAPITargetAssemblyInfoPath>$(_GenAPITargetDir)/$(TargetName).AssemblyInfo.cs <_GenAPITargetAssemblyPath>$(_GenAPITargetDir)/$(TargetName).dll <_GenAPIPath Condition="'$(_GenAPIPath)' == ''">/usr/share/dotnet-build-tools/GenAPI/GenAPI.exe <_GenAPICommand>dotnet $(_GenAPIPath) - - + + + $(MSBuildProjectDirectory)/$(AssemblyName).nuspec + + + + + + ref/$(TargetFramework) + + + lib/$(TargetFramework) + + + ref/$(TargetFramework) + + + + + + + Outputs="$(_GenAPITargetSourcePath)"> + + <_referencePathDirectoriesWithDuplicates Include="%(ReferencePath.RootDir)%(ReferencePath.Directory)" /> @@ -76,18 +76,49 @@ + <__RefCompile Include="$(_GenAPITargetSourcePath)"/> + + + + + + + + + + + + + + + + + + + <__RefCompile Include="$(_GenAPITargetAssemblyInfoPath)" /> + + + + + + DependsOnTargets="__GenerateReferenceAssemblySource;__GenerateAssemblyInfoSource"> - + - +