blob: 4624aa84bd678d8f971d0f71b195c211431f1738 [file] [log] [blame]
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Library</OutputType>
<Configurations>Debug;Release</Configurations>
<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 Registry Http Server</Description>
<Company>Robert Bosch GmbH</Company>
<PackageTags>BaSys BaSyx Registry Server</PackageTags>
<PackageLicenseExpression>EPL-2.0</PackageLicenseExpression>
<PackageIcon>basyxlogo.png</PackageIcon>
<IsPackable>true</IsPackable>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\basyx-core\BaSyx.API\BaSyx.API.csproj" />
<ProjectReference Include="..\BaSyx.API.Http.Controllers\BaSyx.API.Http.Controllers.csproj" />
<ProjectReference Include="..\BaSyx.Components.Common\BaSyx.Components.Common.csproj" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\resources\basyxlogo.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
<Content Include="..\..\resources\Nlog.config">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<Pack>true</Pack>
<PackageCopyToOutput>true</PackageCopyToOutput>
<PackageFlatten>true</PackageFlatten>
<PackagePath>contentFiles\any\$(TargetFramework)\</PackagePath>
</Content>
<Content Include="..\..\resources\ServerSettings.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<Pack>true</Pack>
<PackageCopyToOutput>true</PackageCopyToOutput>
<PackageFlatten>true</PackageFlatten>
<PackagePath>contentFiles\any\$(TargetFramework)\</PackagePath>
</Content>
</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>