This repository was archived by the owner on May 1, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
Xamarin.Forms.ControlGallery.WPF
Xamarin.Forms.Platform.WPF/Properties Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
1
+ <Project Sdk =" Microsoft.NET.Sdk.WindowsDesktop" >
2
2
<PropertyGroup >
3
3
<TargetFrameworks Condition =" '$(OS)' == 'Windows_NT' " >netcoreapp3.1;net461;</TargetFrameworks >
4
4
<TargetFrameworks Condition =" '$(OS)' != 'Windows_NT' " >net461;</TargetFrameworks >
7
7
<OutputType >WinExe</OutputType >
8
8
<UseWPF >true</UseWPF >
9
9
<AppendTargetFrameworkToOutputPath >true</AppendTargetFrameworkToOutputPath >
10
- <GenerateAssemblyInfo >false </GenerateAssemblyInfo >
10
+ <GenerateAssemblyInfo >true </GenerateAssemblyInfo >
11
11
<AutoGenerateBindingRedirects >true</AutoGenerateBindingRedirects >
12
12
</PropertyGroup >
13
13
<PropertyGroup >
Original file line number Diff line number Diff line change 1
- using System . Windows ;
1
+ using System . Reflection ;
2
+ using System . Windows ;
2
3
using Xamarin . Forms ;
3
4
using Xamarin . Forms . Platform . WPF ;
4
5
using Xamarin . Forms . Shapes ;
71
72
72
73
// Others
73
74
[ assembly: Xamarin . Forms . Dependency ( typeof ( ResourcesProvider ) ) ]
74
- [ assembly: Xamarin . Forms . Dependency ( typeof ( Deserializer ) ) ]
75
+ [ assembly: Xamarin . Forms . Dependency ( typeof ( Deserializer ) ) ]
76
+
77
+ [ assembly: AssemblyVersion ( "2.0.0.0" ) ]
78
+ [ assembly: AssemblyFileVersion ( ThisAssembly . Git . BaseVersion . Major + "."
79
+ + ThisAssembly . Git . BaseVersion . Minor + "."
80
+ + ThisAssembly . Git . BaseVersion . Patch + "."
81
+ + ThisAssembly . Git . Commits ) ]
82
+ [ assembly: AssemblyInformationalVersion ( ThisAssembly . Git . SemVer . Major + "."
83
+ + ThisAssembly . Git . SemVer . Minor + "."
84
+ + ThisAssembly . Git . SemVer . Patch
85
+ + ThisAssembly . Git . SemVer . DashLabel + "+"
86
+ + ThisAssembly . Git . Commits + "-sha."
87
+ + ThisAssembly . Git . Commit ) ]
You can’t perform that action at this time.
0 commit comments