Skip to content

Commit 6d26979

Browse files
const-cloudinarytocker
authored andcommitted
Fix nuget package structure
Decrease netstandard version from 1.6 to 1.3 Fix net40 path inside nuget Fix net40 output dll name
1 parent cd48f58 commit 6d26979

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

Cloudinary/Cloudinary.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
<Version>1.1.1</Version>
2121
<PackageTags>Image Video Responsive Web Utility CDN Performance Resize Crop Rotate Quality Watermark Gif Jpg Jpeg Bitmap PNG Tiff Webp Webm mp4 avi Filter Effect</PackageTags>
2222
<FileVersion>1.1.0</FileVersion>
23+
<RootNamespace>CloudinaryDotNet</RootNamespace>
24+
<AssemblyName>CloudinaryDotNet</AssemblyName>
2325
</PropertyGroup>
2426
<PropertyGroup Condition=" '$(TargetFrameworkVersion)' == 'v3.5' ">
2527
<DefineConstants>NET35</DefineConstants>

Core/CloudinaryDotNet.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFramework>netstandard1.6</TargetFramework>
3+
<TargetFramework>netstandard1.3</TargetFramework>
44
<AssemblyName>CloudinaryDotNet</AssemblyName>
55
<PackageId>CloudinaryDotNet</PackageId>
66
<PackageTargetFallback>$(PackageTargetFallback);dnxcore50</PackageTargetFallback>

build.ps1

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ $netClassicPath = "$baseOutputPath\NetClassic"
66
$libPath = "lib"
77

88
$targetFrameworks = @{
9-
"\net\net40" = $netClassicPath;
10-
"\netstandard1.6" = $netCorePath;
9+
"\net40" = $netClassicPath;
10+
"\netstandard1.3" = $netCorePath;
1111
"\netcore" = $netCorePath;
1212
}
13-
$msbuildExe = 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe'
13+
1414
function Get-MSBuild-Path {
1515

1616
$vs14key = "HKLM:\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0"
@@ -35,7 +35,7 @@ function Get-MSBuild-Path {
3535
}
3636

3737
return $msbuildPath
38-
38+
3939
}
4040

4141
function Build-Net-Classic($outPath) {
@@ -83,5 +83,4 @@ Build-Net-Core $outBuildPath
8383
Create-Package-Structure $libPath $targetFrameworks
8484
Create-Package
8585

86-
Write-Host "Done, press any key to continue ..."
87-
$x = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown")
86+
Write-Host "Done"

0 commit comments

Comments
 (0)