Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build UWP with Uno Platform 3.3 #4573

Closed
3 of 24 tasks
stefanolson opened this issue Nov 19, 2020 · 7 comments
Closed
3 of 24 tasks

Can't build UWP with Uno Platform 3.3 #4573

stefanolson opened this issue Nov 19, 2020 · 7 comments
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification

Comments

@stefanolson
Copy link

Current behavior

Can't build UWP with Uno 3.3. After updating to the 3.3 templates and creating a new project and asked that I want to install a whole heap of things to visual studio which I did. At some point after that it's no longer building the UWP target in visual studio

Expected behavior

Should build

How to reproduce it (as minimally and precisely as possible)

Create a new project. Build. Error:
".nuget\packages\microsoft.net.uwpcoreruntimesdk\2.2.9\tools\CoreRuntime\Microsoft.Net.CoreRuntime.targets(136,5): error MSB3774: Could not find SDK "Microsoft.VCLibs, Version=14.0"."

Workaround

None. Attempted to repair visual studio as suggested here: microsoft/microsoft-ui-xaml#3620 (comment). But no different :-(

Environment

Nuget Package:

  • Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia
  • Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia
  • Uno.SourceGenerationTasks
  • Uno.UI.RemoteControl / Uno.WinUI.RemoteControl
  • Other:

Nuget Package Version(s):

Affected platform(s):

  • iOS
  • Android
  • WebAssembly
  • WebAssembly renderers for Xamarin.Forms
  • macOS
  • Skia
    • WPF
    • GTK (Linux)
    • Tizen
  • Windows
  • Build tasks
  • Solution Templates

IDE:

  • Visual Studio 2017 (version: )
  • Visual Studio 2019 (version: 16.8.2 )
  • Visual Studio for Mac (version: )
  • Rider Windows (version: )
  • Rider macOS (version: )
  • Visual Studio Code (version: )

Relevant plugins:

  • Resharper (version: )

Anything else we need to know?

@stefanolson stefanolson added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Nov 19, 2020
@jeromelaban
Copy link
Member

Thanks for the report.

How are your creating the templates ? Through the vsix or the dotnet new experience ?

@jeromelaban jeromelaban added the triage/needs-information Indicates an issue needs more information in order to work on it. label Nov 20, 2020
@stefanolson
Copy link
Author

vsix in Visual Studio create new project

@no-response no-response bot removed the triage/needs-information Indicates an issue needs more information in order to work on it. label Nov 20, 2020
@jeromelaban
Copy link
Member

Does building a standard UWP project work? If so, could you provide the binlog as well ?

@jeromelaban jeromelaban added the triage/needs-information Indicates an issue needs more information in order to work on it. label Nov 20, 2020
@stefanolson
Copy link
Author

stefanolson commented Nov 20, 2020

Just tried. Sadly building UWP is completely broken :-( Not even a brand-new app will build. Wonder whether this was to do with installing visual studio 16.9 preview. I did manage to run a Uno 3.3 UWP app yesterday.

@no-response no-response bot removed the triage/needs-information Indicates an issue needs more information in order to work on it. label Nov 20, 2020
@stefanolson
Copy link
Author

I've enclosed the log for a just a plain UWP app (to avoid all the other Uno projects confusing things). But does look like another visual studio rather than Uno issue :-(
msbuild.zip

@jeromelaban
Copy link
Member

Yes indeed, if an UWP app does not build, there's not much Uno can do... That being said, this library is part of the WinUI 3.0 Preview 3, if I'm not mistaken. Have you installed it (or not) ?

@stefanolson
Copy link
Author

I think I installed an older version of the Win Ui Preview. I'll try and update to preview 3 in case it helps. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification
Projects
None yet
Development

No branches or pull requests

2 participants