Skip to content

Commit

Permalink
housekeeping: Update MsBuild.Sdk.Extras to 2.0.43 (reactiveui#2167)
Browse files Browse the repository at this point in the history
* Update global.json

* Attempt fix

* Further fix

* One more attempt

* further work

* Remove hacky thing
  • Loading branch information
glennawatson authored and RLittlesII committed Sep 17, 2019
1 parent a342f88 commit e6b043c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 37 deletions.
1 change: 1 addition & 0 deletions src/Directory.build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

<PropertyGroup>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AndroidUseIntermediateDesignerFile>False</AndroidUseIntermediateDesignerFile>
</PropertyGroup>

<PropertyGroup Condition="$(TargetFramework.StartsWith('netstandard'))">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<ItemGroup>
<PackageReference Include="Xamarin.Android.Support.Animated.Vector.Drawable" Version="27.0.*" />
<PackageReference Include="Xamarin.Android.Support.v4" Version="27.0.*" />
Expand Down
12 changes: 6 additions & 6 deletions src/ReactiveUI.Events/ReactiveUI.Events.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
<NoWarn>$(NoWarn);CS1570;CA1812</NoWarn>
</PropertyGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<ItemGroup>
<Compile Remove="*.cs" />
<None Include="*.cs" />
Expand All @@ -23,6 +17,12 @@
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('uap')) ">
<SDKReference Include="WindowsDesktop, Version=10.0.16299.0">
<Name>Windows Desktop Extensions for the UWP</Name>
</SDKReference>
<SDKReference Include="WindowsMobile, Version=10.0.16299.0">
<Name>Windows Mobile Extensions for the UWP</Name>
</SDKReference>
<Compile Include="Events_uwp.cs" Condition="Exists('Events_uwp.cs')" />
</ItemGroup>

Expand Down
6 changes: 0 additions & 6 deletions src/ReactiveUI.Fody.Helpers/ReactiveUI.Fody.Helpers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<ItemGroup>
<PackageReference Include="Fody" Version="6.0.0" PrivateAssets="None" />
<PackageReference Include="FodyPackaging" Version="6.0.0" PrivateAssets="All" />
Expand Down
6 changes: 0 additions & 6 deletions src/ReactiveUI.Testing/ReactiveUI.Testing.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<ItemGroup>
<PackageReference Include="Microsoft.Reactive.Testing" Version="4.1.6" />
<ProjectReference Include="..\ReactiveUI\ReactiveUI.csproj" />
Expand Down
6 changes: 0 additions & 6 deletions src/ReactiveUI.Uno/ReactiveUI.Uno.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
<DefineConstants>HAS_UNO;WASM</DefineConstants>
</PropertyGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<ItemGroup Condition=" !$(TargetFramework.StartsWith('uap')) ">
<PackageReference Include="Uno.UI" Version="1.*" />
</ItemGroup>
Expand Down
6 changes: 0 additions & 6 deletions src/ReactiveUI/ReactiveUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@
<LangVersion>latest</LangVersion>
</PropertyGroup>

<Target Name="_RemoveNonExistingResgenFile" BeforeTargets="CoreCompile" Condition="'$(_SdkSetAndroidResgenFile)' == 'true' And '$(AndroidResgenFile)' != '' And !Exists('$(AndroidResgenFile)')">
<ItemGroup>
<Compile Remove="$(AndroidResgenFile)"/>
</ItemGroup>
</Target>

<ItemGroup>
<Compile Remove="Platforms\**\*.cs" />
<None Include="Platforms\**\*.cs" />
Expand Down
2 changes: 1 addition & 1 deletion src/global.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "3.0.100-preview"
},
"msbuild-sdks": {
"MSBuild.Sdk.Extras": "2.0.31"
"MSBuild.Sdk.Extras": "2.0.43"
}
}

0 comments on commit e6b043c

Please sign in to comment.