File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change 3
3
<Error Condition =" $(ToolkitComponentName) == ''" Message =" ToolkitComponentName is not defined. Please check your csproj." />
4
4
</Target >
5
5
6
- <PropertyGroup >
7
- <DateForVersion Condition =" '$(DateForVersion)' == ''" >$([System.DateTime]::UtcNow.ToString(yyMMdd))</DateForVersion >
8
- <Version Condition =" '$(Version)' == ''" >$(MajorVersion).$(MinorVersion).$(DateForVersion)</Version >
9
- <Version Condition =" '$(PreviewVersion)' != ''" >$(Version)-$(PreviewVersion)</Version >
10
- </PropertyGroup >
11
-
12
6
<!-- Set up the MultiTarget system -->
13
7
<Import Project =" $(ToolingDirectory)\MultiTarget\Library.props" />
14
8
15
9
<PropertyGroup >
10
+ <DateForVersion Condition =" '$(DateForVersion)' == ''" >$([System.DateTime]::UtcNow.ToString(yyMMdd))</DateForVersion >
11
+ <Version Condition =" '$(Version)' == ''" >$(MajorVersion).$(MinorVersion).$(DateForVersion)</Version >
12
+ <Version Condition =" '$(PreviewVersion)' != ''" >$(Version)-$(PreviewVersion)</Version >
16
13
<PackageId Condition =" '$(PackageId)' == ''" >$(PackageIdPrefix).$(PackageIdVariant).$(ToolkitComponentName)</PackageId >
17
14
</PropertyGroup >
18
15
You can’t perform that action at this time.
0 commit comments