blob: 2aafedbd8d352f066a7fbc762c197f096c1a5b00 [file] [log] [blame]
<Project Sdk="Microsoft.NET.Sdk.Razor">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<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 Common Web UIs</Description>
<Company>Robert Bosch GmbH</Company>
<PackageTags>BaSys BaSyx Common Web UI</PackageTags>
<PackageLicenseExpression>EPL-2.0</PackageLicenseExpression>
<RunPostBuildEvent>OnOutputUpdated</RunPostBuildEvent>
<PackageIcon>basyxlogo.png</PackageIcon>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
<AddRazorSupportForMvc>true</AddRazorSupportForMvc>
<LangVersion>8.0</LangVersion>
<Configurations>Debug;Release</Configurations>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Hosting.Abstractions" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="2.2.0" />
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.2.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Composite" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.FileProviders.Embedded" Version="5.0.5" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="resources\**\*" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\basyx-core\BaSyx.API\BaSyx.API.csproj" />
<ProjectReference Include="..\BaSyx.Components.Common.Abstractions\BaSyx.Components.Common.Abstractions.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>
</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>