[WASM] Can I build wasm on .Net Core 3.1 target ?? #8888
-
Hello, I'm beginner C# developer. I already have Silverlight project but want to migrate it UWP & web service by using Uno platform. I bumped into error like this. System.InvalidOperationException: The TargetFramework version must be above 5.0 (found v3.1) So, I'm thinking it is because Uno.Wasm.Bootstrap(3.3.1) version. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Why do you need to compile on netcoreapp3.1? For wasm, the lowest target supported is net5.0 in all cases, so you won't be able to target lower than this. |
Beta Was this translation helpful? Give feedback.
-
Hello :) May I ask one more question after the above question? After referencing my framework, the following error message appears CS0234 'Microsoft.AspNetCore.Mvc.ApplicationParts' 네임스페이스에 'ApplicationPartAttributeAttribute' 형식 또는 네임스페이스 이름이 없습니다. 어셈블리 참조가 있는지 확인하세요. As you know CS0234 error means 'The type or namespace name 'name' does not exist in the namespace 'namespace' (are you missing an assembly reference?)' |
Beta Was this translation helpful? Give feedback.
Why do you need to compile on netcoreapp3.1? For wasm, the lowest target supported is net5.0 in all cases, so you won't be able to target lower than this.