Skip to content

Commit

Permalink
docs: add vscode error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot authored and jeromelaban committed Apr 3, 2024
1 parent 1313535 commit e045c14
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/articles/uno-build-error-codes.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,18 @@ A member is not implemented, see [this page](xref:Uno.Development.NotImplemented
On iOS and Catalyst, calling `Dispose()` or `Dispose(bool)` on a type inheriting directly from `UIKit.UIView` can lead to unstable results. It is not needed to call `Dispose` as the runtime will do so automatically during garbage collection.

Invocations to `Dispose` can cause the application to crash in `__NSObject_Disposer drain`, cause `ObjectDisposedException` exception to be thrown. More information can be found in [xamarin/xamarin-macios#19493](https://github.com/xamarin/xamarin-macios/issues/19493).

## VS Code Errors

### UVSC0001

Building for the specified target framework is not supported on the current platform or architecture. For examples:

- a Mac computer is required to build iOS, Mac Catalyst and macOS applications
- a Windows computer is required to build WinUI applications

### UVSC0002

Building WinUI application requires the use of `msbuild` and the extension must be able to find it. This is done by using the `vswhere` utility.

Installing the latest stable Visual Studio release should provide both tools.

0 comments on commit e045c14

Please sign in to comment.