-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGarage.AppHost.csproj
More file actions
41 lines (34 loc) · 1.79 KB
/
Garage.AppHost.csproj
File metadata and controls
41 lines (34 loc) · 1.79 KB
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
<Project Sdk="Microsoft.NET.Sdk">
<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.2" />
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UserSecretsId>1315e618-bdbb-4ef7-9974-5761ed98b9d4</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="../Garage.DatabaseSeeder/Garage.DatabaseSeeder.csproj" />
<ProjectReference Include="..\Garage.ApiService\Garage.ApiService.csproj" />
<ProjectReference Include="..\Garage.ServiceDefaults\Garage.ServiceDefaults.csproj"
IsAspireProjectResource="false" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Aspire.Hosting.AppHost" Version="9.5.2" />
<PackageReference Include="Aspire.Hosting.Azure.AppContainers" Version="9.5.2" />
<PackageReference Include="Aspire.Hosting.NodeJs" Version="9.5.2" />
<PackageReference Include="Aspire.Hosting.Redis" Version="9.5.2" />
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="9.5.2" />
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Flagd" Version="9.9.0" />
</ItemGroup>
<Target Name="RestoreNpm" BeforeTargets="Build" Condition=" '$(DesignTimeBuild)' != 'true' ">
<ItemGroup>
<PackageJsons Include="..\*\package.json" />
</ItemGroup>
<!-- Install npm packages if node_modules is missing -->
<Message Importance="Normal" Text="Installing npm packages for %(PackageJsons.RelativeDir)"
Condition="!Exists('%(PackageJsons.RootDir)%(PackageJsons.Directory)/node_modules')" />
<Exec Command="npm install" WorkingDirectory="%(PackageJsons.RootDir)%(PackageJsons.Directory)"
Condition="!Exists('%(PackageJsons.RootDir)%(PackageJsons.Directory)/node_modules')" />
</Target>
</Project>