novotnyllc / MSBuildSdkExtras

Extra properties for MSBuild SDK projects
MIT License
347 stars 42 forks source link

WPF SplashScreen Build Action. #91

Closed chuuddo closed 6 years ago

chuuddo commented 6 years ago

Can't set SplashScreen build action to image file from properties. Manually added to csproj works, but splash.png not visible in solution explorer.

<Project Sdk="MSBuild.Sdk.Extras/1.6.20-preview">
  <PropertyGroup>
    <OutputType>WinExe</OutputType>
    <TargetFramework>net472</TargetFramework>
    <ExtrasEnableWpfProjectSetup>true</ExtrasEnableWpfProjectSetup>
  </PropertyGroup>
  <ItemGroup>
    <None Remove="Splash.png" />
    <SplashScreen Include="Splash.png" />
  </ItemGroup> 
</Project>

VS 15.7.4

clairernovotny commented 6 years ago

I can add Splash Screen to the property page, but I'm seeing the same as you -- it's not showing up in the solution explorer. @davkean would be the one to answer that.

davkean commented 6 years ago

Dupe of that: https://github.com/dotnet/project-system/issues/2160.

clairernovotny commented 6 years ago

Closing as external