From 69109c7f7e1e7877df951c573f3af1790382048f Mon Sep 17 00:00:00 2001 From: romangurevitch Date: Thu, 18 Jan 2018 18:02:51 +0200 Subject: [PATCH] New msbuild example --- msbuild-example/MsbuildExample.sln | 31 ++++ msbuild-example/MsbuildExample/App.config | 6 + msbuild-example/MsbuildExample/App.xaml | 9 + msbuild-example/MsbuildExample/App.xaml.cs | 17 ++ .../MsbuildExample/MainWindow.xaml | 12 ++ .../MsbuildExample/MainWindow.xaml.cs | 36 ++++ .../MsbuildExample/MsbuildExample.csproj | 172 ++++++++++++++++++ .../MsbuildExample/Properties/AssemblyInfo.cs | 55 ++++++ .../Properties/Resources.Designer.cs | 71 ++++++++ .../MsbuildExample/Properties/Resources.resx | 117 ++++++++++++ .../Properties/Settings.Designer.cs | 30 +++ .../Properties/Settings.settings | 7 + .../dependencies/MsbuildLibrary.dll | Bin 0 -> 4096 bytes .../MsbuildLibrary/LibraryExample.cs | 16 ++ .../MsbuildLibrary/MsbuildLibrary.csproj | 105 +++++++++++ .../MsbuildLibrary/Properties/AssemblyInfo.cs | 36 ++++ msbuild-example/README.md | 164 +++++++++++++++-- .../.artifactory/Deploy.targets | 0 .../.artifactory/Resolve.targets | 0 .../.artifactory/artifactory.build | 0 .../.nuget/NuGet.Config | 0 .../.nuget/NuGet.exe | Bin .../.nuget/NuGet.targets | 0 .../Artifactory/Artifactory.csproj | 0 .../Artifactory/packages.config | 0 .../ArtifactoryDemo.DAL/App.config | 0 .../ArtifactoryDemo.DAL.csproj | 0 .../ArtifactoryDemo.DAL.csproj.vspscc | 0 .../ArtifactoryDemo.DAL/Class1.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../ArtifactoryDemo.DAL/artifactory.build | 0 .../ArtifactoryDemo.DAL/packages.config | 0 .../ArtifactoryDemo.Services.csproj | 0 .../ArtifactoryDemo.Services.csproj.vspscc | 0 .../ArtifactoryDemo.Services/Class1.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../ArtifactoryDemo.Services/packages.config | 0 .../App_Start/BundleConfig.cs | 0 .../App_Start/FilterConfig.cs | 0 .../App_Start/RouteConfig.cs | 0 .../App_Start/WebApiConfig.cs | 0 .../HelpPage/ApiDescriptionExtensions.cs | 0 .../HelpPage/App_Start/HelpPageConfig.cs | 0 .../HelpPage/Controllers/HelpController.cs | 0 .../Areas/HelpPage/HelpPage.css | 0 .../HelpPage/HelpPageAreaRegistration.cs | 0 .../HelpPageConfigurationExtensions.cs | 0 .../Areas/HelpPage/Models/HelpPageApiModel.cs | 0 .../HelpPageSampleGenerator.cs | 0 .../SampleGeneration/HelpPageSampleKey.cs | 0 .../HelpPage/SampleGeneration/ImageSample.cs | 0 .../SampleGeneration/InvalidSample.cs | 0 .../SampleGeneration/ObjectGenerator.cs | 0 .../SampleGeneration/SampleDirection.cs | 0 .../HelpPage/SampleGeneration/TextSample.cs | 0 .../Areas/HelpPage/Views/Help/Api.cshtml | 0 .../Help/DisplayTemplates/ApiGroup.cshtml | 0 .../DisplayTemplates/HelpPageApiModel.cshtml | 0 .../Help/DisplayTemplates/ImageSample.cshtml | 0 .../DisplayTemplates/InvalidSample.cshtml | 0 .../Help/DisplayTemplates/Parameters.cshtml | 0 .../Help/DisplayTemplates/Samples.cshtml | 0 .../Help/DisplayTemplates/TextSample.cshtml | 0 .../Areas/HelpPage/Views/Help/Index.cshtml | 0 .../HelpPage/Views/Shared/_Layout.cshtml | 0 .../Areas/HelpPage/Views/Web.config | 0 .../Areas/HelpPage/Views/_ViewStart.cshtml | 0 .../HelpPage/XmlDocumentationProvider.cs | 0 .../ArtifactoryDemo.Web.csproj | 0 .../ArtifactoryDemo.Web.csproj.vspscc | 0 .../ArtifactoryDemo.Web/Content/Site.css | 0 .../ArtifactoryDemo.Web/Content/bootstrap.css | 0 .../Content/bootstrap.min.css | 0 .../Controllers/HomeController.cs | 0 .../Controllers/ValuesController.cs | 0 .../Controllers/favicon.ico | Bin .../ArtifactoryDemo.Web/Global.asax | 0 .../ArtifactoryDemo.Web/Global.asax.cs | 0 .../ArtifactoryDemo.Web/Project_Readme.html | 0 .../Properties/AssemblyInfo.cs | 0 .../Properties/PublishProfiles/local.pubxml | 0 .../Scripts/_references.js | Bin .../ArtifactoryDemo.Web/Scripts/bootstrap.js | 0 .../Scripts/bootstrap.min.js | 0 .../Scripts/jquery-1.10.2.intellisense.js | 0 .../Scripts/jquery-1.10.2.js | 0 .../Scripts/jquery-1.10.2.min.js | 0 .../Scripts/jquery-1.10.2.min.map | 0 .../Scripts/modernizr-2.6.2.js | 0 .../ArtifactoryDemo.Web/Scripts/respond.js | 0 .../Scripts/respond.min.js | 0 .../Views/Home/Index.cshtml | 0 .../Views/Shared/Error.cshtml | 0 .../Views/Shared/_Layout.cshtml | 0 .../ArtifactoryDemo.Web/Views/Web.config | 0 .../Views/_ViewStart.cshtml | 0 .../ArtifactoryDemo.Web/Web.Debug.config | 0 .../ArtifactoryDemo.Web/Web.Release.config | 0 .../ArtifactoryDemo.Web/Web.config | 0 .../fonts/glyphicons-halflings-regular.eot | Bin .../fonts/glyphicons-halflings-regular.svg | 0 .../fonts/glyphicons-halflings-regular.ttf | Bin .../fonts/glyphicons-halflings-regular.woff | Bin .../ArtifactoryDemo.Web/packages.config | 0 .../DemoSolution.vssscc | 0 msbuild-plugin-example/README.md | 17 ++ .../msbuild-example.sln | 0 107 files changed, 890 insertions(+), 11 deletions(-) create mode 100644 msbuild-example/MsbuildExample.sln create mode 100644 msbuild-example/MsbuildExample/App.config create mode 100644 msbuild-example/MsbuildExample/App.xaml create mode 100644 msbuild-example/MsbuildExample/App.xaml.cs create mode 100644 msbuild-example/MsbuildExample/MainWindow.xaml create mode 100644 msbuild-example/MsbuildExample/MainWindow.xaml.cs create mode 100644 msbuild-example/MsbuildExample/MsbuildExample.csproj create mode 100644 msbuild-example/MsbuildExample/Properties/AssemblyInfo.cs create mode 100644 msbuild-example/MsbuildExample/Properties/Resources.Designer.cs create mode 100644 msbuild-example/MsbuildExample/Properties/Resources.resx create mode 100644 msbuild-example/MsbuildExample/Properties/Settings.Designer.cs create mode 100644 msbuild-example/MsbuildExample/Properties/Settings.settings create mode 100644 msbuild-example/MsbuildExample/dependencies/MsbuildLibrary.dll create mode 100644 msbuild-example/MsbuildLibrary/LibraryExample.cs create mode 100644 msbuild-example/MsbuildLibrary/MsbuildLibrary.csproj create mode 100644 msbuild-example/MsbuildLibrary/Properties/AssemblyInfo.cs rename {msbuild-example => msbuild-plugin-example}/.artifactory/Deploy.targets (100%) rename {msbuild-example => msbuild-plugin-example}/.artifactory/Resolve.targets (100%) rename {msbuild-example => msbuild-plugin-example}/.artifactory/artifactory.build (100%) rename {msbuild-example => msbuild-plugin-example}/.nuget/NuGet.Config (100%) rename {msbuild-example => msbuild-plugin-example}/.nuget/NuGet.exe (100%) rename {msbuild-example => msbuild-plugin-example}/.nuget/NuGet.targets (100%) rename {msbuild-example => msbuild-plugin-example}/Artifactory/Artifactory.csproj (100%) rename {msbuild-example => msbuild-plugin-example}/Artifactory/packages.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/App.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj.vspscc (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/Class1.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/Properties/AssemblyInfo.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/artifactory.build (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.DAL/packages.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj.vspscc (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Services/Class1.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Services/Properties/AssemblyInfo.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Services/packages.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/App_Start/BundleConfig.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/App_Start/FilterConfig.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/App_Start/RouteConfig.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/App_Start/WebApiConfig.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/ApiDescriptionExtensions.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/App_Start/HelpPageConfig.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Controllers/HelpController.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/HelpPage.css (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageAreaRegistration.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Models/HelpPageApiModel.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ImageSample.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/InvalidSample.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/TextSample.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Api.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Index.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Shared/_Layout.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/Web.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/Views/_ViewStart.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Areas/HelpPage/XmlDocumentationProvider.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj.vspscc (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Content/Site.css (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Content/bootstrap.css (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Content/bootstrap.min.css (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Controllers/HomeController.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Controllers/ValuesController.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Controllers/favicon.ico (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Global.asax (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Global.asax.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Project_Readme.html (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Properties/AssemblyInfo.cs (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Properties/PublishProfiles/local.pubxml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/_references.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/bootstrap.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/bootstrap.min.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.intellisense.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.map (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/modernizr-2.6.2.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/respond.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Scripts/respond.min.js (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Views/Home/Index.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Views/Shared/Error.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Views/Shared/_Layout.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Views/Web.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Views/_ViewStart.cshtml (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Web.Debug.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Web.Release.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/Web.config (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.eot (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.svg (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.ttf (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.woff (100%) rename {msbuild-example => msbuild-plugin-example}/ArtifactoryDemo.Web/packages.config (100%) rename {msbuild-example => msbuild-plugin-example}/DemoSolution.vssscc (100%) create mode 100644 msbuild-plugin-example/README.md rename {msbuild-example => msbuild-plugin-example}/msbuild-example.sln (100%) diff --git a/msbuild-example/MsbuildExample.sln b/msbuild-example/MsbuildExample.sln new file mode 100644 index 000000000..d7c77b085 --- /dev/null +++ b/msbuild-example/MsbuildExample.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26730.15 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsbuildExample", "MsbuildExample\MsbuildExample.csproj", "{CF2799F3-E037-4C77-A8CA-E66F323EA1D3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MsbuildLibrary", "MsbuildLibrary\MsbuildLibrary.csproj", "{C7BE00B6-A619-4FB9-8F19-A11793CF0F14}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CF2799F3-E037-4C77-A8CA-E66F323EA1D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CF2799F3-E037-4C77-A8CA-E66F323EA1D3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CF2799F3-E037-4C77-A8CA-E66F323EA1D3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CF2799F3-E037-4C77-A8CA-E66F323EA1D3}.Release|Any CPU.Build.0 = Release|Any CPU + {C7BE00B6-A619-4FB9-8F19-A11793CF0F14}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C7BE00B6-A619-4FB9-8F19-A11793CF0F14}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C7BE00B6-A619-4FB9-8F19-A11793CF0F14}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C7BE00B6-A619-4FB9-8F19-A11793CF0F14}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F6DD2F34-F0B0-4BAC-BA4E-83CCC1E29A5A} + EndGlobalSection +EndGlobal diff --git a/msbuild-example/MsbuildExample/App.config b/msbuild-example/MsbuildExample/App.config new file mode 100644 index 000000000..731f6de6c --- /dev/null +++ b/msbuild-example/MsbuildExample/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/msbuild-example/MsbuildExample/App.xaml b/msbuild-example/MsbuildExample/App.xaml new file mode 100644 index 000000000..ebf8de80d --- /dev/null +++ b/msbuild-example/MsbuildExample/App.xaml @@ -0,0 +1,9 @@ + + + + + diff --git a/msbuild-example/MsbuildExample/App.xaml.cs b/msbuild-example/MsbuildExample/App.xaml.cs new file mode 100644 index 000000000..f6405e6f8 --- /dev/null +++ b/msbuild-example/MsbuildExample/App.xaml.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Configuration; +using System.Data; +using System.Linq; +using System.Threading.Tasks; +using System.Windows; + +namespace MsbuildExample +{ + /// + /// Interaction logic for App.xaml + /// + public partial class App : Application + { + } +} diff --git a/msbuild-example/MsbuildExample/MainWindow.xaml b/msbuild-example/MsbuildExample/MainWindow.xaml new file mode 100644 index 000000000..2f8c2f5b0 --- /dev/null +++ b/msbuild-example/MsbuildExample/MainWindow.xaml @@ -0,0 +1,12 @@ + + + + diff --git a/msbuild-example/MsbuildExample/MainWindow.xaml.cs b/msbuild-example/MsbuildExample/MainWindow.xaml.cs new file mode 100644 index 000000000..974a5dcb8 --- /dev/null +++ b/msbuild-example/MsbuildExample/MainWindow.xaml.cs @@ -0,0 +1,36 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows; +using System.Windows.Controls; +using System.Windows.Data; +using System.Windows.Documents; +using System.Windows.Input; +using System.Windows.Media; +using System.Windows.Media.Imaging; +using System.Windows.Navigation; +using System.Windows.Shapes; +using MsbuildLibrary; + +namespace MsbuildExample +{ + /// + /// Interaction logic for MainWindow.xaml + /// + public partial class MainWindow : Window + { + public MainWindow() + { + InitializeComponent(); + } + private void Label_Loaded(object sender, RoutedEventArgs e) + { + // ... Get label. + var label = sender as Label; + // ... Set date in content. + label.Content = LibraryExample.HelloWorld(); + } + } +} diff --git a/msbuild-example/MsbuildExample/MsbuildExample.csproj b/msbuild-example/MsbuildExample/MsbuildExample.csproj new file mode 100644 index 000000000..8ceccf70f --- /dev/null +++ b/msbuild-example/MsbuildExample/MsbuildExample.csproj @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dependencies\MsbuildLibrary.dll + + + + + + + + + + + + + + + + + + + + + + + + + Debug + AnyCPU + {CF2799F3-E037-4C77-A8CA-E66F323EA1D3} + WinExe + MsbuildExample + MsbuildExample + v4.6.1 + 512 + {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + 4 + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + 4.0 + + + + + + + + MSBuild:Compile + Designer + + + MSBuild:Compile + Designer + + + App.xaml + Code + + + MainWindow.xaml + Code + + + + + Code + + + True + True + Resources.resx + + + True + Settings.settings + True + + + ResXFileCodeGenerator + Resources.Designer.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + + + + + + \ No newline at end of file diff --git a/msbuild-example/MsbuildExample/Properties/AssemblyInfo.cs b/msbuild-example/MsbuildExample/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..55111846b --- /dev/null +++ b/msbuild-example/MsbuildExample/Properties/AssemblyInfo.cs @@ -0,0 +1,55 @@ +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using System.Windows; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MsbuildExample")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MsbuildExample")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +//In order to begin building localizable applications, set +//CultureYouAreCodingWith in your .csproj file +//inside a . For example, if you are using US english +//in your source files, set the to en-US. Then uncomment +//the NeutralResourceLanguage attribute below. Update the "en-US" in +//the line below to match the UICulture setting in the project file. + +//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)] + + +[assembly: ThemeInfo( + ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located + //(used if a resource is not found in the page, + // or application resource dictionaries) + ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located + //(used if a resource is not found in the page, + // app, or any theme specific resource dictionaries) +)] + + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/msbuild-example/MsbuildExample/Properties/Resources.Designer.cs b/msbuild-example/MsbuildExample/Properties/Resources.Designer.cs new file mode 100644 index 000000000..8be93362d --- /dev/null +++ b/msbuild-example/MsbuildExample/Properties/Resources.Designer.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MsbuildExample.Properties +{ + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources + { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() + { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager + { + get + { + if ((resourceMan == null)) + { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MsbuildExample.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture + { + get + { + return resourceCulture; + } + set + { + resourceCulture = value; + } + } + } +} diff --git a/msbuild-example/MsbuildExample/Properties/Resources.resx b/msbuild-example/MsbuildExample/Properties/Resources.resx new file mode 100644 index 000000000..af7dbebba --- /dev/null +++ b/msbuild-example/MsbuildExample/Properties/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/msbuild-example/MsbuildExample/Properties/Settings.Designer.cs b/msbuild-example/MsbuildExample/Properties/Settings.Designer.cs new file mode 100644 index 000000000..d67e4606b --- /dev/null +++ b/msbuild-example/MsbuildExample/Properties/Settings.Designer.cs @@ -0,0 +1,30 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace MsbuildExample.Properties +{ + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase + { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default + { + get + { + return defaultInstance; + } + } + } +} diff --git a/msbuild-example/MsbuildExample/Properties/Settings.settings b/msbuild-example/MsbuildExample/Properties/Settings.settings new file mode 100644 index 000000000..033d7a5e9 --- /dev/null +++ b/msbuild-example/MsbuildExample/Properties/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/msbuild-example/MsbuildExample/dependencies/MsbuildLibrary.dll b/msbuild-example/MsbuildExample/dependencies/MsbuildLibrary.dll new file mode 100644 index 0000000000000000000000000000000000000000..e2a8ec8edc3bb7aa55a4c35a5efdc3960607b246 GIT binary patch literal 4096 zcmeHKU2GIp6h5`u5(OXS)ees=5H?@H~n?@&XU-zV&mu5lF zn#H0U=$6oBsi@mUJvEfp3vNyr%a$$K5}6+EB^uD`=$)UQJXu-o9&Of_Y6+r7P~su= z)>ia7S|=LO3N?;}elsBwBf5kM=nQo<{t}Dw-*g{MnFN@G-60-y61~TXm<{7Z4}q3= zoM^*r-a>OdbiX3fi20Gq1icZ6^8xxV76IvK9Bbq^MhbMIaYOnti<$DR69e9;C1^F! z3GWRl92bJ@D~+SEttPY@=p^c{nX2Ix&MSa@i%|o4I(%v%(wO)F(45d{DfFPfk|eOV zWGBUUY>sVP&VKLcPCwJFMb_EZsdgh_v?bb-9lTfrIl#A})_Rd>8)7(t)|w8aUCjF| zaS8GBKC~W7(-n+)Yg-Q=>rbJ-hItF?b~~UVN{R%&)@be0rz^lnt;};YzEBqpGoDA&XPT*#02Y!Uoz^#-4-bo&C zo5K4Q?osq-X$thTqMTAVORs@)7Vn8cK7Bd(WE%&k=OEWaqj991^P(2uca7l+T-%Bc^FRZeh&! z?HRN#-xmeTDUaGgt!R}j&73Hh^6a#gQB&qc(1*uOoO5d#6`elY5o1F7wp*OmsxW)p z;)I~i{)vZ zky0_R3xe0gI+pF&K@B%u_5)EcA|WFR6Zet^eXC?UxoA_2oa0a^9CgNsm~cdvBO@al zxUxb|*=D}z`hlJGE2N6~{$e1c>!pR9va@0iJIsraRereX@CL^Q;zQOMEI7+EbCc~B9RK|W)$5wpSf`WLfWgX@JZ)kWt6QWs zHQu<88C&0e?^RTdrbbOY;6xkw3XjIt9G9kd)GhX&&kD7rqm$A-=WCE#q%M22MolyG zhSyJV)@rn>x@-EES9N`NBDt4nyGC2Gdo7VjSbKJvdy*Zy+9#}zUHc|5GLy-@9c|f( z#6+?kH2{kw@vP!UG^o)A<7n?__0&EQ?c4!8y?cx#ylrZ!GE=tiIcE7NPIwDz=~a%d zq*b2Yj%qc(pBv!w0BYj^>eom*mHuXR{Nmt>mi~8FEq(pF>)(IOA@w|!Ip*V5WO8B( zRmu}G$0t0n8h%|@J8~h z$#8^L!Oj3|&aI_~@&nod`7V0GFJpOS&M8vhPFD8oXoddnJcFqbxU>NpXL{>ungPKe%YzNEW%ZPJ7Q-Agj n%+CKlrPBoueHEjH2+GLF-|6vs{}|}u{|vWzL;i>VTn7FEzfW9` literal 0 HcmV?d00001 diff --git a/msbuild-example/MsbuildLibrary/LibraryExample.cs b/msbuild-example/MsbuildLibrary/LibraryExample.cs new file mode 100644 index 000000000..2d24dbb2d --- /dev/null +++ b/msbuild-example/MsbuildLibrary/LibraryExample.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace MsbuildLibrary +{ + public class LibraryExample + { + public static string HelloWorld() + { + return "Hello world"; + } + } +} diff --git a/msbuild-example/MsbuildLibrary/MsbuildLibrary.csproj b/msbuild-example/MsbuildLibrary/MsbuildLibrary.csproj new file mode 100644 index 000000000..fc0eadf20 --- /dev/null +++ b/msbuild-example/MsbuildLibrary/MsbuildLibrary.csproj @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Debug + AnyCPU + {C7BE00B6-A619-4FB9-8F19-A11793CF0F14} + Library + Properties + MsbuildLibrary + MsbuildLibrary + v4.6.1 + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/msbuild-example/MsbuildLibrary/Properties/AssemblyInfo.cs b/msbuild-example/MsbuildLibrary/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..343833770 --- /dev/null +++ b/msbuild-example/MsbuildLibrary/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MsbuildLibrary")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("MsbuildLibrary")] +[assembly: AssemblyCopyright("Copyright © 2017")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("c7be00b6-a619-4fb9-8f19-a11793cf0f14")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/msbuild-example/README.md b/msbuild-example/README.md index 84bac8e6e..d2db1ae3d 100644 --- a/msbuild-example/README.md +++ b/msbuild-example/README.md @@ -1,17 +1,159 @@ MSBuild Project Example ========================== +## Overview +This example uses JFrog CLI for downloading dependencies, uploading artifacts and publishing build info.
+The solution has two projects: _MsbuildExample_, _MsbuildLibrary_.
+_MsbuildLibrary_ project creates a library file: `MsbuildLibrary.dll` which is being used by _MsbuildExample_ project. - -### Configuration -* On the Solution level you can find the ".artifactory\Artifactory.build" file, which is the main plugin configuration for - all the projects under the solution. -* The project called "Artifactory" was created by the project template installation. -* Also for configuring deployment patterns that is unique to a specific project, you can put the configuration file under the - project, like in the `Artifactory.DAL` in our example. +Each project holds its own dependencies and artifacts configuration in the csproj files. -Full Wiki documentation can be found in the following like: -http://www.jfrog.com/confluence/display/RTF/MSBuild+Artifactory+Plugin +## Prequesites +* Download and add [JFrog CLI](https://jfrog.com/getcli/) executable to the search path (Add JFrog CLI to PATH env var). +* Make sure msbuild installed. +* Configure Artifactory URL and credentials using the following command: +``` +jfrog rt c +``` +* Create a local generic repository in Artifactory named msbuild-local +## Running the example +### Build the MsbuildLibrary Project with Artifactory -### Running -Build the Solution + +Run the build target using the following command line in _MsbuildLibrary_ folder: +``` +msbuild /t:build +``` + +### Deploying MSbuildLibrary artifacts and build-info +Use the following command line in _MsbuildLibrary_ folder: +``` +msbuild /p:ArtifactoryPublish=true +``` + +This command line will upload the project artifacts to Artifactory to be used later by _MsbuildExample_ project.
+Build-info will be created and will be available in Artifactory. + +### Build the MSBuildExample Project with Artifactory +In order to build _MsbuildExample_, _MsbuildLibrary_ project artifacts must be built and published to Artifactory.
+Run the build target using the following command line in _MsbuildExample_ folder: +``` +msbuild /t:build +``` + +### Deploying MsbuildExample artifacts and build-info +Use the following command line in _MsbuildExample_ folder: +``` +msbuild /p:ArtifactoryPublish=true +``` +This command line will upload the project artifacts to Artifactory.
+Build-info will be created and will be available in Artifactory. + +## Build script details + +### JFrog CLI properties: +The following snippet from the scproj file adds the default properties that JFrog CLI uses in order to download and upload artifacts and to publish build-info. +``` + + + + + + + + + + + + + + + + + + + +``` + +Build name and build number properties can be overridden by adding the following properties to the msbuild command: +``` +/p:BuildName=someBuildName +/p:BuildNumber=10 +``` + +Default properties values:
+**BuildName**: project name.
+**BuildNumber**: current time in milliseconds.
+ +### Downloading dependencies: +The following snippet from the scproj file configures which artifacts will downloaded in the build process and the download target path. +``` + + + + + + + +``` + +In this example `MsbuildLibrary.dll` file will be downloaded to `dependencies` folder.
+It is important to add `$(BuildFlags)` variable to the CLI command lines in order to save dependencies information to create the build-info. + +##### Note +* Downloading dependecies might require adding _Reference_ to the downloaded artifacts, in this example we add `MsbuildLibrary.dll` as follows: +``` + + + dependencies\MsbuildLibrary.dll + + +``` + +### Uploading artifacts: +The following snippet from the scproj file configures which artifacts will be uploaded when adding `/p:ArtifactoryPublish=true` property. + +``` + + + + + + + +``` + +In this example we are using `$(ArtifatsPatternPath)` property to upload all the artifacts that were created in the $(OutputPath). + +### Publishing build-info: +The following snippet from the scproj file publishing build info to Artifactory, the build info will hold all the information about dependencies, artifacts, environment (optional) and git (optional). + +``` + + + + + + + + +``` + +### JFrog Xray build scan: +The following snippet from the scproj file allows scanning build dependencies and artifacts using JFrog Xray to find security and license vulnerabilities. + +``` + + + + +``` \ No newline at end of file diff --git a/msbuild-example/.artifactory/Deploy.targets b/msbuild-plugin-example/.artifactory/Deploy.targets similarity index 100% rename from msbuild-example/.artifactory/Deploy.targets rename to msbuild-plugin-example/.artifactory/Deploy.targets diff --git a/msbuild-example/.artifactory/Resolve.targets b/msbuild-plugin-example/.artifactory/Resolve.targets similarity index 100% rename from msbuild-example/.artifactory/Resolve.targets rename to msbuild-plugin-example/.artifactory/Resolve.targets diff --git a/msbuild-example/.artifactory/artifactory.build b/msbuild-plugin-example/.artifactory/artifactory.build similarity index 100% rename from msbuild-example/.artifactory/artifactory.build rename to msbuild-plugin-example/.artifactory/artifactory.build diff --git a/msbuild-example/.nuget/NuGet.Config b/msbuild-plugin-example/.nuget/NuGet.Config similarity index 100% rename from msbuild-example/.nuget/NuGet.Config rename to msbuild-plugin-example/.nuget/NuGet.Config diff --git a/msbuild-example/.nuget/NuGet.exe b/msbuild-plugin-example/.nuget/NuGet.exe similarity index 100% rename from msbuild-example/.nuget/NuGet.exe rename to msbuild-plugin-example/.nuget/NuGet.exe diff --git a/msbuild-example/.nuget/NuGet.targets b/msbuild-plugin-example/.nuget/NuGet.targets similarity index 100% rename from msbuild-example/.nuget/NuGet.targets rename to msbuild-plugin-example/.nuget/NuGet.targets diff --git a/msbuild-example/Artifactory/Artifactory.csproj b/msbuild-plugin-example/Artifactory/Artifactory.csproj similarity index 100% rename from msbuild-example/Artifactory/Artifactory.csproj rename to msbuild-plugin-example/Artifactory/Artifactory.csproj diff --git a/msbuild-example/Artifactory/packages.config b/msbuild-plugin-example/Artifactory/packages.config similarity index 100% rename from msbuild-example/Artifactory/packages.config rename to msbuild-plugin-example/Artifactory/packages.config diff --git a/msbuild-example/ArtifactoryDemo.DAL/App.config b/msbuild-plugin-example/ArtifactoryDemo.DAL/App.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/App.config rename to msbuild-plugin-example/ArtifactoryDemo.DAL/App.config diff --git a/msbuild-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj b/msbuild-plugin-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj rename to msbuild-plugin-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj diff --git a/msbuild-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj.vspscc b/msbuild-plugin-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj.vspscc similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj.vspscc rename to msbuild-plugin-example/ArtifactoryDemo.DAL/ArtifactoryDemo.DAL.csproj.vspscc diff --git a/msbuild-example/ArtifactoryDemo.DAL/Class1.cs b/msbuild-plugin-example/ArtifactoryDemo.DAL/Class1.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/Class1.cs rename to msbuild-plugin-example/ArtifactoryDemo.DAL/Class1.cs diff --git a/msbuild-example/ArtifactoryDemo.DAL/Properties/AssemblyInfo.cs b/msbuild-plugin-example/ArtifactoryDemo.DAL/Properties/AssemblyInfo.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/Properties/AssemblyInfo.cs rename to msbuild-plugin-example/ArtifactoryDemo.DAL/Properties/AssemblyInfo.cs diff --git a/msbuild-example/ArtifactoryDemo.DAL/artifactory.build b/msbuild-plugin-example/ArtifactoryDemo.DAL/artifactory.build similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/artifactory.build rename to msbuild-plugin-example/ArtifactoryDemo.DAL/artifactory.build diff --git a/msbuild-example/ArtifactoryDemo.DAL/packages.config b/msbuild-plugin-example/ArtifactoryDemo.DAL/packages.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.DAL/packages.config rename to msbuild-plugin-example/ArtifactoryDemo.DAL/packages.config diff --git a/msbuild-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj b/msbuild-plugin-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj similarity index 100% rename from msbuild-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj rename to msbuild-plugin-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj diff --git a/msbuild-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj.vspscc b/msbuild-plugin-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj.vspscc similarity index 100% rename from msbuild-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj.vspscc rename to msbuild-plugin-example/ArtifactoryDemo.Services/ArtifactoryDemo.Services.csproj.vspscc diff --git a/msbuild-example/ArtifactoryDemo.Services/Class1.cs b/msbuild-plugin-example/ArtifactoryDemo.Services/Class1.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Services/Class1.cs rename to msbuild-plugin-example/ArtifactoryDemo.Services/Class1.cs diff --git a/msbuild-example/ArtifactoryDemo.Services/Properties/AssemblyInfo.cs b/msbuild-plugin-example/ArtifactoryDemo.Services/Properties/AssemblyInfo.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Services/Properties/AssemblyInfo.cs rename to msbuild-plugin-example/ArtifactoryDemo.Services/Properties/AssemblyInfo.cs diff --git a/msbuild-example/ArtifactoryDemo.Services/packages.config b/msbuild-plugin-example/ArtifactoryDemo.Services/packages.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Services/packages.config rename to msbuild-plugin-example/ArtifactoryDemo.Services/packages.config diff --git a/msbuild-example/ArtifactoryDemo.Web/App_Start/BundleConfig.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/BundleConfig.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/App_Start/BundleConfig.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/BundleConfig.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/App_Start/FilterConfig.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/FilterConfig.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/App_Start/FilterConfig.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/FilterConfig.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/App_Start/RouteConfig.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/RouteConfig.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/App_Start/RouteConfig.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/RouteConfig.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/App_Start/WebApiConfig.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/WebApiConfig.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/App_Start/WebApiConfig.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/App_Start/WebApiConfig.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/ApiDescriptionExtensions.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/ApiDescriptionExtensions.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/ApiDescriptionExtensions.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/ApiDescriptionExtensions.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/App_Start/HelpPageConfig.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/App_Start/HelpPageConfig.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/App_Start/HelpPageConfig.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/App_Start/HelpPageConfig.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Controllers/HelpController.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Controllers/HelpController.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Controllers/HelpController.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Controllers/HelpController.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPage.css b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPage.css similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPage.css rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPage.css diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageAreaRegistration.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageAreaRegistration.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageAreaRegistration.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageAreaRegistration.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/HelpPageConfigurationExtensions.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Models/HelpPageApiModel.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Models/HelpPageApiModel.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Models/HelpPageApiModel.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Models/HelpPageApiModel.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleGenerator.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/HelpPageSampleKey.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ImageSample.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ImageSample.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ImageSample.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ImageSample.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/InvalidSample.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/InvalidSample.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/InvalidSample.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/InvalidSample.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/ObjectGenerator.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/SampleDirection.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/TextSample.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/TextSample.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/TextSample.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/SampleGeneration/TextSample.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Api.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Api.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Api.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Api.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ApiGroup.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/HelpPageApiModel.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/ImageSample.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/InvalidSample.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Parameters.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/Samples.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/DisplayTemplates/TextSample.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Index.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Index.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Index.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Help/Index.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Shared/_Layout.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Shared/_Layout.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Shared/_Layout.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Shared/_Layout.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Web.config b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Web.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Web.config rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/Web.config diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/_ViewStart.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/_ViewStart.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/_ViewStart.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/Views/_ViewStart.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/XmlDocumentationProvider.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/XmlDocumentationProvider.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Areas/HelpPage/XmlDocumentationProvider.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Areas/HelpPage/XmlDocumentationProvider.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj b/msbuild-plugin-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj rename to msbuild-plugin-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj diff --git a/msbuild-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj.vspscc b/msbuild-plugin-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj.vspscc similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj.vspscc rename to msbuild-plugin-example/ArtifactoryDemo.Web/ArtifactoryDemo.Web.csproj.vspscc diff --git a/msbuild-example/ArtifactoryDemo.Web/Content/Site.css b/msbuild-plugin-example/ArtifactoryDemo.Web/Content/Site.css similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Content/Site.css rename to msbuild-plugin-example/ArtifactoryDemo.Web/Content/Site.css diff --git a/msbuild-example/ArtifactoryDemo.Web/Content/bootstrap.css b/msbuild-plugin-example/ArtifactoryDemo.Web/Content/bootstrap.css similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Content/bootstrap.css rename to msbuild-plugin-example/ArtifactoryDemo.Web/Content/bootstrap.css diff --git a/msbuild-example/ArtifactoryDemo.Web/Content/bootstrap.min.css b/msbuild-plugin-example/ArtifactoryDemo.Web/Content/bootstrap.min.css similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Content/bootstrap.min.css rename to msbuild-plugin-example/ArtifactoryDemo.Web/Content/bootstrap.min.css diff --git a/msbuild-example/ArtifactoryDemo.Web/Controllers/HomeController.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Controllers/HomeController.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Controllers/HomeController.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Controllers/HomeController.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Controllers/ValuesController.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Controllers/ValuesController.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Controllers/ValuesController.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Controllers/ValuesController.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Controllers/favicon.ico b/msbuild-plugin-example/ArtifactoryDemo.Web/Controllers/favicon.ico similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Controllers/favicon.ico rename to msbuild-plugin-example/ArtifactoryDemo.Web/Controllers/favicon.ico diff --git a/msbuild-example/ArtifactoryDemo.Web/Global.asax b/msbuild-plugin-example/ArtifactoryDemo.Web/Global.asax similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Global.asax rename to msbuild-plugin-example/ArtifactoryDemo.Web/Global.asax diff --git a/msbuild-example/ArtifactoryDemo.Web/Global.asax.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Global.asax.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Global.asax.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Global.asax.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Project_Readme.html b/msbuild-plugin-example/ArtifactoryDemo.Web/Project_Readme.html similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Project_Readme.html rename to msbuild-plugin-example/ArtifactoryDemo.Web/Project_Readme.html diff --git a/msbuild-example/ArtifactoryDemo.Web/Properties/AssemblyInfo.cs b/msbuild-plugin-example/ArtifactoryDemo.Web/Properties/AssemblyInfo.cs similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Properties/AssemblyInfo.cs rename to msbuild-plugin-example/ArtifactoryDemo.Web/Properties/AssemblyInfo.cs diff --git a/msbuild-example/ArtifactoryDemo.Web/Properties/PublishProfiles/local.pubxml b/msbuild-plugin-example/ArtifactoryDemo.Web/Properties/PublishProfiles/local.pubxml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Properties/PublishProfiles/local.pubxml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Properties/PublishProfiles/local.pubxml diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/_references.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/_references.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/_references.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/_references.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/bootstrap.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/bootstrap.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/bootstrap.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/bootstrap.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/bootstrap.min.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/bootstrap.min.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/bootstrap.min.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/bootstrap.min.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.intellisense.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.intellisense.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.intellisense.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.intellisense.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.map b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.map similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.map rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/jquery-1.10.2.min.map diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/modernizr-2.6.2.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/modernizr-2.6.2.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/modernizr-2.6.2.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/modernizr-2.6.2.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/respond.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/respond.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/respond.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/respond.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Scripts/respond.min.js b/msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/respond.min.js similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Scripts/respond.min.js rename to msbuild-plugin-example/ArtifactoryDemo.Web/Scripts/respond.min.js diff --git a/msbuild-example/ArtifactoryDemo.Web/Views/Home/Index.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Views/Home/Index.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Views/Home/Index.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Views/Home/Index.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Views/Shared/Error.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Views/Shared/Error.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Views/Shared/Error.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Views/Shared/Error.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Views/Shared/_Layout.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Views/Shared/_Layout.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Views/Shared/_Layout.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Views/Shared/_Layout.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Views/Web.config b/msbuild-plugin-example/ArtifactoryDemo.Web/Views/Web.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Views/Web.config rename to msbuild-plugin-example/ArtifactoryDemo.Web/Views/Web.config diff --git a/msbuild-example/ArtifactoryDemo.Web/Views/_ViewStart.cshtml b/msbuild-plugin-example/ArtifactoryDemo.Web/Views/_ViewStart.cshtml similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Views/_ViewStart.cshtml rename to msbuild-plugin-example/ArtifactoryDemo.Web/Views/_ViewStart.cshtml diff --git a/msbuild-example/ArtifactoryDemo.Web/Web.Debug.config b/msbuild-plugin-example/ArtifactoryDemo.Web/Web.Debug.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Web.Debug.config rename to msbuild-plugin-example/ArtifactoryDemo.Web/Web.Debug.config diff --git a/msbuild-example/ArtifactoryDemo.Web/Web.Release.config b/msbuild-plugin-example/ArtifactoryDemo.Web/Web.Release.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Web.Release.config rename to msbuild-plugin-example/ArtifactoryDemo.Web/Web.Release.config diff --git a/msbuild-example/ArtifactoryDemo.Web/Web.config b/msbuild-plugin-example/ArtifactoryDemo.Web/Web.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/Web.config rename to msbuild-plugin-example/ArtifactoryDemo.Web/Web.config diff --git a/msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.eot b/msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.eot similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.eot rename to msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.eot diff --git a/msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.svg b/msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.svg similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.svg rename to msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.svg diff --git a/msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.ttf b/msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.ttf similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.ttf rename to msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.ttf diff --git a/msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.woff b/msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.woff similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.woff rename to msbuild-plugin-example/ArtifactoryDemo.Web/fonts/glyphicons-halflings-regular.woff diff --git a/msbuild-example/ArtifactoryDemo.Web/packages.config b/msbuild-plugin-example/ArtifactoryDemo.Web/packages.config similarity index 100% rename from msbuild-example/ArtifactoryDemo.Web/packages.config rename to msbuild-plugin-example/ArtifactoryDemo.Web/packages.config diff --git a/msbuild-example/DemoSolution.vssscc b/msbuild-plugin-example/DemoSolution.vssscc similarity index 100% rename from msbuild-example/DemoSolution.vssscc rename to msbuild-plugin-example/DemoSolution.vssscc diff --git a/msbuild-plugin-example/README.md b/msbuild-plugin-example/README.md new file mode 100644 index 000000000..84bac8e6e --- /dev/null +++ b/msbuild-plugin-example/README.md @@ -0,0 +1,17 @@ +MSBuild Project Example +========================== + + +### Configuration +* On the Solution level you can find the ".artifactory\Artifactory.build" file, which is the main plugin configuration for + all the projects under the solution. +* The project called "Artifactory" was created by the project template installation. +* Also for configuring deployment patterns that is unique to a specific project, you can put the configuration file under the + project, like in the `Artifactory.DAL` in our example. + +Full Wiki documentation can be found in the following like: +http://www.jfrog.com/confluence/display/RTF/MSBuild+Artifactory+Plugin + + +### Running +Build the Solution diff --git a/msbuild-example/msbuild-example.sln b/msbuild-plugin-example/msbuild-example.sln similarity index 100% rename from msbuild-example/msbuild-example.sln rename to msbuild-plugin-example/msbuild-example.sln