MSBuild, csproj and props package reference editor.
Перейти к файлу
Wiesław Šoltés 173ddd4021 Updated screenshot 2017-11-15 19:58:04 +01:00
build Updated Avalonia 2017-11-14 18:10:05 +01:00
demo Updated version 2017-11-15 19:28:34 +01:00
images Updated screenshot 2017-11-15 19:58:04 +01:00
src Updated ui 2017-11-15 19:55:29 +01:00
.gitattributes Added .gitattributes & .gitignore files 2017-11-09 19:42:13 +01:00
.gitignore Updated gitignore 2017-11-14 18:40:32 +01:00
.travis.yml Added build scripts 2017-11-15 18:20:07 +01:00
LICENSE.TXT Create LICENSE.TXT 2017-11-09 22:40:32 +01:00
NuGet.Config Create NuGet.Config 2017-11-14 12:01:51 +01:00
PackageReferenceEditor.sln Removed wpf version 2017-11-15 18:19:52 +01:00
README.md Updated version 2017-11-15 19:28:34 +01:00
appveyor.yml Added build scripts 2017-11-15 18:20:07 +01:00
build.ps1 Added build scripts 2017-11-15 18:20:07 +01:00
build.sh Updated bash script 2017-11-15 19:03:58 +01:00
circle.yml Added build scripts 2017-11-15 18:20:07 +01:00

README.md

PackageReferenceEditor

Build status Build Status CircleCI

NuGet

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.