Skip to content

Commit

Permalink
Include templates in SDK layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ViktorHofer committed May 7, 2024
1 parent 580587e commit c0b97b8
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Installer/redist-installer/redist-installer.csproj
Original file line number Diff line number Diff line change
@@ -16,11 +16,12 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\Layout\redist\redist.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="$(RepoRoot)template_feed\*\*.csproj" ReferenceOutputAssembly="false" />
<!--
These two projects reference assets from multiple architectures, so they can't be built until we have a join point job that can pull assets from multiple legs.
https://github.com/dotnet/source-build/issues/4336
-->
<ProjectReference Include="..\..\Layout\redist\redist.csproj" ReferenceOutputAssembly="false" />
<ProjectReference Include="projects\SdkResolver.csproj" ReferenceOutputAssembly="false" Condition="'$(DotNetBuild)' != 'true'" />
<ProjectReference Include="projects\VSTemplateLocator.csproj" ReferenceOutputAssembly="false" Condition="'$(DotNetBuild)' != 'true'" />
</ItemGroup>
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>True</SuppressDependenciesWhenPacking>
<NoDefaultExcludes>true</NoDefaultExcludes>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />
Original file line number Diff line number Diff line change
@@ -20,6 +20,7 @@
<PackageType>Template</PackageType>
<SuppressDependenciesWhenPacking>True</SuppressDependenciesWhenPacking>
<NoWarn>$(NoWarn);NU1507</NoWarn>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<ItemGroup>
<PackageReference Remove="Microsoft.NETCore.App" />

0 comments on commit c0b97b8

Please sign in to comment.