This commit is contained in:
Eugene Sadovoi 2018-01-10 23:58:50 -05:00
Родитель fa8f3320fe
Коммит 3b6f61a0b2
7 изменённых файлов: 147 добавлений и 0 удалений

13
package.props Normal file
Просмотреть файл

@ -0,0 +1,13 @@
<Project>
<PropertyGroup>
<Version>1.0.0</Version>
<PackageReleaseNotes>This package is compatible with Unity.</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
<UnityContainerVersion>5.*</UnityContainerVersion>
<UnityAbstractionsVersion>3.*</UnityAbstractionsVersion>
</PropertyGroup>
</Project>

31
package.sln Normal file
Просмотреть файл

@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2005
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Unity.NLog", "src\Unity.NLog.csproj", "{727BC85E-D75C-4A7D-A43B-5F0EE3755E9E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NLog.Tests", "tests\NLog.Tests.csproj", "{7BE4AB49-9EF0-41CC-8974-BE120A62918F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{727BC85E-D75C-4A7D-A43B-5F0EE3755E9E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{727BC85E-D75C-4A7D-A43B-5F0EE3755E9E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{727BC85E-D75C-4A7D-A43B-5F0EE3755E9E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{727BC85E-D75C-4A7D-A43B-5F0EE3755E9E}.Release|Any CPU.Build.0 = Release|Any CPU
{7BE4AB49-9EF0-41CC-8974-BE120A62918F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7BE4AB49-9EF0-41CC-8974-BE120A62918F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7BE4AB49-9EF0-41CC-8974-BE120A62918F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7BE4AB49-9EF0-41CC-8974-BE120A62918F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {F9EAE93A-CE20-498A-8BC7-183974E8323A}
EndGlobalSection
EndGlobal

12
src/NLogExtension.cs Normal file
Просмотреть файл

@ -0,0 +1,12 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Unity.NLog
{
class Class1
{
}
}

51
src/Unity.NLog.csproj Normal file
Просмотреть файл

@ -0,0 +1,51 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\package.props" />
<PropertyGroup>
<FileVersion>$(Version).0</FileVersion>
<AssemblyVersion>$(Version).0</AssemblyVersion>
<PackageId>Unity.NLog</PackageId>
<Description>Unity adapter for NLog</Description>
<Copyright>Copyright © Microsoft.Practices.Unity 2008</Copyright>
<PackageProjectUrl>https://github.com/unitycontainer/NLog</PackageProjectUrl>
<RepositoryUrl>https://github.com/unitycontainer/NLog</RepositoryUrl>
<PackageLicenseUrl>https://github.com/unitycontainer/NLog/blob/master/LICENSE</PackageLicenseUrl>
<PackageIconUrl>https://avatars1.githubusercontent.com/u/12849707</PackageIconUrl>
<PackageTags>Unity Container unitycontainer Microsoft.Practices.Unity IoC NLog</PackageTags>
<RepositoryType>git</RepositoryType>
<Authors>Microsoft.Practices.Unity</Authors>
<Company>Microsoft.Practices.Unity</Company>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>package.snk</AssemblyOriginatorKeyFile>
<DelaySign>false</DelaySign>
<RootNamespace>Unity.NLog</RootNamespace>
<UnityAbstractions>..\..\Abstractions\src\Unity.Abstractions.csproj</UnityAbstractions>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<TargetFrameworks>net45;net47</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<TargetFramework>net45</TargetFramework>
<DebugType>Full</DebugType>
</PropertyGroup>
<ItemGroup Condition="Exists('$(UnityAbstractions)')">
<ProjectReference Include="$(UnityAbstractions)" />
</ItemGroup>
<ItemGroup Condition="!Exists('$(UnityAbstractions)')">
<PackageReference Include="Unity.Abstractions" Version="$(UnityAbstractionsVersion)" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="4.4.12" />
</ItemGroup>
</Project>

Двоичные данные
src/package.snk Normal file

Двоичный файл не отображается.

22
tests/NLog.Tests.csproj Normal file
Просмотреть файл

@ -0,0 +1,22 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\package.props" />
<PropertyGroup>
<TargetFramework>net47</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.5.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.2.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.2.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\src\Unity.NLog.csproj" />
</ItemGroup>
</Project>

18
tests/NLogFixture.cs Normal file
Просмотреть файл

@ -0,0 +1,18 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NLog.Tests
{
[TestClass]
public class NLogFixture
{
[TestMethod]
public void AddExtension()
{
}
}
}