Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated nuget and build package

  • Loading branch information...
commit 600d97fb4789dae13d70423d8c7e4978b8e13e25 1 parent 59fd154
@nberardi nberardi authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 ManagedFusion.Web.msbuild
  2. BIN  lib/NuGet.exe
View
7 ManagedFusion.Web.msbuild
@@ -12,6 +12,7 @@
<PropertyGroup>
<AssemblyName>ManagedFusion.Web</AssemblyName>
+ <AssemblyNetVersion>net40</AssemblyNetVersion>
<AssemblyInfo>src\Properties\AssemblyInfo.cs</AssemblyInfo>
<PackagePath>nuget</PackagePath>
<PackageSpec>$(PackagePath)\$(AssemblyName).nuspec</PackageSpec>
@@ -66,16 +67,16 @@
</ItemGroup>
<RemoveDir Directories="$(PackagePath)\lib" />
- <Copy SourceFiles="@(AssembliesToPackage)" DestinationFolder="$(PackagePath)\lib\net35\" />
+ <Copy SourceFiles="@(AssembliesToPackage)" DestinationFolder="$(PackagePath)\lib\$(AssemblyNetVersion)\" />
<Copy SourceFiles="@(AssembliesToPackage)" DestinationFolder="$(PackageBuildPath)" />
- <NuGet SpecFile="$(PackageSpec)" PackageDir="$(PackageBuildPath)" />
+ <Exec Command="$(NuGetExe) update" />
+ <Exec Command="$(NuGetExe) pack $(PackageSpec) -o $(PackageBuildPath)" />
</Target>
<Target Name="Deploy" DependsOnTargets="Package">
<TeamCityProgressMessage Text="Deploying NuGet" />
- <Exec Command="$(NuGetExe) update" />
<Exec Command="$(NuGetExe) push $(NuPackage) $(package_key)" />
</Target>
</Project>
View
BIN  lib/NuGet.exe
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.