diff --git a/build/NuSpecs/UmbracoCms.SqlCe.nuspec b/build/NuSpecs/UmbracoCms.SqlCe.nuspec new file mode 100644 index 0000000000..6c2f5584bb --- /dev/null +++ b/build/NuSpecs/UmbracoCms.SqlCe.nuspec @@ -0,0 +1,42 @@ + + + + UmbracoCms.SqlCe + 9.0.0 + Umbraco Cms Core Binaries + Umbraco HQ + Umbraco HQ + MIT + https://umbraco.com/ + https://umbraco.com/dist/nuget/logo-small.png + false + Contains the SQL CE assemblies needed to run Umbraco Cms. This package only contains assemblies and can be used for package development. Use the UmbracoCms package to setup Umbraco in Visual Studio as an ASP.NET Core project. + Contains the SQL CE assemblies needed to run Umbraco Cms + en-US + umbraco + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/build.ps1 b/build/build.ps1 index a59eb2c5ca..5a8219366c 100644 --- a/build/build.ps1 +++ b/build/build.ps1 @@ -247,6 +247,9 @@ /p:UmbracoBuild=True ` > $log + # copy Umbraco.Persistance.SqlCe files into WebApp + Copy-Item "$($this.BuildTemp)\tests\Umbraco.Persistance.SqlCe.*" "$($this.BuildTemp)\WebApp\bin" + if (-not $?) { throw "Failed to compile tests." } # /p:UmbracoBuild tells the csproj that we are building from PS @@ -420,6 +423,12 @@ -Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cms.log" if (-not $?) { throw "Failed to pack NuGet UmbracoCms." } + &$this.BuildEnv.NuGet Pack "$nuspecs\UmbracoCms.SqlCe.nuspec" ` + -Properties BuildTmp="$($this.BuildTemp)" ` + -Version "$($this.Version.Semver.ToString())" ` + -Verbosity detailed -outputDirectory "$($this.BuildOutput)" > "$($this.BuildTemp)\nupack.cmssqlce.log" + if (-not $?) { throw "Failed to pack NuGet UmbracoCms.SqlCe." } + # run hook if ($this.HasMethod("PostPackageNuGet")) {