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

Package Uno.Wasm.Bootstrap.Cli is not compatible with netcoreapp2.2 #186

Closed
jeromelaban opened this issue Mar 30, 2020 · 0 comments · Fixed by #188
Closed

Package Uno.Wasm.Bootstrap.Cli is not compatible with netcoreapp2.2 #186

jeromelaban opened this issue Mar 30, 2020 · 0 comments · Fixed by #188

Comments

@jeromelaban
Copy link
Member

When building with the 1.1 branch of the bootstrapper, the following error may appear:

Package Uno.Wasm.Bootstrap.Cli 1.1.0-dev.445 is not compatible with netcoreapp2.2

This is caused by the fact that Uno.Wasm.Bootstrap projects use the netstandard2.0 target framework, which implies that DotnetCliToolTargetFramework defaults to netcoreapp2.2.

The bootstrapper now requires .NET Core 3.1 to support the debugger, but there is no implicit way for specifying a default DotnetCliToolTargetFramework to be used during a clean nuget restore.

Workaround

In the csproj, add the following property:

<DotnetCliToolTargetFramework>netcoreapp3.1</DotnetCliToolTargetFramework>
jeromelaban added a commit that referenced this issue Mar 31, 2020
BREAKING CHANGE: The Uno.Wasm.Bootstrap.DevServer is now deprecated and needs to be replaced with the Uno.Wasm.Bootstrap.DevServer.

This change fixes #186, as there is no dotnet-tool to run anymore.
jeromelaban added a commit that referenced this issue Mar 31, 2020
BREAKING CHANGE: The Uno.Wasm.Bootstrap.Cli is now deprecated and needs to be replaced with the Uno.Wasm.Bootstrap.DevServer.

This change fixes #186, as there is no dotnet-tool to run anymore.
jeromelaban added a commit that referenced this issue Mar 31, 2020
BREAKING CHANGE: The Uno.Wasm.Bootstrap.Cli is now deprecated and needs to be replaced with the Uno.Wasm.Bootstrap.DevServer.

This change fixes #186, as there is no dotnet-tool to run anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant