Skip to content

Demonstrates failed Publishing with .NET Core 3.1 WPF application that references SlowCheetah.

Notifications You must be signed in to change notification settings

aesalazar/ClickOnceCoreSlowCheetah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstrates inability to push .net core 3.1 project that references Microsoft's Slow-Cheetah (3.2.18 as of the time of this writing) transform package for Visual Studio.

To reproduce:

  • Download the repo and set for Release build in the Configuration selector.
  • Build and run the app to confirm all dependencies are set.
  • Right-click the ClickOnceCoreSlowCheetah project and hit "Publish..." to invoke ClickOnce.

This will fail to publish with an error about the build targets.

To fix:

  • Double-click on ClickOnceCoreSlowCheetah to edit the xml and delete/comment out :
    <PackageReference Include="Microsoft.VisualStudio.SlowCheetah" Version="3.2.26">
      <PrivateAssets>all</PrivateAssets>
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
    </PackageReference>
  </ItemGroup>
  • Clean the solution.
  • Right-click the ClickOnceCoreSlowCheetah project and hit "Publish..." again.

This time it should succeed.

Everything in the project are defaults. I simply created a new WPF (.NET Core 3.1) App which automatically created the window. I did add a single TextBlock to it. I then used the Publish Wizard, selected Folder for Target and ClickOnce for Specific Target, and used all defaults in subsequent screens.

About

Demonstrates failed Publishing with .NET Core 3.1 WPF application that references SlowCheetah.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages