blob: 9d9f6b3c82889bde22ae3fa620081d6442fd04d0 [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 AASX Package Service</Description>
<Company>Robert Bosch GmbH</Company>
<PackageTags>BaSys BaSyx HTTP API Controllers AASX Package</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="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.5" />
</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" />
<ProjectReference Include="..\..\basyx-core\BaSyx.Models.Export\BaSyx.Models.Export.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>