173ddd4021 | ||
---|---|---|
build | ||
demo | ||
images | ||
src | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
LICENSE.TXT | ||
NuGet.Config | ||
PackageReferenceEditor.sln | ||
README.md | ||
appveyor.yml | ||
build.ps1 | ||
build.sh | ||
circle.yml |
README.md
PackageReferenceEditor
MSBuild, csproj and props package reference editor.
Screenshots
NuGet
PackageReferenceEditor is delivered as a NuGet package.
You can find the packages here NuGet and install the package like this:
Install-Package PackageReferenceEditor
NuGet Packages
Package Sources
Example Usage with Cake build scripts
Same code can be used in C# programs by removing #addin
directive and installing package from NuGet.
Print package versions
#addin "nuget:?package=PackageReferenceEditor&version=0.0.3"
using PackageReferenceEditor;
var result = Updater.FindReferences(@"C:\GitHub\", "*.props", new string[] { });
result.PrintVersions();
Validate package versions
#addin "nuget:?package=PackageReferenceEditor&version=0.0.3"
using PackageReferenceEditor;
var result = Updater.FindReferences(@"C:\GitHub\", "*.props", new string[] { });
result.ValidateVersions();
Update package version
#addin "nuget:?package=PackageReferenceEditor&version=0.0.3"
using PackageReferenceEditor;
var result = Updater.FindReferences(@"C:\GitHub\", "*.props", new string[] { });
result.UpdateVersions("Newtonsoft.Json", "10.0.3");
Resources
License
PackageReferenceEditor is licensed under the MIT license.