From 6117e2cfe89230d493352e61c67a3dc8edc5d15c Mon Sep 17 00:00:00 2001 From: Eran Turgeman <81029514+eranturgeman@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:56:54 +0300 Subject: [PATCH] Adding .NET examples and deleting old NuGet examples (#375) --- dotnet-examples/README.md | 58 ++++++ .../ClassLibrary1/ClassLibrary1.csproj | 15 ++ .../SharedProject1/SharedProject1.projitems | 13 ++ .../SharedProject1/SharedProject1.shproj | 13 ++ .../multi-example/TestApp1/TestApp1.csproj | 32 ++++ .../multi-example/TestSolution.sln | 31 ++++ dotnet-examples/single-example/Program.cs | 2 + .../single-example/single-example.csproj | 15 ++ nuget-example/MyLogger/MyLogger.sln | 20 -- nuget-example/MyLogger/MyLogger/MyLogger.cs | 16 -- .../MyLogger/MyLogger/MyLogger.csproj | 53 ------ .../MyLogger/MyLogger/MyLogger.nuspec | 13 -- .../MyLogger/Properties/AssemblyInfo.cs | 36 ---- .../TeamCity-Config/NuGet/plugin-settings.xml | 3 - .../TeamCity-Config/NuGet/project-config.xml | 172 ------------------ nuget-example/multi-example/api/Multi2.cs | 16 -- .../api/Properties/AssemblyInfo.cs | 36 ---- nuget-example/multi-example/api/api.csproj | 59 ------ nuget-example/multi-example/api/api.nuspec | 13 -- .../multi-example/api/packages.config | 4 - nuget-example/multi-example/core/Multi1.cs | 16 -- .../core/Properties/AssemblyInfo.cs | 36 ---- nuget-example/multi-example/core/core.csproj | 65 ------- nuget-example/multi-example/core/core.nuspec | 13 -- .../multi-example/core/packages.config | 6 - nuget-example/multi-example/multi-example.sln | 32 ---- .../multi-example/services/Multi3.cs | 16 -- .../services/Properties/AssemblyInfo.cs | 36 ---- .../multi-example/services/packages.config | 5 - .../multi-example/services/services.csproj | 62 ------- .../multi-example/services/services.nuspec | 13 -- 31 files changed, 179 insertions(+), 741 deletions(-) create mode 100644 dotnet-examples/README.md create mode 100644 dotnet-examples/multi-example/ClassLibrary1/ClassLibrary1.csproj create mode 100644 dotnet-examples/multi-example/SharedProject1/SharedProject1.projitems create mode 100644 dotnet-examples/multi-example/SharedProject1/SharedProject1.shproj create mode 100644 dotnet-examples/multi-example/TestApp1/TestApp1.csproj create mode 100644 dotnet-examples/multi-example/TestSolution.sln create mode 100644 dotnet-examples/single-example/Program.cs create mode 100644 dotnet-examples/single-example/single-example.csproj delete mode 100644 nuget-example/MyLogger/MyLogger.sln delete mode 100644 nuget-example/MyLogger/MyLogger/MyLogger.cs delete mode 100644 nuget-example/MyLogger/MyLogger/MyLogger.csproj delete mode 100644 nuget-example/MyLogger/MyLogger/MyLogger.nuspec delete mode 100644 nuget-example/MyLogger/MyLogger/Properties/AssemblyInfo.cs delete mode 100644 nuget-example/TeamCity-Config/NuGet/plugin-settings.xml delete mode 100644 nuget-example/TeamCity-Config/NuGet/project-config.xml delete mode 100644 nuget-example/multi-example/api/Multi2.cs delete mode 100644 nuget-example/multi-example/api/Properties/AssemblyInfo.cs delete mode 100644 nuget-example/multi-example/api/api.csproj delete mode 100644 nuget-example/multi-example/api/api.nuspec delete mode 100644 nuget-example/multi-example/api/packages.config delete mode 100644 nuget-example/multi-example/core/Multi1.cs delete mode 100644 nuget-example/multi-example/core/Properties/AssemblyInfo.cs delete mode 100644 nuget-example/multi-example/core/core.csproj delete mode 100644 nuget-example/multi-example/core/core.nuspec delete mode 100644 nuget-example/multi-example/core/packages.config delete mode 100644 nuget-example/multi-example/multi-example.sln delete mode 100644 nuget-example/multi-example/services/Multi3.cs delete mode 100644 nuget-example/multi-example/services/Properties/AssemblyInfo.cs delete mode 100644 nuget-example/multi-example/services/packages.config delete mode 100644 nuget-example/multi-example/services/services.csproj delete mode 100644 nuget-example/multi-example/services/services.nuspec diff --git a/dotnet-examples/README.md b/dotnet-examples/README.md new file mode 100644 index 000000000..dfa95a0b4 --- /dev/null +++ b/dotnet-examples/README.md @@ -0,0 +1,58 @@ +# .NET examples + +## Overview +Artifactory provides full support for managing .NET/NuGet packages and ensures optimal and reliable access to nuget.org. It also allows aggregating multiple NuGet registries under a virtual repository Artifactory, which provides access to all your .NET/NuGet packages through a single URL for both upload and download. +To work with NuGet repositories you need to use [JFrog CLI](https://www.jfrog.com/confluence/display/CLI/CLI+for+JFrog+Artifactory) and have your .Net/NuGet project configured to an Artifactory server. + +You may store exhaustive build information in Artifactory by running your .NET/NuGet builds with JFrog CLI. JFrog CLI collects build-info from your build agents and then publishes it to Artifactory. Once published, the build info can be viewed in the Build Browser under Builds. For more details on .NET/NuGet build integration using JFrog CLI, please refer to [Building .NET/NuGet Packages](https://jfrog.com/help/r/jfrog-cli/building-nuget-packages) in the JFrog CLI User Guide + +## These Examples +These examples demonstrate how to build a .NET/NuGet project using JFrog CLI. The build does the following: + +1. Downloads its NuGet dependencies from Artifactory. +2. Packs and uploads the built package to Artifactory. +3. Records and publishes build-info to Artifactory. + +## Prerequisites +* Install .NET Core 3.1 SDK or a later version - for full support you must have .NET CLI on your machine +* Make sure the **dotnet** command is in your PATH (you can check by executing 'dotnet --version' and get a version number as a response). +* Install [JFrog CLI](https://jfrog.com/getcli/) +* Make sure your JFrog CLI version is 2.25.3 or above + +# Creating Repositories +Create the following repositories on your Artifactory instance: + +1. A remote NuGet repository. Make sure the repository has *https://www.nuget.org/* configured as its URL (this is the default when creating the repository). +2. A local NuGet repository. +3. A virtual NuGet repository: + - Include the remote and local repositories as part of the new virtual repository. + - Set the new local repository as the **Default Deployment Repository** of the new virtual repository. + +## Running the Examples +'cd' to one of the project's root directory and run the build using one of the following commands: + +```console +Configure Artifactory: +> jf c add --url= [credentials flags] + +Configure the project's repositories: +> jf dotnet-config --repo-resolve= + +Restores the dependencies and tools of the project from Artifactory +> jf dotnet restore --build-name=my-build --build-number=1 + +Execute 'audit' scan command. +> jf audit + +Build the project with dotnet and resolve the project dependencies from Artifactory. +> dotnet pack + +Upload the packages to a NuGet repository in Artifactory: +> jf rt u "*.nupkg" / --build-name=my-build --build-number=1 + +Collect environment variables and add them to the build info. +> jf rt bce my-build 1 + +Publish the build info to Artifactory. +> jf rt bp my-build 1 +``` diff --git a/dotnet-examples/multi-example/ClassLibrary1/ClassLibrary1.csproj b/dotnet-examples/multi-example/ClassLibrary1/ClassLibrary1.csproj new file mode 100644 index 000000000..775427ce2 --- /dev/null +++ b/dotnet-examples/multi-example/ClassLibrary1/ClassLibrary1.csproj @@ -0,0 +1,15 @@ + + + + netstandard2.0 + AnyCPU;x64 + Some Compnay + Some product + Some copyright + 1.0.0 + + + + + + diff --git a/dotnet-examples/multi-example/SharedProject1/SharedProject1.projitems b/dotnet-examples/multi-example/SharedProject1/SharedProject1.projitems new file mode 100644 index 000000000..266b8837a --- /dev/null +++ b/dotnet-examples/multi-example/SharedProject1/SharedProject1.projitems @@ -0,0 +1,13 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + true + 64bb14a4-9a54-4444-8b83-e8405a1b83a2 + + + SharedProject1 + + + + diff --git a/dotnet-examples/multi-example/SharedProject1/SharedProject1.shproj b/dotnet-examples/multi-example/SharedProject1/SharedProject1.shproj new file mode 100644 index 000000000..0b201723d --- /dev/null +++ b/dotnet-examples/multi-example/SharedProject1/SharedProject1.shproj @@ -0,0 +1,13 @@ + + + + 64bb14a4-9a54-4444-8b83-e8405a1b83a2 + 14.0 + + + + + + + + diff --git a/dotnet-examples/multi-example/TestApp1/TestApp1.csproj b/dotnet-examples/multi-example/TestApp1/TestApp1.csproj new file mode 100644 index 000000000..a5420bf61 --- /dev/null +++ b/dotnet-examples/multi-example/TestApp1/TestApp1.csproj @@ -0,0 +1,32 @@ + + + + Exe + netcoreapp3.1 + Some Company + 1.0.0 + Some product + Foobar + Frederik + AnyCPU;x64 + false + + + + bin\x64\Release\ + + + + bin\x64\Release\ + + + + + + + + + + + + diff --git a/dotnet-examples/multi-example/TestSolution.sln b/dotnet-examples/multi-example/TestSolution.sln new file mode 100644 index 000000000..1f834792b --- /dev/null +++ b/dotnet-examples/multi-example/TestSolution.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.32106.194 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestApp1", "TestApp1\TestApp1.csproj", "{757C1D5A-BAA9-453F-B612-A0571390976B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibrary1", "ClassLibrary1\ClassLibrary1.csproj", "{D9C89660-69F8-46E2-B9C4-78E9B505E8B1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {757C1D5A-BAA9-453F-B612-A0571390976B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {757C1D5A-BAA9-453F-B612-A0571390976B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {757C1D5A-BAA9-453F-B612-A0571390976B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {757C1D5A-BAA9-453F-B612-A0571390976B}.Release|Any CPU.Build.0 = Release|Any CPU + {D9C89660-69F8-46E2-B9C4-78E9B505E8B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D9C89660-69F8-46E2-B9C4-78E9B505E8B1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D9C89660-69F8-46E2-B9C4-78E9B505E8B1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D9C89660-69F8-46E2-B9C4-78E9B505E8B1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D8547989-C4F7-4FCC-95BB-F7478F7D2484} + EndGlobalSection +EndGlobal diff --git a/dotnet-examples/single-example/Program.cs b/dotnet-examples/single-example/Program.cs new file mode 100644 index 000000000..3751555cb --- /dev/null +++ b/dotnet-examples/single-example/Program.cs @@ -0,0 +1,2 @@ +// See https://aka.ms/new-console-template for more information +Console.WriteLine("Hello, World!"); diff --git a/dotnet-examples/single-example/single-example.csproj b/dotnet-examples/single-example/single-example.csproj new file mode 100644 index 000000000..5001d9996 --- /dev/null +++ b/dotnet-examples/single-example/single-example.csproj @@ -0,0 +1,15 @@ + + + + Exe + net7.0 + single_example + enable + enable + + + + + + + diff --git a/nuget-example/MyLogger/MyLogger.sln b/nuget-example/MyLogger/MyLogger.sln deleted file mode 100644 index a71699508..000000000 --- a/nuget-example/MyLogger/MyLogger.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Express 2012 for Windows Desktop -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MyLogger", "MyLogger\MyLogger.csproj", "{EB7DD549-6605-4378-9B1D-1BCEFEE20610}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {EB7DD549-6605-4378-9B1D-1BCEFEE20610}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {EB7DD549-6605-4378-9B1D-1BCEFEE20610}.Debug|Any CPU.Build.0 = Debug|Any CPU - {EB7DD549-6605-4378-9B1D-1BCEFEE20610}.Release|Any CPU.ActiveCfg = Release|Any CPU - {EB7DD549-6605-4378-9B1D-1BCEFEE20610}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/nuget-example/MyLogger/MyLogger/MyLogger.cs b/nuget-example/MyLogger/MyLogger/MyLogger.cs deleted file mode 100644 index 3c8f84550..000000000 --- a/nuget-example/MyLogger/MyLogger/MyLogger.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace MyLogger -{ - public class MyLogger - { - public void log(String message) - { - Console.WriteLine("[MyLogger]" + message); - } - } -} diff --git a/nuget-example/MyLogger/MyLogger/MyLogger.csproj b/nuget-example/MyLogger/MyLogger/MyLogger.csproj deleted file mode 100644 index f7e79d6fa..000000000 --- a/nuget-example/MyLogger/MyLogger/MyLogger.csproj +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Debug - AnyCPU - {EB7DD549-6605-4378-9B1D-1BCEFEE20610} - Library - Properties - MyLogger - MyLogger - v4.5 - 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/nuget-example/MyLogger/MyLogger/MyLogger.nuspec b/nuget-example/MyLogger/MyLogger/MyLogger.nuspec deleted file mode 100644 index 08ac31acd..000000000 --- a/nuget-example/MyLogger/MyLogger/MyLogger.nuspec +++ /dev/null @@ -1,13 +0,0 @@ - - - - MyLogger - 1.0.0.0 - $title$ - JFrog - JFrog - false - JFrog custom logger - Copyright 2013 - - diff --git a/nuget-example/MyLogger/MyLogger/Properties/AssemblyInfo.cs b/nuget-example/MyLogger/MyLogger/Properties/AssemblyInfo.cs deleted file mode 100644 index 6fd4fcb81..000000000 --- a/nuget-example/MyLogger/MyLogger/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("MyLogger")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("MyLogger")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("41afa0ed-e690-4efa-9a8f-caa98182ce2d")] - -// 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/nuget-example/TeamCity-Config/NuGet/plugin-settings.xml b/nuget-example/TeamCity-Config/NuGet/plugin-settings.xml deleted file mode 100644 index 677e924ad..000000000 --- a/nuget-example/TeamCity-Config/NuGet/plugin-settings.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/nuget-example/TeamCity-Config/NuGet/project-config.xml b/nuget-example/TeamCity-Config/NuGet/project-config.xml deleted file mode 100644 index 3d23b5ab1..000000000 --- a/nuget-example/TeamCity-Config/NuGet/project-config.xml +++ /dev/null @@ -1,172 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/nuget-example/multi-example/api/Multi2.cs b/nuget-example/multi-example/api/Multi2.cs deleted file mode 100644 index cd958d319..000000000 --- a/nuget-example/multi-example/api/Multi2.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace multi2 -{ - public class Multi2 - { - static void Main(string[] args) - { - new MyLogger.MyLogger().log("Hello from Multi2!"); - } - } -} diff --git a/nuget-example/multi-example/api/Properties/AssemblyInfo.cs b/nuget-example/multi-example/api/Properties/AssemblyInfo.cs deleted file mode 100644 index 4c358ab8c..000000000 --- a/nuget-example/multi-example/api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("multi2")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("multi2")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("396b8676-2faf-4ba4-8da7-4a15ff6ca467")] - -// 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/nuget-example/multi-example/api/api.csproj b/nuget-example/multi-example/api/api.csproj deleted file mode 100644 index c8fc95710..000000000 --- a/nuget-example/multi-example/api/api.csproj +++ /dev/null @@ -1,59 +0,0 @@ - - - - - Debug - AnyCPU - {B8CD21CA-85E4-404A-8263-8E8A2B2834F6} - Library - Properties - api - api - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\MyLogger.1.0.0.0\lib\net45\MyLogger.dll - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/nuget-example/multi-example/api/api.nuspec b/nuget-example/multi-example/api/api.nuspec deleted file mode 100644 index 7debff871..000000000 --- a/nuget-example/multi-example/api/api.nuspec +++ /dev/null @@ -1,13 +0,0 @@ - - - - $id$ - $version$ - $title$ - JFrog - JFrog - false - JFrog API - Copyright 2013 - - \ No newline at end of file diff --git a/nuget-example/multi-example/api/packages.config b/nuget-example/multi-example/api/packages.config deleted file mode 100644 index bd528f174..000000000 --- a/nuget-example/multi-example/api/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/nuget-example/multi-example/core/Multi1.cs b/nuget-example/multi-example/core/Multi1.cs deleted file mode 100644 index 6cec53ff5..000000000 --- a/nuget-example/multi-example/core/Multi1.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace multi1 -{ - public class Multi1 - { - static void Main(string[] args) - { - new MyLogger.MyLogger().log("Hello from Multi1!"); - } - } -} diff --git a/nuget-example/multi-example/core/Properties/AssemblyInfo.cs b/nuget-example/multi-example/core/Properties/AssemblyInfo.cs deleted file mode 100644 index fd856cf21..000000000 --- a/nuget-example/multi-example/core/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("multi1")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("multi1")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("2ccad176-be28-4504-b350-6527724a5072")] - -// 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/nuget-example/multi-example/core/core.csproj b/nuget-example/multi-example/core/core.csproj deleted file mode 100644 index a6d3c1caf..000000000 --- a/nuget-example/multi-example/core/core.csproj +++ /dev/null @@ -1,65 +0,0 @@ - - - - - Debug - AnyCPU - {AFCF5EBB-BC6A-42C7-AC40-38548680B845} - Library - Properties - core - core - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\MyLogger.1.0.0.0\lib\net45\MyLogger.dll - - - ..\packages\Newtonsoft.Json.4.5.11\lib\net40\Newtonsoft.Json.dll - - - ..\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.dll - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/nuget-example/multi-example/core/core.nuspec b/nuget-example/multi-example/core/core.nuspec deleted file mode 100644 index facccbca9..000000000 --- a/nuget-example/multi-example/core/core.nuspec +++ /dev/null @@ -1,13 +0,0 @@ - - - - $id$ - $version$ - $title$ - JFrog - JFrog - false - JFrog Core - Copyright 2013 - - \ No newline at end of file diff --git a/nuget-example/multi-example/core/packages.config b/nuget-example/multi-example/core/packages.config deleted file mode 100644 index f393023cd..000000000 --- a/nuget-example/multi-example/core/packages.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/nuget-example/multi-example/multi-example.sln b/nuget-example/multi-example/multi-example.sln deleted file mode 100644 index 4ced12af4..000000000 --- a/nuget-example/multi-example/multi-example.sln +++ /dev/null @@ -1,32 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Express 2012 for Windows Desktop -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "core", "core\core.csproj", "{AFCF5EBB-BC6A-42C7-AC40-38548680B845}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "api", "api\api.csproj", "{B8CD21CA-85E4-404A-8263-8E8A2B2834F6}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "services", "services\services.csproj", "{0FAC1A5D-F94E-4AF9-B7D9-AC1278F4C48B}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {AFCF5EBB-BC6A-42C7-AC40-38548680B845}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AFCF5EBB-BC6A-42C7-AC40-38548680B845}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AFCF5EBB-BC6A-42C7-AC40-38548680B845}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AFCF5EBB-BC6A-42C7-AC40-38548680B845}.Release|Any CPU.Build.0 = Release|Any CPU - {B8CD21CA-85E4-404A-8263-8E8A2B2834F6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B8CD21CA-85E4-404A-8263-8E8A2B2834F6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B8CD21CA-85E4-404A-8263-8E8A2B2834F6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B8CD21CA-85E4-404A-8263-8E8A2B2834F6}.Release|Any CPU.Build.0 = Release|Any CPU - {0FAC1A5D-F94E-4AF9-B7D9-AC1278F4C48B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {0FAC1A5D-F94E-4AF9-B7D9-AC1278F4C48B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {0FAC1A5D-F94E-4AF9-B7D9-AC1278F4C48B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {0FAC1A5D-F94E-4AF9-B7D9-AC1278F4C48B}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/nuget-example/multi-example/services/Multi3.cs b/nuget-example/multi-example/services/Multi3.cs deleted file mode 100644 index 8d7dfa8d7..000000000 --- a/nuget-example/multi-example/services/Multi3.cs +++ /dev/null @@ -1,16 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace multi3 -{ - public class Multi3 - { - static void Main(string[] args) - { - new MyLogger.MyLogger().log("Hello from Multi3!"); - } - } -} diff --git a/nuget-example/multi-example/services/Properties/AssemblyInfo.cs b/nuget-example/multi-example/services/Properties/AssemblyInfo.cs deleted file mode 100644 index f7e7cdc88..000000000 --- a/nuget-example/multi-example/services/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -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("multi3")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("multi3")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[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("b56beabc-1bd3-4841-b212-ad21a5da441c")] - -// 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/nuget-example/multi-example/services/packages.config b/nuget-example/multi-example/services/packages.config deleted file mode 100644 index 247912ba1..000000000 --- a/nuget-example/multi-example/services/packages.config +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/nuget-example/multi-example/services/services.csproj b/nuget-example/multi-example/services/services.csproj deleted file mode 100644 index 2d968cca9..000000000 --- a/nuget-example/multi-example/services/services.csproj +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Debug - AnyCPU - {0FAC1A5D-F94E-4AF9-B7D9-AC1278F4C48B} - Library - Properties - services - services - v4.5 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - ..\packages\MyLogger.1.0.0.0\lib\net45\MyLogger.dll - - - ..\packages\Ninject.3.0.1.10\lib\net45-full\Ninject.dll - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/nuget-example/multi-example/services/services.nuspec b/nuget-example/multi-example/services/services.nuspec deleted file mode 100644 index 7c055ef21..000000000 --- a/nuget-example/multi-example/services/services.nuspec +++ /dev/null @@ -1,13 +0,0 @@ - - - - $id$ - $version$ - $title$ - JFrog - JFrog - false - JFrog Services - Copyright 2013 - - \ No newline at end of file