Skip to content

Commit

Permalink
fix asp.net core search
Browse files Browse the repository at this point in the history
template improvements
  • Loading branch information
chrpai committed Nov 16, 2023
1 parent c908009 commit cad92af
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ComponentRef Id="webSite" />
</ComponentGroup>
<PropertyRef Id="IISMAJORVERSION" />
<netfx:DotNetCoreSearch RuntimeType="aspnet" MajorVersion="7" Platform="x64" Variable="ASPNETCOREVERSION"/>
<netfx:DotNetCompatibilityCheck RuntimeType="aspnet" Version="7.0.0" Platform="$(Platform)" RollForward="latestMajor" Property="ASPNETCOREVERSION"/>
<Launch Condition="Installed OR IISMAJORVERSION" Message="[ProductName] requires Microsoft IIS"/>
<Launch Condition="Installed OR ASPNETCOREVERSION" Message="[ProductName] requires ASP.NET Core 7.x (Hosting Bundle)"/>
<DirectoryRef Id="INSTALLLOCATION">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
<DefineConstants>MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<ItemGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM64' ">
<DefineConstants>Debug;MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM64' ">
<DefineConstants>MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup><ItemGroup>
<Content Include="Resources\Banner.jpg" />
<Content Include="Resources\Dialog.jpg" />
<Content Include="Resources\Icon.ico" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ComponentRef Id="webSite" />
</ComponentGroup>
<PropertyRef Id="IISMAJORVERSION" />
<netfx:DotNetCoreSearch RuntimeType="aspnet" MajorVersion="7" Platform="x64" Variable="ASPNETCOREVERSION"/>
<netfx:DotNetCompatibilityCheck RuntimeType="aspnet" Version="7.0.0" Platform="$(Platform)" RollForward="latestMajor" Property="ASPNETCOREVERSION"/>
<Launch Condition="Installed OR IISMAJORVERSION" Message="[ProductName] requires Microsoft IIS"/>
<Launch Condition="Installed OR ASPNETCOREVERSION" Message="[ProductName] requires ASP.NET Core 7.x (Hosting Bundle)"/>
<DirectoryRef Id="INSTALLLOCATION">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
<DefineConstants>MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM64' ">
<DefineConstants>Debug;MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM64' ">
<DefineConstants>MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<ItemGroup>
<Content Include="Resources\Banner.jpg" />
<Content Include="Resources\Dialog.jpg" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ComponentRef Id="webSite" />
</ComponentGroup>
<PropertyRef Id="IISMAJORVERSION" />
<netfx:DotNetCoreSearch RuntimeType="aspnet" MajorVersion="7" Platform="x64" Variable="ASPNETCOREVERSION"/>
<netfx:DotNetCompatibilityCheck RuntimeType="aspnet" Version="7.0.0" Platform="$(Platform)" RollForward="latestMajor" Property="ASPNETCOREVERSION"/>
<Launch Condition="Installed OR IISMAJORVERSION" Message="[ProductName] requires Microsoft IIS"/>
<Launch Condition="Installed OR ASPNETCOREVERSION" Message="[ProductName] requires ASP.NET Core 7.x (Hosting Bundle)"/>
<DirectoryRef Id="INSTALLLOCATION">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@
<DefineConstants>MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables></WixVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|ARM64' ">
<DefineConstants>Debug;MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|ARM64' ">
<DefineConstants>MSIProductVersion=$(MSIProductVersion)</DefineConstants>
<WixVariables>WixUIBannerBmp=Resources\Banner.jpg;WixUIDialogBmp=Resources\Dialog.jpg;WixUILicenseRtf=Resources\EULA.rtf</WixVariables>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="WixToolset.Iis.wixext" Version="4.0.3" />
<PackageReference Include="WixToolset.NetFx.wixext" Version="4.0.3" />
Expand Down

0 comments on commit cad92af

Please sign in to comment.