* Get local builds working
- no solution file or build scripts but `dotnet pack` does the trick
- last part of #32027 unless we need Arcade or a CI build urgently

Main work was to add a few missing files and modify them for this environment
- mostly copied from dotnet/aspnetcore
  - Directory.Build.props and Directory.Build.targets created from scratch
    - some content copied from dotnet/arcade and dotnet/aspnetcore
  - NuGet.config and eng/Versions.props copied but pared down (a lot) to mandatory bits for an isolated build
- new eng/ files mostly came from src/ProjectTemplates/ in dotnet/aspnetcore
  - eng/DotNetPackageIcon.png came from src/Microsoft.DotNet.Arcade.Sdk/tools/Assets/ in dotnet/arcade
  - eng/Packaging.targets copied from src/Microsoft.DotNet.Arcade.Sdk/tools/Workarounds.targets in dotnet/arcade

nits:
- fix whitespace Directory.Build.targets target added to `$(Description)`
- fix typo in the `_AppendRepositoryUrlToPackageDescription` target name
- remove src/.gitignore and move content into new root .gitignore file
- remove SECURITY.md trailing whitespace
This commit is contained in:
Doug Bunting 2021-07-29 15:23:44 -07:00 коммит произвёл GitHub
Родитель 9b004357a3
Коммит 373712a220
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
14 изменённых файлов: 445 добавлений и 18 удалений

68
.gitattributes поставляемый Normal file
Просмотреть файл

@ -0,0 +1,68 @@
###############################################################################
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
###############################################################################
# Make sh files under the build directory always have LF as line endings
###############################################################################
*.sh eol=lf
###############################################################################
# Set default behavior for command prompt diff.
#
# This is need for earlier builds of msysgit that does not have it on by
# default for csharp files.
# Note: This is only used by command line
###############################################################################
#*.cs diff=csharp
###############################################################################
# Set the merge driver for project and solution files
#
# Merging from the command prompt will add diff markers to the files if there
# are conflicts (Merging from VS is not affected by the settings below, in VS
# the diff markers are never inserted). Diff markers may cause the following
# file extensions to fail to load in VS. An alternative would be to treat
# these files as binary and thus will always conflict and require user
# intervention with every merge. To do so, just uncomment the entries below
###############################################################################
#*.sln merge=binary
#*.csproj merge=binary
#*.vbproj merge=binary
#*.vcxproj merge=binary
#*.vcproj merge=binary
#*.dbproj merge=binary
#*.fsproj merge=binary
#*.lsproj merge=binary
#*.wixproj merge=binary
#*.modelproj merge=binary
#*.sqlproj merge=binary
#*.wwaproj merge=binary
###############################################################################
# behavior for image files
#
# image files are treated as binary by default.
###############################################################################
#*.jpg binary
#*.png binary
#*.gif binary
###############################################################################
# diff behavior for common document formats
#
# Convert binary document formats to text before diffing them. This feature
# is only available from the command line. Turn it on by uncommenting the
# entries below.
###############################################################################
#*.doc diff=astextplain
#*.DOC diff=astextplain
#*.docx diff=astextplain
#*.DOCX diff=astextplain
#*.dot diff=astextplain
#*.DOT diff=astextplain
#*.pdf diff=astextplain
#*.PDF diff=astextplain
#*.rtf diff=astextplain
#*.RTF diff=astextplain

30
.gitignore поставляемый Normal file
Просмотреть файл

@ -0,0 +1,30 @@
bin/
obj/
.vs/
*.suo
*.user
_ReSharper.*
*.DS_Store
*.userprefs
*.pidb
*.vspx
*.psess
*.binlog
*.log
artifacts/
StyleCop.Cache
node_modules/
*.snk
.nuget
.r
.w
.deps
.env
.dotnet/
.tools/
launchSettings.json
.gradle/
# These files are generated by the build.
src/content/**/*.*proj
src/content/**/*.sln

