Skip to content

Commit

Permalink
New nuget for addon component
Browse files Browse the repository at this point in the history
  • Loading branch information
Hauke committed Apr 2, 2017
1 parent f1dedc7 commit 0f559d1
Show file tree
Hide file tree
Showing 7 changed files with 139 additions and 3 deletions.
6 changes: 6 additions & 0 deletions source/ClassLibrary.sln
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibrary", "ClassLibrary\ClassLibrary.csproj", "{A4E856A2-0ECA-4C62-85F7-D9F5E23C09EE}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibrary14.AddOn", "ClassLibrary14.AddOn\ClassLibrary14.AddOn.csproj", "{D109D2A4-BE8A-484E-A88D-3293C094D429}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -15,6 +17,10 @@ Global
{A4E856A2-0ECA-4C62-85F7-D9F5E23C09EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A4E856A2-0ECA-4C62-85F7-D9F5E23C09EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A4E856A2-0ECA-4C62-85F7-D9F5E23C09EE}.Release|Any CPU.Build.0 = Release|Any CPU
{D109D2A4-BE8A-484E-A88D-3293C094D429}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D109D2A4-BE8A-484E-A88D-3293C094D429}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D109D2A4-BE8A-484E-A88D-3293C094D429}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D109D2A4-BE8A-484E-A88D-3293C094D429}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion source/ClassLibrary/ClassLibrary.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<owners>Haukinger</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>A Test Project</description>
<releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
<releaseNotes>Nothing yet</releaseNotes>
<copyright>Copyright 2017</copyright>
<tags>Test Dummy</tags>
</metadata>
Expand Down
4 changes: 2 additions & 2 deletions source/ClassLibrary/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("ClassLibrary")]
[assembly: AssemblyTitle("ClassLibrary14")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ClassLibrary")]
[assembly: AssemblyProduct("ClassLibrary14")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
Expand Down
16 changes: 16 additions & 0 deletions source/ClassLibrary14.AddOn/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ClassLibrary;

namespace ClassLibrary14.AddOn
{
public class Class2
{
public Class2( Class1 dependency )
{
}
}
}
60 changes: 60 additions & 0 deletions source/ClassLibrary14.AddOn/ClassLibrary14.AddOn.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<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>{D109D2A4-BE8A-484E-A88D-3293C094D429}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ClassLibrary14.AddOn</RootNamespace>
<AssemblyName>ClassLibrary14.AddOn</AssemblyName>
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<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' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<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="Class1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ClassLibrary\ClassLibrary.csproj">
<Project>{a4e856a2-0eca-4c62-85f7-d9f5e23c09ee}</Project>
<Name>ClassLibrary</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
18 changes: 18 additions & 0 deletions source/ClassLibrary14.AddOn/ClassLibrary14.AddOn.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>$id$</id>
<version>$version$</version>
<title>Test Project Add-on</title>
<authors>Haukinger</authors>
<owners>Haukinger</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>An Add-on to the Test Project</description>
<releaseNotes>Nothing yet</releaseNotes>
<copyright>Copyright 2017</copyright>
<tags>Test Dummy</tags>
<dependencies>
<dependency id="ClassLibrary14" version="[$version$]"/>
</dependencies>
</metadata>
</package>
36 changes: 36 additions & 0 deletions source/ClassLibrary14.AddOn/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("ClassLibrary14.AddOn")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("ClassLibrary14.AddOn")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// Durch Festlegen von ComVisible auf "false" werden die Typen in dieser Assembly unsichtbar
// für COM-Komponenten. Wenn Sie auf einen Typ in dieser Assembly von
// COM aus zugreifen müssen, sollten Sie das ComVisible-Attribut für diesen Typ auf "True" festlegen.
[assembly: ComVisible(false)]

// Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
[assembly: Guid("d109d2a4-be8a-484e-a88d-3293c094d429")]

// Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
//
// Hauptversion
// Nebenversion
// Buildnummer
// Revision
//
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
// übernehmen, indem Sie "*" eingeben:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

0 comments on commit 0f559d1

Please sign in to comment.