Skip to content

Commit 526138d

Browse files
UWP Required Build Changes
1 parent 1fe5802 commit 526138d

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

Microsoft.Toolkit.Graph.Controls/Microsoft.Toolkit.Graph.Controls.csproj

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,16 @@
1313
- PeoplePicker: The PeoplePicker Control is a simple control that allows for selection of one or more users.
1414
</Description>
1515
<PackageTags>UWP Toolkit Windows Controls MSAL Microsoft Graph AadLogin ProfileCard Person PeoplePicker Login</PackageTags>
16+
<SignAssembly>false</SignAssembly>
1617

1718
</PropertyGroup>
1819

1920
<ItemGroup>
20-
<Content Include="Assets\folder.svg" />
21-
<Content Include="Assets\genericfile.png" />
2221
<Content Include="Assets\person.png" />
23-
<Content Include="Assets\photo.png" />
2422
</ItemGroup>
2523

2624
<ItemGroup>
27-
<PackageReference Include="Microsoft.Toolkit.Uwp.UI" Version="5.1.1" />
25+
<PackageReference Include="Microsoft.Toolkit.Uwp.UI" Version="6.0.0-build.14" />
2826
<ProjectReference Include="..\Microsoft.Toolkit.Graph\Microsoft.Toolkit.Graph.csproj" />
2927
</ItemGroup>
3028

@@ -43,8 +41,9 @@
4341
</Page>
4442
</ItemGroup>
4543

44+
<Import Project="$(MSBuildSDKExtrasTargets)" Condition="Exists('$(MSBuildSDKExtrasTargets)')" />
4645
<!-- https://weblogs.asp.net/rweigelt/disable-warnings-in-generated-c-files-of-uwp-app -->
47-
<Target Name="PragmaWarningDisablePrefixer" AfterTargets="MarkupCompilePass2" Condition="'$(TargetFramework)' == 'uap10.0' or '$(TargetFramework)' == 'uap10.0.16299'">
46+
<Target Name="PragmaWarningDisablePrefixer" AfterTargets="MarkupCompilePass2">
4847
<ItemGroup>
4948
<GeneratedCSFiles Include="**\*.g.cs;**\*.g.i.cs" />
5049
</ItemGroup>

Microsoft.Toolkit.Graph/Microsoft.Toolkit.Graph.csproj

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
<Project Sdk="MSBuild.Sdk.Extras">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
5-
<Title>Windows Community Toolkit .NET Standard Graph Helpers</Title>
6-
<PackageId>Microsoft.Toolkit.Graph</PackageId>
4+
<TargetFrameworks>uap10.0.16299;netstandard2.0</TargetFrameworks>
5+
<Title>Windows Community Toolkit .NET Standard Services</Title>
76
<Description>
87
This package includes .NET Standard code helpers such as:
98
- GraphExtensions: Helpers for common tasks related to the Microsoft Graph used by the Microsoft.Toolkit.Graph.Controls.
@@ -14,7 +13,11 @@
1413
<!-- This is a temporary workaround for https://github.com/dotnet/sdk/issues/955 -->
1514
<DebugType>Full</DebugType>
1615
</PropertyGroup>
17-
16+
17+
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0.16299'">
18+
<DefineConstants Condition="'$(DisableImplicitFrameworkDefines)' != 'true'">$(DefineConstants);WINRT</DefineConstants>
19+
</PropertyGroup>
20+
1821
<ItemGroup>
1922
<PackageReference Include="Microsoft.Graph" Version="1.17.0" />
2023
<PackageReference Include="Microsoft.Graph.Auth" Version="1.0.0-preview.1" />

Windows-Toolkit-Graph-Controls.sln

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -121,20 +121,10 @@ Global
121121
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Debug|x86.Build.0 = Debug|x86
122122
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Debug|x86.Deploy.0 = Debug|x86
123123
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|Any CPU.ActiveCfg = Release|x64
124-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|Any CPU.Build.0 = Release|x64
125-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|Any CPU.Deploy.0 = Release|x64
126124
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|ARM.ActiveCfg = Release|ARM
127-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|ARM.Build.0 = Release|ARM
128-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|ARM.Deploy.0 = Release|ARM
129125
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|ARM64.ActiveCfg = Release|ARM64
130-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|ARM64.Build.0 = Release|ARM64
131-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|ARM64.Deploy.0 = Release|ARM64
132126
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|x64.ActiveCfg = Release|x64
133-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|x64.Build.0 = Release|x64
134-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|x64.Deploy.0 = Release|x64
135127
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|x86.ActiveCfg = Release|x86
136-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|x86.Build.0 = Release|x86
137-
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Native|x86.Deploy.0 = Release|x86
138128
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Release|Any CPU.ActiveCfg = Release|x86
139129
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Release|ARM.ActiveCfg = Release|ARM
140130
{26F5807A-25B5-4E09-8C72-1749C4C59591}.Release|ARM.Build.0 = Release|ARM

0 commit comments

Comments
 (0)