skip to Main Content

Visual Studio Code – error CS0234: The type or namespace name 'Devices' does not exist in the namespace 'Microsoft.VisualBasic' (are you missing an assembly reference?)

I am trying to go through this tutorial for on making sounds with waves using C#: https://www.codeguru.com/dotnet/making-sounds-with-waves-using-c/ The first sample code it has you run is this, which is supposed to play a .wav file: using Microsoft.VisualBasic; using Microsoft.VisualBasic.Devices; namespace…

VIEW QUESTION

Visual Studio Code – .NET MAUI How to make a proper Gridlayout in Collectionview with Header?

I'm trying to build a table in .NET MAUI based on a Grid Layout. This is the code: <CollectionView ItemsSource="{Binding digitalInputs}"> <CollectionView.Header> <Grid ColumnDefinitions="*,*,*,*"> <Label Text="Name" Grid.Column="0"/> <Label Text="Typ" Grid.Column="1"/> <Label Text="Status" Grid.Column="2"/> <Label Text="Aktiv" Grid.Column="3"/> </Grid> </CollectionView.Header> <CollectionView.ItemTemplate> <DataTemplate…

VIEW QUESTION
Back To Top
Search