Граф коммитов

119 Коммитов

Автор SHA1 Сообщение Дата
digitaldirk 8b8954b053
Update readme to include latest release blogpost (#7831)
Added the blogpost: "Introducing .NET MAUI – One Codebase, Many Platforms" (https://devblogs.microsoft.com/dotnet/introducing-dotnet-maui-one-codebase-many-platforms/) to the readme under "Current News".

If this would be better for an official team member to do, please go ahead : ). I just noticed that the readme was slightly out of date and wanted to fix/bring attention to it.

Thank you
2022-06-08 10:06:06 -06:00
Lutz Roeder c7a04d78b8
Update README.md (#7178) 2022-05-13 14:00:38 -07:00
Lutz Roeder 2db539e02c
Update README.md (#7098) 2022-05-12 17:13:27 +00:00
David Ortinau dae08ce5a8
Update README.md 2022-04-27 18:52:11 -05:00
David Ortinau b0a3082174
Update README.md 2022-04-27 18:51:09 -05:00
David Ortinau a6053a9680
Update README.md 2022-04-12 12:47:44 -05:00
Gerald Versluis 835a60da70
Update README.md (#5609) 2022-03-28 14:53:43 +01:00
David Ortinau 4ba9d66220
Update README.md 2022-02-16 08:43:30 -06:00
David Ortinau 7e859fff33
preview 13 blog link 2022-02-16 08:42:19 -06:00
David Ortinau e2e91ae257
Update README.md 2022-01-19 18:02:08 -06:00
David Ortinau c631ccad2d
Update README.md 2022-01-05 14:20:47 -06:00
David Ortinau 2f0d263777
added pre11 release notes 2021-12-20 10:05:39 -06:00
Mathias Storm a4315dfe71
Add latest preview announcement post "Current News" (#3365) 2021-11-12 12:19:05 +00:00
Jonathan Dick 8c68a6da77
Update README.md 2021-11-10 17:48:32 -05:00
James Clancey 9726e822a3
Added Repo statistics to the readme (#3328) 2021-11-10 23:34:07 +02:00
David Ortinau f2b84d5ae4
Update README.md 2021-10-12 13:40:47 -05:00
Lutz Roeder f6fa9e8c9b
Rename Development Guide (#2822) 2021-10-04 15:44:31 -04:00
Yunus Efendi f1861e20bf
Add spacing for shields in README.md (#2718) 2021-09-28 11:25:13 +02:00
Lutz Roeder b46bddb1d4
Update README.md (#2700) 2021-09-27 10:03:47 +01:00
Lutz Roeder 49bf3c0416
Move DEVELOPMENT.md to .github folder (#2671) 2021-09-23 12:25:35 -07:00
Lutz Roeder 78e6d4464d
Add News wiki page (#2652) 2021-09-23 11:47:39 -04:00
David Ortinau 54fddea6fe
Update README.md 2021-09-14 13:29:16 -05:00
Jerry Wiltse bde5635ca1
README - add news - preview 7 with blog link (#2149) 2021-08-18 21:26:33 +02:00
James Montemagno a1184cae4d
Update README.md (#2071) 2021-08-12 17:22:07 -04:00
Lutz Roeder 7be4a0aa1f
Update getting started documentation link (#2050) 2021-08-12 22:39:43 +02:00
Lutz Roeder 5ea3a04b71
Add README.md screenshots (#1860) 2021-08-02 13:51:18 -05:00
David Ortinau 11ef505e43
Update README.md
added preview 6
2021-07-14 11:34:23 -05:00
Lutz Roeder a3ce6b5a34
Move build steps to Development wiki (#1444) 2021-06-24 17:17:52 -07:00
Shane Neuville 9ef9bdb259
Create README.md (#1439) 2021-06-24 13:08:44 +02:00
Lutz Roeder cf3aa78123
Add Getting Started to README.md (#1411) 2021-06-22 13:13:39 -05:00
David Ortinau 194e3c4bf3
Update README.md 2021-06-17 14:45:40 -05:00
David Ortinau 53aaf2a34a
Update README.md 2021-06-17 14:44:15 -05:00
Eilon Lipton 7cc470bc66
Add new solutions for Blazor Desktop work (#1251)
- Also updated readme to point to Blazor Desktop wiki topic
2021-06-10 22:52:04 -04:00
Shane Neuville 2e71365a75
Fix building of csproj samples directly (#1168)
* Fix building of csproj samples directly

* - continue to build sln

* - catalyst
2021-06-03 22:37:06 -05:00
David Ortinau 5a9b5c2072
Update README.md 2021-05-25 21:13:55 -05:00
Shane Neuville 4f9fada370
Move ps1 files into cake targets (#926)
* Move build scripts from powershell to cake

* - fix yaml

* change BUILD_CONFIGURATION to configuration

* - IsDependentOn not needed for powershell scripts

* - fix up build settings

* - fix android target

* Update dotnet.cake

* - simplify android

* - add dogfood target

* - fix winui build and add winui stage

* - remove depends on

* - maybe?

* - remove gallery for now
2021-05-04 22:05:54 +01:00
Marco Goertz 4f8ee0f060
Bring back XAML2006/2009 XmlnsDefinition attributes (#878)
* Fix yaml triggers

* Run pr's for release branches

* Automated dotnet-format update (#839)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* [Housekeeping] Add provisionating xcode to net6 (#836)

* Add provisionating xcode to net6

* Fix essentials device tests

* try again

* Update dependencies from https://github.com/xamarin/xamarin-android build main-a2156d41275b92de3cf23f7c79801327c74b7fe0-1 (#846)

Microsoft.Android.Sdk.Windows
 From Version 11.0.200-ci.main.226 -> To Version 11.0.200-ci.main.234

Dependency coherency updates

Microsoft.Dotnet.Sdk.Internal
 From Version 6.0.100-preview.4.21215.1 -> To Version 6.0.100-preview.4.21221.10 (parent: Microsoft.Android.Sdk.Windows

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>

* WinUI Navigation Handler (#801)

* WinUI Navigation Handler

* - PR comments

* - consolidate a few more APIs

* - fix namespaces

* - fix namespaces

* Update src/Compatibility/Core/src/WinUI/FlyoutPageRenderer.cs

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>

Co-authored-by: Matthew Leibowitz <mattleibow@live.com>

* Improve Hot Reload Integration (#851)

* Fixes HotReload (#853)

Reverts changed from: 7d4d1ce4b7 (diff-2b4bb95e12307423f7126d91b43a1511b68d00535e9f2b5f535af85d7a388333R36)

* Android Push/Pop Navigation (#837)

* Android Navigation

* - fix layout

* - changes

* - yay pushing

* - wire up nav to use bundle ids

* - cleanup

* - setup pop

* - build up nav stack

* - remove nav push

* - remove graph xml

* Update global.json

* - add android to non net6 controls project

* - fix namespace

* Update Microsoft.Maui-net6.sln

* iOS NavigationPageHandler (#852)

* iOS Navigation

* - wire up iOS Navigation

* - remove VET

* - rework with HR

* - fix namespace

* - fix HR

* - fix hr

* - fix SO exception

* - maybe?

* - nullabel fix

* Update dependencies from https://github.com/xamarin/xamarin-macios build 20210426.5 (#847)

Microsoft.MacCatalyst.Sdk , Microsoft.iOS.Sdk
 From Version 14.5.100-ci.main.620 -> To Version 14.5.100-ci.main.658

Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Rui Marinho <me@ruimarinho.net>

* Automated dotnet-format update (#854)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Implement PickerHandler in WinUI (#779)

* Implement PickerHandler in WinUI

* Enab le nullable in some classes

* Fix build error

* Register MauiComboBox ResourceDictionary

* Updated PickerExtensions

* Updated MauiComboBox

Co-authored-by: Rachel Kang <rachelkang@microsoft.com>

* [Build] Update maestro with macOS and tvOS (#862)

* [Build] Update maestro with macOS and tvOS

* [Build] Add tvOS and macOS to workload/dogfood

* Add Microsoft.iOS.Windows.Sdk

Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>

* Update README.md (#865)

* ContainerViewControllers should use the correct background color. (#868)

Also set the title of the VC from a page

* Automated dotnet-format update (#872)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Bring back XAML2006/2009 XmlnsDefinition attributes

These are required so that things like x:Static can be resolved to Microsoft.Maui.Controls.Xaml.StaticExtension.

Co-authored-by: Rui Marinho <me@ruimarinho.net>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Shane Neuville <shneuvil@microsoft.com>
Co-authored-by: Matthew Leibowitz <mattleibow@live.com>
Co-authored-by: James Clancey <james.clancey@gmail.com>
Co-authored-by: Javier Suárez <javiersuarezruiz@hotmail.com>
Co-authored-by: Rachel Kang <rachelkang@microsoft.com>
Co-authored-by: Jonathan Peppers <jonathan.peppers@microsoft.com>
Co-authored-by: 1d0n7kn0w <3910210+1d0n7kn0w@users.noreply.github.com>
Co-authored-by: Jonathan Dick <jodick@microsoft.com>
2021-04-28 15:29:13 -04:00
David Ortinau 2a3c399720
refreshed news and links 2021-04-23 08:15:47 -05:00
David Ortinau 2abbaf92de
trimming readme
Moving information to the Wiki
2021-04-23 08:06:03 -05:00
Jonathan Peppers fdffcafb86
[singleproject] add a new @(MauiAsset) item group (#735)
For Maui's "single project" concept, we need a new item group for raw
files:

    <MauiAsset Include="Raw\index.html" />

This would do the following for each platform:

* Android - add an `@(AndroidAsset)` to the `.apk`
* iOS/MacCatalyst - add a `@(Content)` to the `.app`/`.ipa`
* WinUI - add a `@(Content)` to the `Assets/` folder

To test this, I added an `index.html` file to
`Maui.Controls.Sample.SingleProject.csproj` and used it via:

    <WebView Source="index.html" />

The only issue is on Android we need to load
`file:///android_asset/index.html`. I modified the Android
`WebViewRenderer` to do:

    if (!url.StartsWith('/') && !Uri.IsWellFormedUriString(url, UriKind.Absolute))
    {
        url = AssetBaseUrl + url;
    }

So for the following examples:

* `index.html` -> `file:///android_asset/index.html`
* `./index.html` -> `file:///android_asset/./index.html`
* `https://google.com` -> no change
* `/some/full/path/on/disk/index.html` -> no change, this is why we
  need the explicit `/` check.

I think this is improved `WebView` behavior, in general.

Down the road, we could make a helper API that can either return a
`System.Uri` or a `System.IO.Stream` in C# for all platforms.

Other changes:

* Updated `README.md` files that described a workaround for
  `--no-restore` that is no longer needed.
* `Maui.Controls.Sample.SingleProject.csproj` now actually uses `.svg`
  files for its app icons.
* `Maui.Controls.Sample.SingleProject.csproj` uses `.xaml` now.

Co-authored-by: Jonathan Dick <jondick@gmail.com>
2021-04-15 09:03:50 -04:00
David Ortinau a7e00c05a8
Update README.md 2021-04-09 14:35:08 -05:00
Samir GC 06b1276da2
Typo on ReadMe (#626)
Co-authored-by: samir gc <samir@irodeck48gmail.onmicrosoft.com>
2021-03-31 14:44:19 +01:00
hydrogen-software-ff 297d8b3925
Fixed "single project" commands (#624)
Added missing hyphen to the 't' option
2021-03-31 10:52:14 +01:00
Jonathan Peppers bb20b25e35
[build] bootstrap a local .\bin\dotnet\ with .NET Workloads (#514)
Based on: https://github.com/jonathanpeppers/maui-workload

This adds a new `DotNet.csproj` that provisions a local .NET 6 install
into `.\bin\dotnet\`.

Next, it uses versions defined in `eng/Versions.props` as required by
.NET version bumping infrastructure (called Darc):

    <Project>
      <PropertyGroup>
        <MicrosoftNETSdkPackageVersion>6.0.100-preview.2.21155.3</MicrosoftNETSdkPackageVersion>
        <MicrosoftAndroidSdkPackageVersion>11.0.200-ci.main.148</MicrosoftAndroidSdkPackageVersion>
        <MicrosoftMacCatalystSdkPackageVersion>14.3.100-ci.main.337</MicrosoftMacCatalystSdkPackageVersion>
        <MicrosoftiOSSdkPackageVersion>14.4.100-ci.main.1192</MicrosoftiOSSdkPackageVersion>
      </PropertyGroup>
    </Project>

Next, we can use these versions to consume NuGet packages for workloads:

    <PackageDownload Include="Microsoft.NET.Workload.Android"     Version="[$(MicrosoftAndroidSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.NET.Workload.MacCatalyst" Version="[$(MicrosoftMacCatalystSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.NET.Workload.iOS"         Version="[$(MicrosoftiOSSdkPackageVersion)]" />

Then the other packs they depend on:

    <PackageDownload Include="Microsoft.Android.Ref"            Version="[$(MicrosoftAndroidSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.Android.Sdk.win-x64"    Version="[$(MicrosoftAndroidSdkPackageVersion)]" Condition="$([MSBuild]::IsOSPlatform('windows'))" />
    <PackageDownload Include="Microsoft.Android.Sdk.osx-x64"    Version="[$(MicrosoftAndroidSdkPackageVersion)]" Condition="$([MSBuild]::IsOSPlatform('osx'))" />
    <PackageDownload Include="Microsoft.Android.Sdk.BundleTool" Version="[$(MicrosoftAndroidSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.MacCatalyst.Ref"        Version="[$(MicrosoftMacCatalystSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.MacCatalyst.Sdk"        Version="[$(MicrosoftMacCatalystSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.iOS.Ref"                Version="[$(MicrosoftiOSSdkPackageVersion)]" />
    <PackageDownload Include="Microsoft.iOS.Sdk"                Version="[$(MicrosoftiOSSdkPackageVersion)]" />

After doing this, I can build .NET 6 projects with:

    > .\bin\dotnet\dotnet.exe build .\src\Controls\samples\Controls.Sample.SingleProject\Maui.Controls.Sample.SingleProject.csproj

I can even build MacCatalyst apps on Windows!

I updated `build.cake` so the following builds for .NET 6 and opens
Visual Studio:

    > dotnet cake --target=VS-NET6

This is the equivalent of these commands if you want to run them
individually:

    dotnet build src\DotNet\DotNet.csproj
    .\bin\dotnet\dotnet build Microsoft.Maui.BuildTasks-net6.sln
    .\bin\dotnet\dotnet build Microsoft.Maui-net6.sln
    .\eng\dogfood.ps1

~~ Other Changes ~~

* Rework CI setup to use .\bin\dotnet\dotnet
* We don't need boots or URLs anymore
* Fixed `MSBuildTests` to use .\bin\dotnet\dotnet if found and fall
  back to the system `dotnet`
* Moved `.nuspec\package.ps1` to `eng\package.ps1`

~~ What problems does this solve? ~~

* MacCatalyst builds on Windows! (offline build that checks C#)
* Building Maui always gets you the right things installed.
* Maui becoming a .NET workload will be a breeze. We can copy files
  into `.\bin\dotnet\sdk-manifests` and `.\bin\dotnet\packs`.
* We can use Darc to bump dependencies within .NET:

https://github.com/dotnet/arcade/blob/main/Documentation/Darc.md
2021-03-22 10:16:06 +00:00
Youssef Victor 24485eba55
Fix link that doesn't work locally (#506)
* Create markdown-links-verifier.yml

* Update README.md

* Address feedback
2021-03-17 18:33:54 +00:00
David Ortinau a66b012a1c
Update README.md 2021-03-11 13:13:59 -06:00
Rui Marinho 8fcb50a6c1
Add build status to readme 2021-03-11 18:29:07 +00:00
Brian Runck 104ff4cd3a
Fix command line paths in README.md (#449) 2021-03-08 03:49:57 +02:00
David Ortinau b77cb72798
Update README.md 2021-03-05 14:59:14 -06:00
Patrick Hartman 3d1d087878
Fix Contributing and Code of Conduct links in README.md (#264) 2021-03-03 19:27:58 +00:00