diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 70f41bc841fef797f60350032c50e96f2d99fe9b..b339a45c43a1dcb4b80ab99e6224bc7232abd723 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,5 @@ stages: - test - - docs - release - releasetrigger @@ -19,15 +18,6 @@ cake:Test: - master - tags -docs: - stage: docs - script: - - .\publishDocs.ps1 $GITLAB_TOKEN - variables: - GIT_STRATEGY: clone - only: - - tags - cake:Release: stage: release script: diff --git a/docs/ESLintConvention.md b/docs/ESLintConvention.md deleted file mode 100644 index 001dba56ac6f0f96234f03d0278f618826728495..0000000000000000000000000000000000000000 --- a/docs/ESLintConvention.md +++ /dev/null @@ -1,45 +0,0 @@ -## ESLint Convention - -Make the changes to the code and tests and then commit to your branch. Be sure to follow the commit message conventions. - -Commit message summaries must follow this basic format: - -``` -Tag: Message (fixes #1234) -``` - -`Tag` should not be confused with git tag. -`Message` should not be confused with git commit message. - -The `Tag` is one of the following: - -* `Fix` - for a bug fix. -* `Update` - for a backwards-compatible enhancement. -* `Breaking` - for a backwards-incompatible enhancement. -* `Docs` - changes to documentation only. -* `Build` - changes to build process only. -* `New` - implemented a new feature. -* `Upgrade` - for a dependency upgrade. - -The message summary should be a one-sentence description of the change. The issue number should be mentioned at the end. * The commit message should say "(fixes #1234)" at the end of the description if it closes out an existing issue (replace 1234 with the issue number). If the commit doesn't completely fix the issue, then use `(refs #1234)` instead of `(fixes #1234)`. - -Here are some good commit message summary examples: - -``` -Build: Update Travis to only test Node 0.10 (refs #734) -Fix: Semi rule incorrectly flagging extra semicolon (fixes #840) -Upgrade: Esprima to 1.2, switch to using Esprima comment attachment (fixes #730) -``` - -The commit message format is important because these messages are used to create a changelog for each release. The tag and issue number help to create more consistent and useful changelogs. - -Based on https://github.com/eslint/eslint.github.io/blob/master/docs/developer-guide/contributing.md#step-2-make-your-changes - -[npm-image]: https://badge.fury.io/js/conventional-changelog-eslint.svg -[npm-url]: https://npmjs.org/package/conventional-changelog-eslint -[travis-image]: https://travis-ci.org/stevemao/conventional-changelog-eslint.svg?branch=master -[travis-url]: https://travis-ci.org/stevemao/conventional-changelog-eslint -[daviddm-image]: https://david-dm.org/stevemao/conventional-changelog-eslint.svg?theme=shields.io -[daviddm-url]: https://david-dm.org/stevemao/conventional-changelog-eslint -[coveralls-image]: https://coveralls.io/repos/stevemao/conventional-changelog-eslint/badge.svg -[coveralls-url]: https://coveralls.io/r/stevemao/conventional-changelog-eslint \ No newline at end of file diff --git a/docs/home.md b/docs/home.md deleted file mode 100644 index e57a4ee9c07e6ca3f79756079043959585835658..0000000000000000000000000000000000000000 --- a/docs/home.md +++ /dev/null @@ -1,31 +0,0 @@ -## C# Template - -This template includes: - -* Automatic building using cake -* Automatic testing with NUnit -* Automatic linting with Resharper -* Automatic documentation publishing using Gitlab CI / CD and a self written script which puts the docs in the docs folder to the wiki -* Automatic releases using semantic-release ([ESLint Code Convention](ESLintConvention)), cake and Gitlab CI / CD - -## What you need to do - -Place you C# project solution file in .src/. -Make sure Create directory for solution is unticked. - - - -Delete unused docs and update this README. - -Add [NUnit](nunit) tests to your solution. - -## Building - -Build this project by running either the build.ps1 or the build<span></span>.sh script. -The project will be build and tested. - -### Links - -* [Commit convention](ESLintConvention) -* [Everything possible with markup](testdoc) -* [Adding NUnit tests](nunit) diff --git a/docs/images/add_a_package.png b/docs/images/add_a_package.png deleted file mode 100644 index e8e8ed2121edfc81d8fb2e4f3e03ed4807c66eea..0000000000000000000000000000000000000000 Binary files a/docs/images/add_a_package.png and /dev/null differ diff --git a/docs/images/add_a_reference.png b/docs/images/add_a_reference.png deleted file mode 100644 index 4ee38c9951bc5739297b78abb2c82113286f6e71..0000000000000000000000000000000000000000 Binary files a/docs/images/add_a_reference.png and /dev/null differ diff --git a/docs/images/create_class_library.png b/docs/images/create_class_library.png deleted file mode 100644 index 89a252c6e358c73fb9b7299464f851e69127285a..0000000000000000000000000000000000000000 Binary files a/docs/images/create_class_library.png and /dev/null differ diff --git a/docs/images/create_project.png b/docs/images/create_project.png deleted file mode 100644 index f7ae1a1701c9287d5f7a959bf856f55966293081..0000000000000000000000000000000000000000 Binary files a/docs/images/create_project.png and /dev/null differ diff --git a/docs/images/select_framework.png b/docs/images/select_framework.png deleted file mode 100644 index bba5b07168b73cb1005150aad92d6d925bada649..0000000000000000000000000000000000000000 Binary files a/docs/images/select_framework.png and /dev/null differ diff --git a/docs/images/select_project.png b/docs/images/select_project.png deleted file mode 100644 index 6f42cc3a18e89d6e2a26cd76de9730f39feb51bf..0000000000000000000000000000000000000000 Binary files a/docs/images/select_project.png and /dev/null differ diff --git a/docs/images/test_code.png b/docs/images/test_code.png deleted file mode 100644 index e9d9b5f88107c03fb19d4d2c6567981d25658154..0000000000000000000000000000000000000000 Binary files a/docs/images/test_code.png and /dev/null differ diff --git a/docs/nunit.md b/docs/nunit.md deleted file mode 100644 index 020e56f85510b1319edbe89e76cdd0891b5abe43..0000000000000000000000000000000000000000 --- a/docs/nunit.md +++ /dev/null @@ -1,33 +0,0 @@ -## Add NUnit Tests - -### Add Nunit test adapter -1. Choose **Tools > Extensions and Updates** -2. In the **Extensions and Updates** dialog box, expand the **Online** category and then **Visual Studio Marketplace**. Then, choose **Tools > Testing**. -2. Select the **NUnit test adapter** and then choose **Download.** -### Add Tests - -1. Create a class library project and add it to your solution. - - For convinience name it like your main project and add **.Tests** as a suffix. -  - -2. Install the plug-in. In **Solution Explorer**, select the class library project, and then choose **Manage NuGet Packages** from its right-click or context menu. - -  - -3. In the **NuGet Package Manager** window, search for and select the plug-in (NUnit), and then choose **Install**. -  - - The framework is now referenced in your project under **References**. - -4. From the class library project's **References** node, select **Add Reference**. - -  - -5. In the **Reference Manager** dialog box, select the project that contains the code you'll test. - -  - -6. Code your unit test. - -  diff --git a/docs/testdoc.md b/docs/testdoc.md deleted file mode 100644 index 938b6eb3d01ae251f10a000bda25fd4538d87d7a..0000000000000000000000000000000000000000 --- a/docs/testdoc.md +++ /dev/null @@ -1,78 +0,0 @@ -It's very easy to make some words **bold** and other words *italic* with Markdown. You can even [link to Google!](http://google.com) - -Sometimes you want numbered lists: - -1. One -2. Two -3. Three - -Sometimes you want bullet points: - -* Start a line with a star -* Profit! - -Alternatively, - -- Dashes work just as well -- And if you have sub points, put two spaces before the dash or star: - - Like this - - And this - -If you want to embed images, this is how you do it: - - - -# Structured documents - -Sometimes it's useful to have different levels of headings to structure your documents. Start lines with a `#` to create headings. Multiple `##` in a row denote smaller heading sizes. - -### This is a third-tier heading - -You can use one `#` all the way up to `######` six for different heading sizes. - -If you'd like to quote someone, use the > character before the line: - -> Coffee. The finest organic suspension ever devised... I beat the Borg with it. -> - Captain Janeway - -[200~There are many different ways to style code with GitHub's markdown. If you have inline code blocks, wrap them in backticks: `var example = true`. If you've got a longer block of code, you can indent with four spaces: - - if (isAwesome){ - return true - } - -GitHub also supports something called code fencing, which allows for multiple lines without indentation: - -``` -if (isAwesome){ - return true -} -``` - -And if you'd like to use syntax highlighting, include the language: - -```javascript -if (isAwesome){ - return true -} -``` - -GitHub supports many extras in Markdown that help you reference and link to people. If you ever want to direct a comment at someone, you can prefix their name with an @ symbol: Hey @kneath — love your sweater! - -But I have to admit, tasks lists are my favorite: - -- [x] This is a complete item -- [ ] This is an incomplete item - -When you include a task list in the first comment of an Issue, you will see a helpful progress bar in your list of issues. It works in Pull Requests, too! - -And, of course emoji! -GitHub supports many extras in Markdown that help you reference and link to people. If you ever want to direct a comment at someone, you can prefix their name with an @ symbol: Hey @kneath — love your sweater! - -But I have to admit, tasks lists are my favorite: - - This is a complete item - This is an incomplete item -When you include a task list in the first comment of an Issue, you will see a helpful progress bar in your list of issues. It works in Pull Requests, too! - -And, of course emoji! diff --git a/publishDocs.ps1 b/publishDocs.ps1 deleted file mode 100644 index f49b3b93e477ca9d57f7b1163b2bcf246f86d35d..0000000000000000000000000000000000000000 --- a/publishDocs.ps1 +++ /dev/null @@ -1,19 +0,0 @@ -param( - $token -) - -$remoteUrl = git config --get remote.origin.url -$remoteUrl = $remoteUrl.replace("git@", "") -$remoteUrl = $remoteUrl -replace "https(.*?)@","" -$remoteUrl = $remoteUrl.replace(":", "/") -$remoteUrl = $remoteUrl.replace(".git", ".wiki.git") - -$temporaryFolderName = "publishDocsTempFolder" - -git clone "https://gitlab-ci-token:$($token)@$($remoteUrl)" $temporaryFolderName -cd $temporaryFolderName -Remove-Item * -cp -r ../docs/* ./ -git add . -git commit -m "Docs: Documentation Update" -git push \ No newline at end of file diff --git a/src/SPPageDeployer.sln b/src/SPPageDeployer.sln new file mode 100644 index 0000000000000000000000000000000000000000..df01fb58984c52263d1dde41eb7d66b3f25bf4cc --- /dev/null +++ b/src/SPPageDeployer.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30011.22 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SPPageDeployer", "SPPageDeployer\SPPageDeployer.csproj", "{3BC5BCCA-28A9-4108-A791-BF6A2FB7935F}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3BC5BCCA-28A9-4108-A791-BF6A2FB7935F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3BC5BCCA-28A9-4108-A791-BF6A2FB7935F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3BC5BCCA-28A9-4108-A791-BF6A2FB7935F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3BC5BCCA-28A9-4108-A791-BF6A2FB7935F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {D77DD753-87A3-4B0F-9014-5954B5A68BA8} + EndGlobalSection +EndGlobal diff --git a/src/SPPageDeployer/App.config b/src/SPPageDeployer/App.config new file mode 100644 index 0000000000000000000000000000000000000000..1974b8b2c3b33e2a46aa72a4a9b082b8e61710d2 --- /dev/null +++ b/src/SPPageDeployer/App.config @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> + </startup> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> + <parameters> + <parameter value="mssqllocaldb" /> + </parameters> + </defaultConnectionFactory> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> + <runtime> + <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> + <dependentAssembly> + <assemblyIdentity name="Coscine.Configuration" publicKeyToken="ce3d7a32d7dc1e5a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.5.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" /> + </dependentAssembly> + <dependentAssembly> + <assemblyIdentity name="Coscine.Database" publicKeyToken="767d77427707b70a" culture="neutral" /> + <bindingRedirect oldVersion="0.0.0.0-1.19.0.0" newVersion="1.19.0.0" /> + </dependentAssembly> + </assemblyBinding> + </runtime> +</configuration> \ No newline at end of file diff --git a/src/SPPageDeployer/Program.cs b/src/SPPageDeployer/Program.cs new file mode 100644 index 0000000000000000000000000000000000000000..677175852b59815198eeda74f129520db88d8419 --- /dev/null +++ b/src/SPPageDeployer/Program.cs @@ -0,0 +1,39 @@ +using Coscine.Action.Utils; +using Coscine.Configuration; +using Coscine.Database.Models; +using Coscine.Database.Settings; +using LinqToDB.Data; +using System; + +namespace Coscine.SPPageDeployer +{ + public class Program + { + public static void Main(string[] args) + { + var configuration = new ConsulConfiguration(); + DataConnection.DefaultSettings = new CoscineSettings(configuration); + using (var pageUtil = new PageUtil(configuration)) + { + Console.WriteLine("Deploying root pages!"); + pageUtil.DeployRootPages(); + Console.WriteLine("Deployed root pages!"); + var projectModel = new ProjectModel(); + foreach (var project in projectModel.GetAll()) + { + Console.WriteLine($"Deploying pages for project {project.Id}!"); + try + { + pageUtil.DeployProjectPages(project); + Console.WriteLine($"Deployed pages for project {project.Id}!"); + } + catch (Exception e) + { + Console.WriteLine($"{e.Message}"); + Console.WriteLine($"Error: Could not deploy pages for project {project.Id}!"); + } + } + } + } + } +} diff --git a/src/SPPageDeployer/Properties/AssemblyInfo.cs b/src/SPPageDeployer/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000000000000000000000000000000000..af70447c230e6c0c272c9c3284e1cfc53e488b93 --- /dev/null +++ b/src/SPPageDeployer/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("Coscine.SPPageDeployer")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Coscine.SPPageDeployer")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[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("3bc5bcca-28a9-4108-a791-bf6a2fb7935f")] + +// 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/src/SPPageDeployer/SPPageDeployer.csproj b/src/SPPageDeployer/SPPageDeployer.csproj new file mode 100644 index 0000000000000000000000000000000000000000..7ed0099a66c1add7c0d481b49df2708f816fb455 --- /dev/null +++ b/src/SPPageDeployer/SPPageDeployer.csproj @@ -0,0 +1,112 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="..\packages\linq2db.t4models.2.6.4\build\linq2db.t4models.props" Condition="Exists('..\packages\linq2db.t4models.2.6.4\build\linq2db.t4models.props')" /> + <Import Project="..\packages\linq2db.SqlServer.2.6.4\build\linq2db.SqlServer.props" Condition="Exists('..\packages\linq2db.SqlServer.2.6.4\build\linq2db.SqlServer.props')" /> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{3BC5BCCA-28A9-4108-A791-BF6A2FB7935F}</ProjectGuid> + <OutputType>Exe</OutputType> + <RootNamespace>Coscine.SPPageDeployer</RootNamespace> + <AssemblyName>Coscine.SPPageDeployer</AssemblyName> + <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> + <Deterministic>true</Deterministic> + <NuGetPackageImportStamp> + </NuGetPackageImportStamp> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>x64</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="Consul, Version=0.7.2.6, Culture=neutral, PublicKeyToken=20a6ad9a81df1d95, processorArchitecture=MSIL"> + <HintPath>..\packages\Consul.0.7.2.6\lib\net45\Consul.dll</HintPath> + </Reference> + <Reference Include="Coscine.Action, Version=1.12.0.0, Culture=neutral, processorArchitecture=AMD64"> + <HintPath>..\packages\Coscine.Action.1.12.0\lib\net461\Coscine.Action.dll</HintPath> + </Reference> + <Reference Include="Coscine.Configuration, Version=1.5.0.0, Culture=neutral, PublicKeyToken=ce3d7a32d7dc1e5a, processorArchitecture=MSIL"> + <HintPath>..\packages\Coscine.Configuration.1.5.0\lib\net461\Coscine.Configuration.dll</HintPath> + </Reference> + <Reference Include="Coscine.Database, Version=1.19.0.0, Culture=neutral, PublicKeyToken=767d77427707b70a, processorArchitecture=MSIL"> + <HintPath>..\packages\Coscine.Database.1.19.0\lib\net461\Coscine.Database.dll</HintPath> + </Reference> + <Reference Include="Coscine.ProxyApi, Version=1.2.1.0, Culture=neutral, processorArchitecture=MSIL"> + <HintPath>..\packages\Coscine.ProxyApi.1.2.1\lib\net461\Coscine.ProxyApi.dll</HintPath> + </Reference> + <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath> + </Reference> + <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> + <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + </Reference> + <Reference Include="linq2db, Version=2.6.4.0, Culture=neutral, PublicKeyToken=e41013125f9e410a, processorArchitecture=MSIL"> + <HintPath>..\packages\linq2db.2.6.4\lib\net46\linq2db.dll</HintPath> + </Reference> + <Reference Include="LinqKit, Version=1.1.17.0, Culture=neutral, PublicKeyToken=bc217f8844052a91, processorArchitecture=MSIL"> + <HintPath>..\packages\LinqKit.1.1.17\lib\net45\LinqKit.dll</HintPath> + </Reference> + <Reference Include="microsoft.identitymodel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.IdentityModel.7.0.0\lib\net35\microsoft.identitymodel.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.JsonWebTokens, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.IdentityModel.JsonWebTokens.5.6.0\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Logging, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.IdentityModel.Logging.5.6.0\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath> + </Reference> + <Reference Include="Microsoft.IdentityModel.Tokens, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\Microsoft.IdentityModel.Tokens.5.6.0\lib\net461\Microsoft.IdentityModel.Tokens.dll</HintPath> + </Reference> + <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> + <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.ComponentModel.DataAnnotations" /> + <Reference Include="System.Core" /> + <Reference Include="System.IdentityModel.Tokens.Jwt, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> + <HintPath>..\packages\System.IdentityModel.Tokens.Jwt.5.6.0\lib\net461\System.IdentityModel.Tokens.Jwt.dll</HintPath> + </Reference> + <Reference Include="System.Net.Http.WebRequest" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <None Include="App.config" /> + <None Include="packages.config" /> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> + <PropertyGroup> + <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText> + </PropertyGroup> + <Error Condition="!Exists('..\packages\linq2db.SqlServer.2.6.4\build\linq2db.SqlServer.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\linq2db.SqlServer.2.6.4\build\linq2db.SqlServer.props'))" /> + <Error Condition="!Exists('..\packages\linq2db.t4models.2.6.4\build\linq2db.t4models.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\linq2db.t4models.2.6.4\build\linq2db.t4models.props'))" /> + </Target> +</Project> \ No newline at end of file diff --git a/src/SPPageDeployer/packages.config b/src/SPPageDeployer/packages.config new file mode 100644 index 0000000000000000000000000000000000000000..622ffd75730ff4fa7dc5cdaa98ebb84ae40adf70 --- /dev/null +++ b/src/SPPageDeployer/packages.config @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="Consul" version="0.7.2.6" targetFramework="net461" /> + <package id="Coscine.Action" version="1.12.0" targetFramework="net461" /> + <package id="Coscine.Configuration" version="1.5.0" targetFramework="net461" /> + <package id="Coscine.Database" version="1.19.0" targetFramework="net461" /> + <package id="Coscine.ProxyApi" version="1.2.1" targetFramework="net461" /> + <package id="EntityFramework" version="6.2.0" targetFramework="net461" /> + <package id="linq2db" version="2.6.4" targetFramework="net461" /> + <package id="linq2db.SqlServer" version="2.6.4" targetFramework="net461" /> + <package id="linq2db.t4models" version="2.6.4" targetFramework="net461" /> + <package id="LinqKit" version="1.1.17" targetFramework="net461" /> + <package id="Microsoft.IdentityModel" version="7.0.0" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.JsonWebTokens" version="5.6.0" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Logging" version="5.6.0" targetFramework="net461" /> + <package id="Microsoft.IdentityModel.Tokens" version="5.6.0" targetFramework="net461" /> + <package id="Newtonsoft.Json" version="12.0.3" targetFramework="net461" /> + <package id="System.IdentityModel.Tokens.Jwt" version="5.6.0" targetFramework="net461" /> +</packages> \ No newline at end of file