Skip to content

Project Properties

GhostNodesAdmin edited this page Jul 4, 2020 · 2 revisions

In the project properties dialog it’s important that you change some values for the Package.

Authors and Company must be the same and be the same as the Account the adapter will deployed for. Also a decent Description is required.

Example of a Source-Adapter project file:

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <AssemblyName>GhostNodes.SourceAssembly.YourAdapterName</AssemblyName>
    <RootNamespace>GhostNodes.SourceAssembly</RootNamespace>
    <Version>1.0.0</Version>
    <Product>GhostNodes</Product>
    <Authors>YOUR_ACCOUNT_NAME</Authors>
    <Company>YOUR_ACCOUNT_NAME</Company>
    <Description>A brief description of the adapter.</Description>
    <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
  </PropertyGroup>

  <ItemGroup>
    <Content Include="$(OutDir)$(TargetName).deps.json">
      <Pack>true</Pack>
      <PackagePath>lib\netstandard2.0\</PackagePath>
      <Visible>false</Visible>
    </Content>
    <Content Include="CHANGELOG.md" />
    <Content Include="README.md" />
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Include="AdapterImage.png" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="GhostNodes.Std.BaseAdapter" Version="3.0.0" />
  </ItemGroup>

</Project>
Clone this wiki locally