maui-linux/.nuspec
Jonathan Peppers ea56c4a1b0
[build] don't use intermediate @(_MauiCompileToAdd) (#4034)
Fixes: https://dev.azure.com/devdiv/DevDiv/_workitems/edit/1413769
Fixes: https://github.com/dotnet/maui/issues/3967

Adding a new class to `Platforms\Android` results in:

    <ItemGroup>
      <_MauiCompileToAdd Remove="Platforms\Android\AnotherAndroid.cs" />
    </ItemGroup>
    <ItemGroup>
      <None Include="Platforms\Android\AnotherAndroid.cs" />
    </ItemGroup>

That's weird!

There might be an IDE / ProjectSystem here, but I think we should
change the MSBuild includes to workaround this problem.

Reviewing the existing `.targets`:

1. We don't need to add `.cs` files to `@(None)`? It doesn't not
   appear that `dotnet new console` adds `.cs` files to `@(None)`.

2. We can completely get rid of `@(_MauiCompileToAdd)` and just add
   files to `@(Compile)` directly.

After these changes, a `dotnet new maui` app still works. And when I
add new `.cs` files in a `Platforms\*\` folder, the `.csproj` file
remains unchanged. Yay!
2022-01-11 00:39:22 +00:00
..
Microsoft.Maui.Controls.Compatibility.AppLinks.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.GTK.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.Maps.GTK.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.Maps.WPF.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.Maps.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.Visual.Material.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.Visual.Material.targets Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Compatibility.WPF.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.Debug.targets [XamlC] Disable XamlC on non-Release builds (#1087) 2021-05-26 20:14:20 -04:00
Microsoft.Maui.Controls.DefaultItems.props .NET MAUI is now a "workload" (#603) 2021-06-16 17:59:53 +01:00
Microsoft.Maui.Controls.DefaultItems.targets Source Generator for XamlG and CssG (#1006) 2021-05-26 09:47:25 -04:00
Microsoft.Maui.Controls.DualScreen.nuspec Rename all of the things... All of them. (#13847) 2021-02-24 23:50:31 +00:00
Microsoft.Maui.Controls.MultiTargeting.targets Fix VS Stable (#3065) 2021-10-21 15:55:42 -05:00
Microsoft.Maui.Controls.SingleProject.props Changes to make net6 device tests run (#1453) 2021-06-25 19:55:28 -04:00
Microsoft.Maui.Controls.SingleProject.targets [build] don't use intermediate @(_MauiCompileToAdd) (#4034) 2022-01-11 00:39:22 +00:00
Microsoft.Maui.Controls.props [workload] create $(MauiVersion) property (#2282) 2021-09-15 16:59:29 +02:00
Microsoft.Maui.Controls.targets [workload] move SingleProject.targets to Microsoft.Maui.Sdk (#3281) 2021-11-09 18:14:04 +02:00
Microsoft.Maui.Core.props Remove invalid XAML files based on OutputType (#593) 2021-03-25 21:57:01 -05:00
Microsoft.Maui.Core.targets Merge the maui project templates (#2142) 2021-08-19 05:37:07 +02:00
Microsoft.Maui.Resizetizer.targets Multi Window Support (#2811) 2021-11-02 09:57:26 -04:00
Microsoft.Maui.TestUtils.DeviceTests.Runners.targets Add .NET 6 Device Test Runner & Migrate Tests to .NET 6 (#1359) 2021-08-06 18:45:26 +02:00
_._ [iOS] Move Material iOS components to a separate nuget (#5026) 2019-01-28 16:53:22 -07:00
proguard.cfg Add equivalent androidx proguard rules (#10138) 2020-03-30 17:16:33 -07:00