32
Directory.Build.props Normal file
Просмотреть файл

@ -0,0 +1,32 @@
<!-- Everything in this file should have conditions that check $(RepoRoot). -->
<Project>
<!--
When outside dotnet/aspnetcore, intentionally break the inheritance chain.
Isolate this repo from irrelevant settings in parent folders.
-->
<Import Project="$(RepoRoot)src/ProjectTemplates/Directory.Build.props" Condition=" '$(RepoRoot)' != '' " />
<PropertyGroup Condition=" '$(RepoRoot)' == '' ">
<RepositoryUrl>https://github.com/dotnet/spa-templates</RepositoryUrl>
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/Directory.Build.props. -->
<NuspecBasePath>$(MSBuildProjectDirectory)</NuspecBasePath>
<!-- The SPDX name for the source license. See https://spdx.org/licenses/. -->
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://asp.net</PackageProjectUrl>
<RepositoryType>git</RepositoryType>
<!-- Copied from https://github.com/dotnet/arcade/blob/c6a28c81f96d196338b3ea520bc1e6dc7c440e/src/Microsoft.DotNet.Arcade.Sdk/tools/ProjectDefaults.props. -->
<Authors>Microsoft</Authors>
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
<DevelopmentDependency>false</DevelopmentDependency>
<PackageIcon>Icon.png</PackageIcon>
<PackageIconFullPath>$(MSBuildThisFileDirectory)eng/DotNetPackageIcon.png</PackageIconFullPath>
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
<Serviceable>true</Serviceable>
</PropertyGroup>
<Import Project="eng/TemplateProjects.props" Condition=" '$(RepoRoot)' == '' " />
<!-- The Arcade SDK auto-includes eng/Versions.props. -->
<Import Project="eng/Versions.props" Condition=" '$(RepoRoot)' == '' " />
</Project>

39
Directory.Build.targets Normal file
Просмотреть файл

@ -0,0 +1,39 @@
<!--
Everything in this file should have conditions that check $(RepoRoot). Similarly, because targets here could
unconditionally override dotnet/aspnetcore targets, put them in a conditionally-imported .targets file instead.
-->
<Project>
<!--
When outside dotnet/aspnetcore, intentionally break the inheritance chain.
Isolate this repo from irrelevant settings in parent folders.
-->
<Import Project="$(RepoRoot)src/ProjectTemplates/Directory.Build.targets" Condition=" '$(RepoRoot)' != '' " />
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/src/ProjectTemplates/Directory.Build.targets. -->
<PropertyGroup Condition=" '$(RepoRoot)' == '' ">
<PackageVersion Condition=" '$(PackageVersion)' == '' ">$(Version)</PackageVersion>
<Description>$(Description)
To install the templates in this package, run 'dotnet new --install $(PackageId)::$(PackageVersion)'.</Description>
</PropertyGroup>
<ItemGroup Condition=" '$(RepoRoot)' == '' ">
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/eng/tools/GenerateFiles/GenerateFiles.csproj. -->
<PackageReference Include="Microsoft.DotNet.Build.Tasks.Templating"
Version="$(MicrosoftDotNetBuildTasksTemplatingVersion)"
PrivateAssets="All"
IsImplicitlyDefined="true" />
<!--
Copied from https://github.com/dotnet/arcade/blob/c6a28c81f96d196338b3ea520bc1e6dc7c440ee2/src/Microsoft.DotNet.Arcade.Sdk/tools/RepositoryInfo.targets.
We don't need source link. This is imported for automatic determination of repository information.
-->
<PackageReference Include="Microsoft.SourceLink.GitHub"
Version="$(MicrosoftSourceLinkVersion)"
PrivateAssets="all"
IsImplicitlyDefined="true" />
</ItemGroup>
<Import Project="eng/GenerateContent.targets" Condition=" '$(RepoRoot)' == '' " />
<Import Project="eng/Packaging.targets" Condition=" '$(RepoRoot)' == '' " />
</Project>

