blob: 96638da6ed99e60c60b92e7b9fca6f569f8c266d [file] [log] [blame]
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<OutputType>Library</OutputType>
<Authors>Constantin Ziesche</Authors>
<Copyright>Copyright 2021 - Robert Bosch GmbH</Copyright>
<PackageProjectUrl>https://wiki.eclipse.org/BaSyx</PackageProjectUrl>
<RepositoryUrl>https://git.eclipse.org/r/plugins/gitiles/basyx/basyx/+/master/sdks/csnet/</RepositoryUrl>
<PackageLicenseUrl></PackageLicenseUrl>
<Description>The official BaSyx HTTP Controller Collection</Description>
<Company>Robert Bosch GmbH</Company>
<PackageTags>BaSys BaSyx HTTP API Controllers</PackageTags>
<PackageLicenseExpression>EPL-2.0</PackageLicenseExpression>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
<PackageIcon>basyxlogo.png</PackageIcon>
<LangVersion>8.0</LangVersion>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<IsPackable>true</IsPackable>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
<EmbeddedResource Include="$(AssemblyName).xml" />
</ItemGroup>
<PropertyGroup>
<DocumentationFile>$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NLog.Web.AspNetCore" Version="4.12.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.5" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugWithNuGet|AnyCPU'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\resources\basyxlogo.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\basyx-core\BaSyx.API\BaSyx.API.csproj" />
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<Exec Command="IF EXIST %25BASYX_REPO%25 ( dotnet pack &quot;$(ProjectPath)&quot; -c Release --no-build --include-source --include-symbols --output &quot;%25BASYX_REPO%25&quot; ) ELSE ( ECHO BASYX_REPO Environment Variable not found)" />
</Target>
</Project>