-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: uno winui csproj incorrectly configured (#2989)
* fix: uno winui csproj incorrectly configured * Update ReactiveUI.Uno.WinUI.csproj * Fix * Update ReactiveUI.Uno.WinUI.csproj * Add back msbuild sdk extras * Further fixes
- Loading branch information
1 parent
4ff7d6c
commit 0ac954a
Showing
4 changed files
with
48 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,44 @@ | ||
<Project> | ||
|
||
<Project Sdk="MSBuild.Sdk.Extras"> | ||
<PropertyGroup> | ||
<DefineConstants>$(DefineConstants);HAS_WINUI</DefineConstants> | ||
<TargetFrameworks>netstandard20;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;net6.0-android;net6.0-ios;net6.0-macos</TargetFrameworks> | ||
<PackageId>ReactiveUI.Uno.WinUI</PackageId> | ||
<PackageDescription>Contains the ReactiveUI platform specific extensions for Uno WinUI</PackageDescription> | ||
<DefineConstants>$(DefineConstants);HAS_UNO;HAS_WINUI</DefineConstants> | ||
<NoWarn>$(NoWarn);SA1648;CA1816;CA1001;CS0108;CS0114;CS3021;CS1574;CA1303</NoWarn> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>preview</LangVersion> | ||
<PackageTags>mvvm;reactiveui;rx;reactive extensions;observable;LINQ;events;frp;net;unoplatform;winui</PackageTags> | ||
</PropertyGroup> | ||
|
||
<Import Project="..\ReactiveUI.Uno\ReactiveUI.Uno.csproj" /> | ||
|
||
<PropertyGroup> | ||
<!-- Remove uap target --> | ||
<TargetFrameworks>netstandard20;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;net6.0-android;net6.0-ios;net6.0-macos</TargetFrameworks> | ||
<PropertyGroup Condition=" $(TargetFramework.StartsWith('netstandard')) "> | ||
<DefineConstants>$(DefineConstants);WASM</DefineConstants> | ||
</PropertyGroup> | ||
|
||
|
||
<ItemGroup> | ||
<EmbeddedResource Remove="Resources\**" /> | ||
<None Remove="Resources\**" /> | ||
<Compile Remove="Resources\**" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Uno.WinUI" Version="3.10.11" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard')) "> | ||
<PackageReference Include="Reactive.Wasm" Version="1.*" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Remove="Uno.UI" /> | ||
<PackageReference Include="Uno.WinUI" Version="3.9.7" /> | ||
<Compile Include="..\ReactiveUI.Uwp\TransitioningContentControl.Empty.cs" LinkBase="ReactiveUI.Uwp" /> | ||
<Compile Include="..\ReactiveUI.Uwp\DependencyObjectObservableForProperty.cs" LinkBase="ReactiveUI.Uwp" /> | ||
<Compile Include="..\ReactiveUI.Uwp\common\**\*.cs" LinkBase="common" /> | ||
<Compile Include="..\ReactiveUI.Uno\*.cs" LinkBase="ReactiveUI.Uno" /> | ||
|
||
<None Include="..\ReactiveUI.Uwp\ReactiveUI.rd.xml" PackagePath="lib\uap\ReactiveUI\Properties\ReactiveUI.rd.xml" Pack="true" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\ReactiveUI\ReactiveUI.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters