47 lines
2.0 KiB
XML
47 lines
2.0 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>netcoreapp3.0</TargetFramework>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\..\src\Core\Base32.cs" Link="Infrastructure\Base32.cs" />
|
|
<Compile Include="..\..\src\Core\Rfc6238AuthenticationService.cs" Link="Infrastructure\Rfc6238AuthenticationService.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\WebSites\Identity.DefaultUI.WebSite\Identity.DefaultUI.WebSite.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="$(MicrosoftAspNetCoreMvcTestingPackageVersion)" />
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Testing" Version="$(MicrosoftExtensionsLoggingTestingPackageVersion)" />
|
|
<PackageReference Include="Microsoft.EntityFrameworkCore.InMemory" Version="$(MicrosoftEntityFrameworkCoreInMemoryPackageVersion)" />
|
|
<PackageReference Include="AngleSharp" Version="$(AngleSharpPackageVersion)" />
|
|
</ItemGroup>
|
|
|
|
<Target Name="CopyViews" AfterTargets="Build" Condition="$(TargetFramework) != ''">
|
|
<ItemGroup>
|
|
<_IdentityUIViewsAssemblies Include="$(MSBuildThisFileDirectory)..\..\src\UI\bin\$(Configuration)\netcoreapp3.0\Microsoft.AspNetCore.Identity.UI.Views.*.dll" />
|
|
</ItemGroup>
|
|
<Copy
|
|
SourceFiles="@(_IdentityUIViewsAssemblies)"
|
|
DestinationFolder="$(OutputPath)" />
|
|
</Target>
|
|
|
|
<Target Name="VerifyBuildOutputs" AfterTargets="Build" Condition="$(TargetFramework) != ''">
|
|
<ItemGroup>
|
|
<ExpectedOutputFile Include="$(OutputPath)Microsoft.AspNetCore.Identity.UI.Views.V3.dll" />
|
|
<ExpectedOutputFile Include="$(OutputPath)Microsoft.AspNetCore.Identity.UI.Views.V4.dll" />
|
|
</ItemGroup>
|
|
|
|
<Error Text="Unable to find precompiled view file %(ExpectedOutputFile.Identity)"
|
|
Condition="!Exists('%(ExpectedOutputFile.Identity)')" />
|
|
</Target>
|
|
|
|
</Project>
|