Skip to content

Commit 7add0c0

Browse files
authored
Update Visual Studio extension (#1367)
* Update PDB files * Update extension * Bump version
1 parent 3aa24d8 commit 7add0c0

11 files changed

Lines changed: 76 additions & 34 deletions

File tree

Directory.Build.props

Lines changed: 41 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<PropertyGroup>
9-
<Version>4.0.1</Version>
9+
<Version>4.0.2</Version>
1010
<AssemblyVersion>4.0.0</AssemblyVersion>
1111
</PropertyGroup>
1212

@@ -26,17 +26,21 @@
2626
<RepositoryType>git</RepositoryType>
2727
</PropertyGroup>
2828

29+
<ItemGroup>
30+
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
31+
</ItemGroup>
32+
2933
<PropertyGroup>
3034
<NuGetAudit>true</NuGetAudit>
3135
<NuGetAuditLevel>moderate</NuGetAuditLevel>
3236
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
3337
<CentralPackageTransitivePinningEnabled>false</CentralPackageTransitivePinningEnabled>
3438
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
39+
<_SilenceIsAotCompatibleUnsupportedWarning>true</_SilenceIsAotCompatibleUnsupportedWarning>
3540
</PropertyGroup>
3641

3742
<PropertyGroup>
3843
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
39-
<GenerateDocumentationFile>true</GenerateDocumentationFile>
4044
</PropertyGroup>
4145

4246
<PropertyGroup>
@@ -56,14 +60,44 @@
5660
<IsTestProject>$(MSBuildProjectName.Contains('Test'))</IsTestProject>
5761
<IsCoreProject Condition="$(IsTestProject)">False</IsCoreProject>
5862
<IsCoreProject Condition="'$(IsCoreProject)' == ''">True</IsCoreProject>
63+
<IsBelowNet8 Condition="'$(TargetFramework)' == 'netstandard2.0'
64+
Or '$(TargetFramework)' == 'netstandard2.1'
65+
Or '$(TargetFramework)' == 'net462'
66+
Or '$(TargetFramework)' == 'net472'
67+
Or '$(TargetFramework)' == 'net481'
68+
Or '$(TargetFramework)' == 'net5.0'
69+
Or '$(TargetFramework)' == 'net6.0'
70+
Or '$(TargetFramework)' == 'net7.0'">True</IsBelowNet8>
5971
</PropertyGroup>
6072

61-
<ItemGroup>
62-
<SourceRoot Include="$(MSBuildThisFileDirectory)/"/>
63-
</ItemGroup>
73+
<PropertyGroup>
74+
<IsPackable>true</IsPackable>
75+
<IsPublishable>true</IsPublishable>
76+
<ContinuousIntegrationBuild>$(TF_BUILD)</ContinuousIntegrationBuild>
77+
</PropertyGroup>
78+
79+
<PropertyGroup Condition="'$(IsBelowNet8)' == 'false'">
80+
<DefineConstants>$(DefineConstants);NET8_0_OR_GREATER</DefineConstants>
81+
</PropertyGroup>
82+
83+
<Choose>
84+
<When Condition="$(IsCoreProject)">
85+
<PropertyGroup>
86+
<PackageReadmeFile>README.md</PackageReadmeFile>
87+
<GenerateDocumentationFile>true</GenerateDocumentationFile>
88+
</PropertyGroup>
89+
</When>
90+
<Otherwise>
91+
<PropertyGroup>
92+
<IsPackable>false</IsPackable>
93+
<IsPublishable>false</IsPublishable>
94+
<NoWarn>$(NoWarn);CS8002;SA0001</NoWarn>
95+
</PropertyGroup>
96+
</Otherwise>
97+
</Choose>
6498

6599
<Choose>
66-
<When Condition="'$(SourceLinkEnabled)' != 'false'">
100+
<When Condition="'$(SourceLinkEnabled)' != 'false' and '$(VisualStudioTemplateProject)' != 'true'">
67101
<PropertyGroup>
68102
<!-- Declare that the Repository URL can be published to NuSpec -->
69103
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -78,4 +112,4 @@
78112
</When>
79113
</Choose>
80114

81-
</Project>
115+
</Project>

Directory.Build.targets

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<PropertyGroup Condition="'$(GeneratePackageOnBuild)' == 'true'">
1414
<GenerateLibraryLayout>true</GenerateLibraryLayout>
1515
<PackageReadmeFile>README.md</PackageReadmeFile>
16-
<DeterministicSourcePaths Condition="'$(EnableSourceLink)' == ''">false</DeterministicSourcePaths>
16+
<DeterministicSourcePaths Condition="'$(SourceLinkEnabled)' == 'true'">true</DeterministicSourcePaths>
1717
<IncludeSymbols>true</IncludeSymbols>
1818
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1919
<PublishRepositoryUrl>true</PublishRepositoryUrl>
@@ -37,7 +37,7 @@
3737
</Target>
3838

3939
<!-- Configure trimming for projects on .NET 6 and above -->
40-
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net8.0'">
40+
<PropertyGroup Condition="'$(TargetFramework)' == 'net6.0' OR '$(TargetFramework)' == 'net7.0' OR '$(TargetFramework)' == 'net8.0' OR '$(TargetFramework)' == 'net9.0' OR '$(TargetFramework)' == 'net10.0'">
4141
<IsTrimmable>true</IsTrimmable>
4242
<EnableTrimAnalyzer>true</EnableTrimAnalyzer>
4343
<EnableAotAnalyzer>true</EnableAotAnalyzer>

Wpf.Ui.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ Global
155155
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Debug|x86.ActiveCfg = Debug|x86
156156
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Release|Any CPU.ActiveCfg = Release|Any CPU
157157
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Release|arm64.ActiveCfg = Release|arm64
158+
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Release|arm64.Build.0 = Release|arm64
158159
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Release|x64.ActiveCfg = Release|x64
160+
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Release|x64.Build.0 = Release|x64
159161
{1298D974-9D81-4A93-9374-EA6A0E723DEB}.Release|x86.ActiveCfg = Release|x86
160162
{4059EB00-22B3-4EF9-A509-469CE8B0096D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
161163
{4059EB00-22B3-4EF9-A509-469CE8B0096D}.Debug|Any CPU.Build.0 = Debug|Any CPU
@@ -179,23 +181,29 @@ Global
179181
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Debug|x86.ActiveCfg = Debug|x86
180182
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Release|Any CPU.ActiveCfg = Release|Any CPU
181183
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Release|arm64.ActiveCfg = Release|arm64
184+
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Release|arm64.Build.0 = Release|arm64
182185
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Release|x64.ActiveCfg = Release|x64
186+
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Release|x64.Build.0 = Release|x64
183187
{14D7431C-6CFF-4191-BB88-2B8D5F323A30}.Release|x86.ActiveCfg = Release|x86
184188
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
185189
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Debug|arm64.ActiveCfg = Debug|arm64
186190
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Debug|x64.ActiveCfg = Debug|x64
187191
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Debug|x86.ActiveCfg = Debug|x86
188192
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Release|Any CPU.ActiveCfg = Release|Any CPU
189193
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Release|arm64.ActiveCfg = Release|arm64
194+
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Release|arm64.Build.0 = Release|arm64
190195
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Release|x64.ActiveCfg = Release|x64
196+
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Release|x64.Build.0 = Release|x64
191197
{AB3D44B5-9491-487E-A134-9AC5BED2B981}.Release|x86.ActiveCfg = Release|x86
192198
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
193199
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Debug|arm64.ActiveCfg = Debug|arm64
194200
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Debug|x64.ActiveCfg = Debug|x64
195201
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Debug|x86.ActiveCfg = Debug|x86
196202
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Release|Any CPU.ActiveCfg = Release|Any CPU
197203
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Release|arm64.ActiveCfg = Release|arm64
204+
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Release|arm64.Build.0 = Release|arm64
198205
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Release|x64.ActiveCfg = Release|x64
206+
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Release|x64.Build.0 = Release|x64
199207
{4D2706B5-27A9-4542-BD4D-8C22D12D0628}.Release|x86.ActiveCfg = Release|x86
200208
{3E84FE46-D3FD-4E8A-9208-95E315F16E1F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
201209
{3E84FE46-D3FD-4E8A-9208-95E315F16E1F}.Debug|Any CPU.Build.0 = Debug|Any CPU

src/Wpf.Ui.Extension.Template.Blank/Wpf.Ui.Blank.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="WPF-UI" Version="4.0.1" />
19-
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.0.1" />
18+
<PackageReference Include="WPF-UI" Version="4.0.2" />
19+
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.0.2" />
2020
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
2121
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0 "/>
2222
</ItemGroup>

src/Wpf.Ui.Extension.Template.Blank/Wpf.Ui.Extension.Template.Blank.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build"
3-
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
43
<PropertyGroup>
4+
<VisualStudioTemplateProject>true</VisualStudioTemplateProject>
55
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
66
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
77
<FileUpgradeFlags>
@@ -53,12 +53,12 @@
5353
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5454
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5555
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
56-
<ProjectGuid>{ab3d44b5-9491-487e-a134-9ac5bed2b981}</ProjectGuid>
56+
<ProjectGuid>{AB3D44B5-9491-487E-A134-9AC5BED2B981}</ProjectGuid>
5757
<OutputType>Library</OutputType>
5858
<AppDesignerFolder>Properties</AppDesignerFolder>
5959
<RootNamespace>Wpf.Ui.Extension.Template.Blank</RootNamespace>
6060
<AssemblyName>Wpf.Ui.Extension.Template.Blank</AssemblyName>
61-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
61+
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
6262
<GeneratePkgDefFile>false</GeneratePkgDefFile>
6363
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
6464
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
@@ -102,4 +102,4 @@
102102
<Target Name="AfterBuild">
103103
</Target>
104104
-->
105-
</Project>
105+
</Project>

src/Wpf.Ui.Extension.Template.Compact/Wpf.Ui.Compact.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="WPF-UI" Version="4.0.1" />
19-
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.0.1" />
18+
<PackageReference Include="WPF-UI" Version="4.0.2" />
19+
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.0.2" />
2020
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
2121
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0 "/>
2222
</ItemGroup>

src/Wpf.Ui.Extension.Template.Compact/Wpf.Ui.Extension.Template.Compact.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build"
3-
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
43
<PropertyGroup>
4+
<VisualStudioTemplateProject>true</VisualStudioTemplateProject>
55
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
66
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
77
<FileUpgradeFlags>
@@ -58,7 +58,7 @@
5858
<AppDesignerFolder>Properties</AppDesignerFolder>
5959
<RootNamespace>Wpf.Ui.Extension.Template.Compact</RootNamespace>
6060
<AssemblyName>Wpf.Ui.Extension.Template.Compact</AssemblyName>
61-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
61+
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
6262
<GeneratePkgDefFile>false</GeneratePkgDefFile>
6363
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
6464
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
@@ -102,4 +102,4 @@
102102
<Target Name="AfterBuild">
103103
</Target>
104104
-->
105-
</Project>
105+
</Project>

src/Wpf.Ui.Extension.Template.Fluent/Wpf.Ui.Extension.Template.Fluent.csproj

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTargets="Build"
3-
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
43
<PropertyGroup>
4+
<VisualStudioTemplateProject>true</VisualStudioTemplateProject>
55
<MinimumVisualStudioVersion>17.0</MinimumVisualStudioVersion>
66
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
77
<FileUpgradeFlags>
@@ -53,12 +53,12 @@
5353
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5454
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
5555
<ProjectTypeGuids>{82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
56-
<ProjectGuid>{4d2706b5-27a9-4542-bd4d-8c22d12d0628}</ProjectGuid>
56+
<ProjectGuid>{4D2706B5-27A9-4542-BD4D-8C22D12D0628}</ProjectGuid>
5757
<OutputType>Library</OutputType>
5858
<AppDesignerFolder>Properties</AppDesignerFolder>
5959
<RootNamespace>Wpf.Ui.Extension.Template.Fluent</RootNamespace>
6060
<AssemblyName>Wpf.Ui.Extension.Template.Fluent</AssemblyName>
61-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
61+
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
6262
<GeneratePkgDefFile>false</GeneratePkgDefFile>
6363
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
6464
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>
@@ -102,4 +102,4 @@
102102
<Target Name="AfterBuild">
103103
</Target>
104104
-->
105-
</Project>
105+
</Project>

src/Wpf.Ui.Extension.Template.Fluent/Wpf.Ui.Fluent.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</ItemGroup>
1616

1717
<ItemGroup>
18-
<PackageReference Include="WPF-UI" Version="4.0.1" />
19-
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.0.1" />
18+
<PackageReference Include="WPF-UI" Version="4.0.2" />
19+
<PackageReference Include="WPF-UI.DependencyInjection" Version="4.0.2" />
2020
<PackageReference Include="Microsoft.Extensions.Hosting" Version="9.0.1" />
2121
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.4.0 "/>
2222
</ItemGroup>

src/Wpf.Ui.Extension/Wpf.Ui.Extension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<AppDesignerFolder>Properties</AppDesignerFolder>
5454
<RootNamespace>Wpf.Ui.Extension</RootNamespace>
5555
<AssemblyName>Wpf.Ui.Extension</AssemblyName>
56-
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
56+
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
5757
<GeneratePkgDefFile>false</GeneratePkgDefFile>
5858
<IncludeAssemblyInVSIXContainer>false</IncludeAssemblyInVSIXContainer>
5959
<IncludeDebugSymbolsInVSIXContainer>false</IncludeDebugSymbolsInVSIXContainer>

0 commit comments

Comments
 (0)