13
NuGet.config Normal file
Просмотреть файл

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
<add key="dotnet6" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6/nuget/v3/index.json" />
<!-- Required when building within dotnet/aspnetcore. -->
<add key="dotnet6-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet6-transport/nuget/v3/index.json" />
</packageSources>
<disabledPackageSources>
<clear />
</disabledPackageSources>
</configuration>

15
SECURITY.md Normal file
Просмотреть файл

@ -0,0 +1,15 @@
# Security Policy
## Supported Versions
The .NET Core and ASP.NET Core support policy, including supported versions can be found at the [.NET Core Support Policy Page](https://dotnet.microsoft.com/platform/support/policy/dotnet-core).
## Reporting a Vulnerability
Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) through https://msrc.microsoft.com or by emailing secure@microsoft.com.
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your
original message. Further information, including the MSRC PGP key, can be found in the [MSRC Report an Issue FAQ](https://www.microsoft.com/en-us/msrc/faqs-report-an-issue).
Reports via MSRC may qualify for the .NET Core Bug Bounty. Details of the .NET Core Bug Bounty including terms and conditions are at [https://aka.ms/corebounty](https://aka.ms/corebounty).
Please do not open issues for anything you think might have a security implication.

Двоичные данные
eng/DotNetPackageIcon.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 6.8 KiB

Просмотреть файл

@ -0,0 +1,36 @@
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/src/ProjectTemplates/GenerateContent.targets. -->
<Project>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
<!-- Use for incremental builds. When versions or dependencies of templates change, this file is updated and causes a re-build. -->
<_GenerateContentPropertiesHashFile>$(IntermediateOutputPath)$(MSBuildProjectName).content.g.cache</_GenerateContentPropertiesHashFile>
</PropertyGroup>
<!--
Generates the content properties hash file.
-->
<Target Name="GetGeneratedContentPropertiesHash">
<Hash ItemsToHash="$(GeneratedContentProperties)">
<Output TaskParameter="HashResult" PropertyName="_GeneratedContentPropertiesHash" />
</Hash>
<WriteLinesToFile Overwrite="true" Lines="$(_GeneratedContentPropertiesHash)" File="$(_GenerateContentPropertiesHashFile)" WriteOnlyWhenDifferent="true" />
</Target>
<Target Name="GenerateContent"
DependsOnTargets="GetGeneratedContentPropertiesHash"
BeforeTargets="CoreCompile"
Inputs="$(MSBuildAllProjects);$(_GenerateContentPropertiesHashFile);@(GeneratedContent)"
Outputs="@(GeneratedContent->'%(OutputPath)')">
<GenerateFileFromTemplate
TemplateFile="%(GeneratedContent.Identity)"
Properties="$(GeneratedContentProperties);%(GeneratedContent.AdditionalProperties)"
OutputPath="%(GeneratedContent.OutputPath)">
<Output TaskParameter="ResolvedOutputPath" ItemName="FileWrites" />
<Output TaskParameter="ResolvedOutputPath" ItemName="Content" />
</GenerateFileFromTemplate>
</Target>
</Project>

115
eng/Packaging.targets Normal file
Просмотреть файл

@ -0,0 +1,115 @@
<!-- Copied from https://github.com/dotnet/arcade/blob/c6a28c81f96d196338b3ea520bc1e6dc7c440ee2/src/Microsoft.DotNet.Arcade.Sdk/tools/Workarounds.targets. -->
<Project>
<!--
Workarounds for insufficient support for tools packages by NuGet Pack: https://github.com/NuGet/Home/issues/6321.
Project that produce tools packages use .nuspec file in order to include all the needed dependencies.
This target translates common msbuild properties to NuSpec properties.
-->
<Target Name="InitializeStandardNuspecProperties"
BeforeTargets="GenerateNuspec"
DependsOnTargets="_AppendRepositoryUrlToPackageDescription;_InitializeNuspecRepositoryInformationPropertiesWorkaround"
Condition="'$(IsPackable)' == 'true'">
<PropertyGroup>
<PackageId Condition="'$(NuspecPackageId)' != ''">$(NuspecPackageId)</PackageId>
<PackageProjectUrl Condition="'$(PackageProjectUrl)' == ''">$(RepositoryUrl)</PackageProjectUrl>
</PropertyGroup>
<Error Text="PackageDescription must be specified" Condition="'$(PackageDescription)' == ''"/>
<Error Text="PackageProjectUrl must be specified" Condition="'$(PackageProjectUrl)' == ''"/>
<Error Text="RepositoryUrl must be specified" Condition="'$(RepositoryUrl)' == ''"/>
<Error Text="RepositoryCommit must be specified" Condition="'$(RepositoryCommit)' == ''"/>
<Error Text="RepositoryType must be specified" Condition="'$(RepositoryType)' == ''"/>
<Error Text="Either PackageLicenseExpression or PackageLicenseFile must be specified" Condition="'$(PackageLicenseExpression)' == '' and '$(PackageLicenseFile)' == ''"/>
<PropertyGroup Condition="'$(NuspecFile)' != '' and '$(NuspecProperties)' == ''">
<_LicenseElement/>
<_LicenseElement Condition="'$(PackageLicenseExpression)' != ''">
<license type="expression">$(PackageLicenseExpression)</license>
</_LicenseElement>
<_LicenseElement Condition="'$(PackageLicenseFile)' != ''">
<license type="file">$(PackageLicenseFile)</license>
</_LicenseElement>
<_TagsElement/>
<_TagsElement Condition="'$(PackageTags)' != ''">
<tags>$(PackageTags.Replace(';', ' '))</tags>
</_TagsElement>
<_IconUrlElement/>
<_IconUrlElement Condition="'$(PackageIcon)' == '' and '$(PackageIconUrl)' != ''">
<iconUrl>$(PackageIconUrl)</iconUrl>
</_IconUrlElement>
<_IconElement/>
<_IconElement Condition="'$(PackageIcon)' != ''">
<icon>$(PackageIcon)</icon>
</_IconElement>
<_IconFileElement/>
<_IconFileElement Condition="'$(PackageIcon)' != ''">
<file src="$(PackageIconFullPath)" target="$(PackageIcon)" />
</_IconFileElement>
<_ReleaseNotesElement/>
<_ReleaseNotesElement Condition="'$(PackageReleaseNotes)' != ''">
<releaseNotes>$(PackageReleaseNotes)</releaseNotes>
</_ReleaseNotesElement>
<_CommonMetadataElements>
<id>$(PackageId)</id>
<description>$(PackageDescription)</description>
<version>$(PackageVersion)</version>
<authors>$(Authors)</authors>
<requireLicenseAcceptance>$(PackageRequireLicenseAcceptance)</requireLicenseAcceptance>
$(_TagsElement)
$(_LicenseElement)
$(_IconElement)
$(_IconUrlElement)
$(_ReleaseNotesElement)
<projectUrl>$(PackageProjectUrl)</projectUrl>
<copyright>$(Copyright)</copyright>
<developmentDependency>$(DevelopmentDependency)</developmentDependency>
<serviceable>$(Serviceable)</serviceable>
<repository type="$(RepositoryType)" url="$(RepositoryUrl)" commit="$(RepositoryCommit)" />
</_CommonMetadataElements>
<_CommonFileElements>
$(_IconFileElement)
</_CommonFileElements>
</PropertyGroup>
<ItemGroup Condition="'$(NuspecFile)' != '' and '$(NuspecProperties)' == ''">
<NuspecProperty Include="CommonMetadataElements=$(_CommonMetadataElements)"/>
<NuspecProperty Include="CommonFileElements=$(_CommonFileElements)"/>
<NuspecProperty Include="PackageId=$(PackageId)"/>
<NuspecProperty Include="Version=$(PackageVersion)"/>
<NuspecProperty Include="ProjectDirectory=$(MSBuildProjectDirectory)"/>
</ItemGroup>
<PropertyGroup Condition="'$(NuspecFile)' != '' and '$(NuspecProperties)' == ''">
<NuspecProperties>@(NuspecProperty, ';')</NuspecProperties>
</PropertyGroup>
</Target>
<!--
Initialize Repository* properties from properties set by a source control package, if available in the project.
-->
<Target Name="_InitializeNuspecRepositoryInformationPropertiesWorkaround"
DependsOnTargets="InitializeSourceControlInformation"
Condition="'$(SourceControlInformationFeatureSupported)' == 'true'">
<PropertyGroup>
<!-- The project must specify PublishRepositoryUrl=true in order to publish the URL, in order to prevent inadvertent leak of internal URL. -->
<RepositoryUrl Condition="'$(RepositoryUrl)' == '' and '$(PublishRepositoryUrl)' == 'true'">$(PrivateRepositoryUrl)</RepositoryUrl>
<RepositoryCommit Condition="'$(RepositoryCommit)' == ''">$(SourceRevisionId)</RepositoryCommit>
</PropertyGroup>
</Target>
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714//eng/targets/Packaging.targets. -->
<Target Name="_AppendRepositoryUrlToPackageDescription" DependsOnTargets="InitializeSourceControlInformation">
<PropertyGroup Condition="'$(RepositoryUrl)' != '' AND '$(SourceRevisionId)' != ''">
<PackageDescription>$(PackageDescription)
This package was built from the source code at $(RepositoryUrl)/tree/$(SourceRevisionId)</PackageDescription>
</PropertyGroup>
</Target>
</Project>

Просмотреть файл

@ -0,0 +1,23 @@
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/src/ProjectTemplates/TemplateProjects.props. -->
<Project>
<PropertyGroup>
<EnableDefaultItems>False</EnableDefaultItems>
<GenerateAssemblyInfo>False</GenerateAssemblyInfo>
<IncludeBuildOutput>False</IncludeBuildOutput>
<IncludeSymbols>false</IncludeSymbols>
<NoWarn>$(NoWarn);2008;8021</NoWarn>
<PackageTags>aspnet;templates</PackageTags>
<NuspecFile>$(MSBuildThisFileDirectory)templates.nuspec</NuspecFile>
<CopyBuildOutputToOutputDirectory>false</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
</PropertyGroup>
<PropertyGroup Condition="'$(BuildingInsideVisualStudio)' == 'true'">
<!-- So you can make changes and re-run tests within VS without command-line builds -->
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<None Include="content/**" />
</ItemGroup>
</Project>

28
eng/Versions.props Normal file
Просмотреть файл

@ -0,0 +1,28 @@
<Project>
<PropertyGroup Label="Version settings">
<AspNetCoreMajorVersion>6</AspNetCoreMajorVersion>
<AspNetCoreMinorVersion>0</AspNetCoreMinorVersion>
<AspNetCoreMajorMinorVersion>$(AspNetCoreMajorVersion).$(AspNetCoreMinorVersion)</AspNetCoreMajorMinorVersion>
<DefaultNetCoreTargetFramework>net6.0</DefaultNetCoreTargetFramework>
</PropertyGroup>
<PropertyGroup Label="Package versions">
<!-- Packages from dotnet/arcade -->
<MicrosoftDotNetBuildTasksTemplatingVersion>6.0.0-beta.21373.11</MicrosoftDotNetBuildTasksTemplatingVersion>
<!-- Packages from dotnet/aspnetcore -->
<MicrosoftAspNetCoreApiAuthorizationIdentityServerVersion>6.0.0-preview.6.21355.2</MicrosoftAspNetCoreApiAuthorizationIdentityServerVersion>
<MicrosoftAspNetCoreDiagnosticsEntityFrameworkCoreVersion>6.0.0-preview.6.21355.2</MicrosoftAspNetCoreDiagnosticsEntityFrameworkCoreVersion>
<MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion>6.0.0-preview.6.21355.2</MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion>
<MicrosoftAspNetCoreIdentityUIVersion>6.0.0-preview.6.21355.2</MicrosoftAspNetCoreIdentityUIVersion>
<MicrosoftAspNetCoreSpaProxyVersion>6.0.0-preview.6.21355.2</MicrosoftAspNetCoreSpaProxyVersion>
<MicrosoftAspNetCoreSpaServicesExtensionsVersion>6.0.0-preview.6.21355.2</MicrosoftAspNetCoreSpaServicesExtensionsVersion>
<!-- Packages from dotnet/efcore -->
<MicrosoftEntityFrameworkCoreRelationalVersion>6.0.0-preview.6.21352.1</MicrosoftEntityFrameworkCoreRelationalVersion>
<MicrosoftEntityFrameworkCoreSqliteVersion>6.0.0-preview.6.21352.1</MicrosoftEntityFrameworkCoreSqliteVersion>
<MicrosoftEntityFrameworkCoreSqlServerVersion>6.0.0-preview.6.21352.1</MicrosoftEntityFrameworkCoreSqlServerVersion>
<MicrosoftEntityFrameworkCoreToolsVersion>6.0.0-preview.6.21352.1</MicrosoftEntityFrameworkCoreToolsVersion>
<!-- Packages from dotnet/runtime -->
<MicrosoftExtensionsHostingVersion>6.0.0-preview.6.21352.12</MicrosoftExtensionsHostingVersion>
<!-- Packages from dotnet/sourcelink -->
<MicrosoftSourceLinkVersion>1.1.0-beta-20206-02</MicrosoftSourceLinkVersion>
</PropertyGroup>
</Project>

17
eng/templates.nuspec Normal file
Просмотреть файл

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copied from https://github.com/dotnet/aspnetcore/blob/0c5456afe95096db6ac5400cecd3440299b42714/src/ProjectTemplates/templates.nuspec. -->
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
$CommonMetadataElements$
<packageTypes>
<packageType name="Template" />
</packageTypes>
</metadata>
<files>
$CommonFileElements$
<file
src="content/**"
exclude="**/node_modules/**;**/bin/**;**/obj/**;**/.vs/**;**/.vscode/**;**/ClientApp/dist/**;**/wwwroot/dist/**;content/Directory.Build.*"
target="" />
</files>
</package>

3
src/.gitignore поставляемый
Просмотреть файл

@ -1,3 +0,0 @@
# This file is generated by the build
content/**/*.*proj
content/**/*.sln

Просмотреть файл

@ -1,5 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>$(DefaultNetCoreTargetFramework)</TargetFramework>
<PackageId>Microsoft.DotNet.Web.Spa.ProjectTemplates.$(AspNetCoreMajorMinorVersion)</PackageId>
@ -9,33 +8,48 @@
<NoDefaultExcludes>true</NoDefaultExcludes>
</PropertyGroup>
<PropertyGroup>
<PropertyGroup>
<!-- Lists the versions of dependencies not built in this repo. Packages produced from this repo should be listed as a PackageVersionVariableReference. -->
<GeneratedContentProperties>
DefaultNetCoreTargetFramework=$(DefaultNetCoreTargetFramework);
MicrosoftEntityFrameworkCoreSqliteVersion=$(MicrosoftEntityFrameworkCoreSqliteVersion);
MicrosoftEntityFrameworkCoreRelationalVersion=$(MicrosoftEntityFrameworkCoreRelationalVersion);
MicrosoftEntityFrameworkCoreSqliteVersion=$(MicrosoftEntityFrameworkCoreSqliteVersion);
MicrosoftEntityFrameworkCoreSqlServerVersion=$(MicrosoftEntityFrameworkCoreSqlServerVersion);
MicrosoftEntityFrameworkCoreToolsVersion=$(MicrosoftEntityFrameworkCoreToolsVersion);
MicrosoftExtensionsHostingVersion=$(MicrosoftExtensionsHostingVersion);
MicrosoftNETCoreAppRuntimeVersion=$(MicrosoftNETCoreAppRuntimeVersion);
MicrosoftAspNetCoreSpaProxyVersion=$(MicrosoftAspNetCoreSpaProxyVersion);
</GeneratedContentProperties>
</PropertyGroup>
<ItemGroup>
<!-- These projects product packages that the templates depend on. See GenerateContent.targets -->
<PackageVersionVariableReference Include="$(RepoRoot)src\Middleware\Spa\SpaServices.Extensions\src\Microsoft.AspNetCore.SpaServices.Extensions.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Middleware\Spa\SpaProxy\src\Microsoft.AspNetCore.SpaProxy.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Identity\ApiAuthorization.IdentityServer\src\Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Identity\EntityFrameworkCore\src\Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Identity\UI\src\Microsoft.AspNetCore.Identity.UI.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Middleware\Diagnostics.EntityFrameworkCore\src\Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.csproj" />
</ItemGroup>
<Choose>
<When Condition=" '$(RepoRoot)' == '' ">
<PropertyGroup>
<!-- Lists the versions of dependencies not built in this repo. Packages produced from this repo should be listed as a PackageVersionVariableReference. -->
<GeneratedContentProperties>
$(GeneratedContentProperties);
MicrosoftAspNetCoreApiAuthorizationIdentityServerVersion=$(MicrosoftAspNetCoreApiAuthorizationIdentityServerVersion);
MicrosoftAspNetCoreDiagnosticsEntityFrameworkCoreVersion=$(MicrosoftAspNetCoreDiagnosticsEntityFrameworkCoreVersion);
MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion=$(MicrosoftAspNetCoreIdentityEntityFrameworkCoreVersion);
MicrosoftAspNetCoreIdentityUIVersion=$(MicrosoftAspNetCoreIdentityUIVersion);
MicrosoftAspNetCoreSpaProxyVersion=$(MicrosoftAspNetCoreSpaProxyVersion);
MicrosoftAspNetCoreSpaServicesExtensionsVersion=$(MicrosoftAspNetCoreSpaServicesExtensionsVersion);
</GeneratedContentProperties>
</PropertyGroup>
</When>
<Otherwise>
<ItemGroup>
<!-- These projects product packages that the templates depend on. See GenerateContent.targets -->
<PackageVersionVariableReference Include="$(RepoRoot)src\Identity\ApiAuthorization.IdentityServer\src\Microsoft.AspNetCore.ApiAuthorization.IdentityServer.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Middleware\Diagnostics.EntityFrameworkCore\src\Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Identity\EntityFrameworkCore\src\Microsoft.AspNetCore.Identity.EntityFrameworkCore.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Identity\UI\src\Microsoft.AspNetCore.Identity.UI.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Middleware\Spa\SpaProxy\src\Microsoft.AspNetCore.SpaProxy.csproj" />
<PackageVersionVariableReference Include="$(RepoRoot)src\Middleware\Spa\SpaServices.Extensions\src\Microsoft.AspNetCore.SpaServices.Extensions.csproj" />
</ItemGroup>
</Otherwise>
</Choose>
<ItemGroup>
<GeneratedContent Include="Angular-CSharp.csproj.in" OutputPath="content/Angular-CSharp/Company.WebApplication1.csproj" />
<GeneratedContent Include="React-CSharp.csproj.in" OutputPath="content/React-CSharp/Company.WebApplication1.csproj" />
</ItemGroup>
</Project>