File tree Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Expand file tree Collapse file tree 4 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
+ <PackageReleaseNotes Condition =" '$(VersionPrefix)' == '0.2.4'" >
4
+ Bug fix:
5
+ * Fix the MSBuild targets which generate plugin.config to put it into the correct output directory.
6
+ </PackageReleaseNotes >
3
7
<PackageReleaseNotes Condition =" '$(VersionPrefix)' == '0.2.3'" >
4
8
Bug fix:
5
9
* Fix config file generation when using the SDK package
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
3
<MSBuildAllProjects >$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects >
4
+
5
+ <PluginConfigFileName >plugin.config</PluginConfigFileName >
4
6
</PropertyGroup >
5
7
</Project >
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <IsPlugin Condition =" '$(IsPlugin)' == '' " >true</IsPlugin >
4
- <PluginConfigFile >$(TargetDir)plugin.config</PluginConfigFile >
5
3
<MSBuildAllProjects >$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects >
4
+
5
+ <IsPlugin Condition =" '$(IsPlugin)' == '' " >true</IsPlugin >
6
+ <IntermediatePluginConfigFile >$(IntermediateOutputPath)$(MSBuildProjectName).$(PluginConfigFileName)</IntermediatePluginConfigFile >
6
7
<GeneratePluginConfigFile Condition =" '$(IsPlugin)' == 'true' AND '$(TargetFramework)' != ''" >true</GeneratePluginConfigFile >
7
8
</PropertyGroup >
8
9
9
10
<ItemGroup >
10
- <Content Include =" $(PluginConfigFile )" Condition =" '$(GeneratePluginConfigFile)' == 'true'" >
11
+ <Content Include =" $(IntermediatePluginConfigFile )" Condition =" '$(GeneratePluginConfigFile)' == 'true'" >
11
12
<Visible >false</Visible >
13
+ <Link >$(PluginConfigFileName)</Link >
12
14
<CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
13
15
<CopyToPublishDirectory >PreserveNewest</CopyToPublishDirectory >
14
16
</Content >
17
19
<Target Name =" GeneratePluginConfig"
18
20
BeforeTargets =" CoreCompile"
19
21
Inputs =" $(MSBuildAllProjects);$(TargetPath)"
20
- Outputs =" $(PluginConfigFile )"
22
+ Outputs =" $(IntermediatePluginConfigFile )"
21
23
Condition =" '$(GeneratePluginConfigFile)' == 'true'" >
22
24
<PropertyGroup >
23
25
<_AssemblyIdentity >$(AssemblyName)</_AssemblyIdentity >
31
33
</PluginConfigContent >
32
34
</PropertyGroup >
33
35
34
- <WriteLinesToFile Lines =" $(PluginConfigContent)" Overwrite =" true" File =" $(PluginConfigFile )" />
36
+ <WriteLinesToFile Lines =" $(PluginConfigContent)" Overwrite =" true" File =" $(IntermediatePluginConfigFile )" />
35
37
36
38
<ItemGroup >
37
- <FileWrites Include =" $(PluginConfigFile )" />
39
+ <FileWrites Include =" $(IntermediatePluginConfigFile )" />
38
40
</ItemGroup >
39
41
</Target >
40
42
</Project >
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <VersionPrefix >0.2.3 </VersionPrefix >
3
+ <VersionPrefix >0.2.4 </VersionPrefix >
4
4
<VersionSuffix >preview</VersionSuffix >
5
5
<IncludePreReleaseLabelInPackageVersion Condition =" '$(IsStableBuild)' != 'true'" >true</IncludePreReleaseLabelInPackageVersion >
6
6
<BuildNumber Condition =" '$(BuildNumber)' == '' " >$(APPVEYOR_BUILD_NUMBER)</BuildNumber >
You can’t perform that action at this time.
0 commit comments