-
Notifications
You must be signed in to change notification settings - Fork 7
/
Auth0Templates.csproj
51 lines (43 loc) · 2.84 KB
/
Auth0Templates.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>2.2.0</PackageVersion>
<PackageId>Auth0.Templates</PackageId>
<Title>Auth0 Templates for .NET</Title>
<Authors>Auth0</Authors>
<Copyright>Auth0® Inc.</Copyright>
<Description>Template pack for creating .NET applications integrated with Auth0 authentication and authorization.</Description>
<PackageTags>dotnet-new;templates;auth0;authentication;openid connect;oidc;oauth2</PackageTags>
<PackageIcon>Auth0Icon.png</PackageIcon>
<PackageReadmeFile>readme-pkg.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/auth0/auth0-dotnet-templates</PackageProjectUrl>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/auth0/auth0-dotnet-templates</RepositoryUrl>
<TargetFramework>netstandard2.0</TargetFramework>
<IncludeContentInPack>true</IncludeContentInPack>
<IncludeBuildOutput>false</IncludeBuildOutput>
<ContentTargetFolders>templates</ContentTargetFolders>
<NoWarn>$(NoWarn);NU5128</NoWarn>
</PropertyGroup>
<ItemGroup>
<None Include="Auth0Icon.png" Pack="true" PackagePath="\"/>
<None Include="readme-pkg.md" Pack="true" PackagePath="\"/>
<Content Include="templates\**\*" Exclude="templates\**\bin\**;templates\**\obj\**" />
<Compile Remove="**\*" />
</ItemGroup>
<Target Name="AddCliWrapper" AfterTargets="BeforeBuild">
<ItemGroup>
<CliWrapperFiles Include="cli-wrapper\bin\Release\net7.0\publish\cli-wrapper.*;"/>
</ItemGroup>
<Exec Command="dotnet publish cli-wrapper/cli-wrapper.csproj -c Release -p:UseAppHost=false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.BlazorServer\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.BlazorWebAssembly\Client\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.BlazorWebAssembly\Server\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.Mvc\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.WebAPI\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.MinimalWebAPI\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.BlazorWebApp\Auth0BlazorWebApp\registration" SkipUnchangedFiles="false" />
<Copy SourceFiles="@(CliWrapperFiles)" DestinationFolder="templates\Auth0.Maui\registration" SkipUnchangedFiles="false" />
</Target>
</Project>