I want to install .NEt Framework using bootstrapper/Clickonce application. The code I have used is as shown below -
But it fails with this error -
warning MSB3155: Item 'Microsoft.Net.Framework.4.7.1' could not be located in 'D:\a\1\s\src\ABC\Main'.
Error MSB3147: Could not find required file 'setup.bin' in 'D:\a\1\s\src\ABC\Main\Engine'.
What I want to do is to install .net framework from vendor site and hence the installers are not bundled. Can someone help here ?
<Target Name="BuildBootstrapper">
<ItemGroup>
<BootstrapperFile Include="Microsoft.Net.Framework.4.7.1">
<ProductName>.NET Framework 4.7.1</ProductName>
</BootstrapperFile>
</ItemGroup>
<GenerateBootstrapper
ApplicationFile="ABC.application"
ApplicationName="ABC"
BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="HomeSite"
/>
</Target>
I am using VS2017