question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Proposal] Windows App SDK projects should be buildable with `dotnet` CLI

See original GitHub issue
  1. Create blank template application
  2. Open folder for App1 in the x64 Dev tools
  3. run dotnet run
...\nuget\packages\microsoft.projectreunion.foundation\0.8.0\build\Microsoft.ApplicationModel.Resources.PriGen.targets(386,5): error MSB4062: The "Microsoft.Build.AppxPackage.GetSdkFileFullPath" task could not be loaded from the assembly C:\Program Files\dotnet\sdk\6.0.100-preview.6.21315.23\\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.Build.AppxPackage.dll. Could not load file or assembly 'C:\Program Files\dotnet\sdk\6.0.100-preview.6.21315.23\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.Build.AppxPackage.dll'. The system cannot find the path specified. Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask. [....\repos\App1\App1\App1\App1.csproj]

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
evelynwu-msftcommented, Jul 1, 2021

To clarify my earlier statement, building with msbuild on the command line works just fine; it’s the dotnet CLI specifically that we do not yet support. Unfortunately, many of the build tasks we depend on are not compatible with dotnet CLI as they target .NET Framework rather than .NET Standard, and as they are closed source (and I can’t speak to when they might be open sourced, if ever) I don’t think this is something the community can help us with. 😦

0reactions
evelynwu-msftcommented, Jan 26, 2023

@ianeuman Yes, please open a new issue in the WinAppSDK repo: https://github.com/microsoft/WindowsAppSDK/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build desktop Windows apps with the Windows App SDK
The Windows App SDK is a set of new developer components and tools that represent the next evolution in the Windows app development...
Read more >
Experimental release channel for the Windows App SDK
The experimental channel provides releases of the Windows App SDK that include ... API in your code, you will receive a build-time warning....
Read more >
dotnet clean command - .NET CLI
Defines the build configuration. The default for most projects is Debug , but you can override the build configuration settings in your project....
Read more >
Use the Windows Compatibility Pack to port code - .NET Core
Learn about the Windows Compatibility Pack and how can you use it to port existing .NET Framework code to .NET.
Read more >
Create a .NET Core application with plugins
Author plugins that can be easily deployed by just copying the build artifacts. Prerequisites. Install the .NET 5 SDK or a newer version....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found