sliekens / buildpackage Goto Github PK
View Code? Open in Web Editor NEWBuild NuGet packages the easy way
Home Page: https://www.nuget.org/packages/BuildPackage/
License: MIT License
Build NuGet packages the easy way
Home Page: https://www.nuget.org/packages/BuildPackage/
License: MIT License
Why is OutDir
specified as an argument to the -Properties
list?
See line 26-27
https://github.com/StevenLiekens/BuildPackage/blob/6fdadd2922d57baad59f5dc7cbcaca2373e74213/src/build/BuildPackage.targets#L26-L27
It breaks packaging for web applications where the output path is bin\ instead of bin$(Configuration)
Does removing it break anything? I don't see why it would.
Removing BasePath does not seem to break anything so consider removing it. Right now it breaks projects where the nuspec file contains relative paths.
3.4.4+ added better semver support for prerelease labels (1.0.0-prerelease). Add a flag BuildPackageSuffix
and add it to the docs.
Because cleaning can only work if stdout matches the pattern: Successfully created package '(?<package>.+)'.
.
I created new library project targeting .NET Framework 4.5.1 and referenced several 4.0.0 libraries. Then I run Install-Package BuildPackage
and get following errors:
Executing script file 'C:\Users\Sample Company\documents\visual studio 2015\Projects\SampleLibrariesCoreNuget\packages\BuildPackage.2.3.0\tools\Install.ps1'
Cannot index into a null array.
At C:\Users\Sample Company\documents\visual studio 2015\Projects\SampleLibrariesCoreNuget\packages\BuildPackage.2.3.0\tools\Install.ps1:3 char:1
+ $fullPath = $configFile.Properties["FullPath"].Value
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Get-Content : Cannot bind argument to parameter 'Path' because it is null.
At C:\Users\Sample Company\documents\visual studio 2015\Projects\SampleLibrariesCoreNuget\packages\BuildPackage.2.3.0\tools\Install.ps1:4 char:28
+ [xml]$config = Get-Content $fullPath
+ ~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Get-Content], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.GetContentCommand
Select-Xml : Cannot validate argument on parameter 'Xml'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.
At C:\Users\Sample Company\documents\visual studio 2015\Projects\SampleLibrariesCoreNuget\packages\BuildPackage.2.3.0\tools\Install.ps1:5 char:19
+ $nuget = $config |select-xml "//package[@id='NuGet.CommandLine']"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Select-Xml], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.SelectXmlCommand
Successfully installed 'BuildPackage 2.3.0' to SampleLibrariesCoreNuget
Executing nuget actions took 720,6 ms
Time Elapsed: 00:00:01.5435979
Package is installed. Build fails, but package is being created successfully (but nupkg is only some kB big, source libararies are circa 50 MB in total).
Cannot evaluate the item metadata "%(FileName)". The item metadata "%(FileName)" cannot be applied to the path "Truing to compile package from "SampleLibrariesCoreNuget.csproj".". Illegal characters in path.
I guess that's not the expected output?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.