Skip to content

Commit

Permalink
Support for VS2017 (thanks to @tbertenshaw) && raise to version 1.4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marazt committed Feb 8, 2018
1 parent 87947fa commit 09eea79
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 49 deletions.
9 changes: 6 additions & 3 deletions ConfigTransformation.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
# Visual Studio 15
VisualStudioVersion = 15.0.27130.2020
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D0598783-CFAA-46CE-9856-7F569687EF26}"
ProjectSection(SolutionItems) = preProject
Expand Down Expand Up @@ -45,11 +45,14 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
ConfigurationFilter =
SolutionGuid = {5E3DA4A4-6403-41C8-8024-65F90BFD9344}
EndGlobalSection
GlobalSection(AutomaticVersions) = postSolution
AssemblyInfoFilePath = Properties\AssemblyInfo.cs
UpdateAssemblyVersion = True
UpdateAssemblyFileVersion = True
UpdateAssemblyInfoVersion = True
ShouldCreateLogs = True
AssemblyVersionSettings = None.None.DateStamp.TimeStamp
AssemblyFileVersionSettings = None.None.DateStamp.TimeStamp
AssemblyInfoVersionSettings = None.None.DateStamp.TimeStamp
Expand Down
5 changes: 3 additions & 2 deletions ConfigTransformation/ConfigTransformation.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<None Include="packages.config" />
<None Include="source.extension.vsixmanifest">
<SubType>Designer</SubType>
Expand Down Expand Up @@ -277,12 +278,12 @@ rm "$(TargetDir)$(TargetName).zip" )</PostBuildEvent>
<PreBuildEvent>
</PreBuildEvent>
</PropertyGroup>
<Import Project="..\packages\VsixUpdater.1.0.28\build\VsixUpdater.targets" Condition="Exists('..\packages\VsixUpdater.1.0.28\build\VsixUpdater.targets')" />
<Import Project="..\packages\VsixUpdater.1.0.29\build\VsixUpdater.targets" Condition="Exists('..\packages\VsixUpdater.1.0.29\build\VsixUpdater.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\VsixUpdater.1.0.28\build\VsixUpdater.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\VsixUpdater.1.0.28\build\VsixUpdater.targets'))" />
<Error Condition="!Exists('..\packages\VsixUpdater.1.0.29\build\VsixUpdater.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\VsixUpdater.1.0.29\build\VsixUpdater.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down
4 changes: 2 additions & 2 deletions ConfigTransformation/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("1.3.7.0")]
[assembly: AssemblyFileVersion("1.3.7.0")]
[assembly: AssemblyVersion("1.3.18038.1829")]
[assembly: AssemblyFileVersion("1.3.18038.1829")]

[assembly: InternalsVisibleTo("ConfigTransformation_IntegrationTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1487f7a52164dba1f647980bbae24a993982e5341842b134389139d8b1ff013c7bcdfc4b7cf82ee2eccddf0740d97dbb41eb01f9cb591219530f0b3ae6ca65d9268f9e5ac214fc49b74a5532755444d026e509b8ac645264910228ad355c94619679467ca8a612609b6fc01a96b2cc89fb501e86560daff48426bfc764c9f")]
[assembly: InternalsVisibleTo("ConfigTransformation_UnitTests, PublicKey=002400000480000094000000060200000024000052534131000400000100010007d1487f7a52164dba1f647980bbae24a993982e5341842b134389139d8b1ff013c7bcdfc4b7cf82ee2eccddf0740d97dbb41eb01f9cb591219530f0b3ae6ca65d9268f9e5ac214fc49b74a5532755444d026e509b8ac645264910228ad355c94619679467ca8a612609b6fc01a96b2cc89fb501e86560daff48426bfc764c9f")]
8 changes: 7 additions & 1 deletion ConfigTransformation/Release_notes.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
Version 1.3.7.0 - 2016/04/09 (Added to GitHub)
Version 1.4.0.0 - 2018/02/07 Support for VS2017

- Support for VS2017. Thanks @tbertenshaw for PR.

===========================================================================================================

Version 1.3.7.0 - 2018/04/09 (Added to GitHub)

- New option item Write attributes on a separate line added. If this option is set to true, transformed config has every attribute on separate line. Default value is false.

Expand Down
11 changes: 11 additions & 0 deletions ConfigTransformation/app.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="EnvDTE" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
2 changes: 1 addition & 1 deletion ConfigTransformation/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
<package id="Microsoft.VisualStudio.Utilities" version="15.0.26607" targetFramework="net462" />
<package id="Microsoft.Web.Xdt" version="2.1.1" targetFramework="net45" />
<package id="stdole" version="7.0.3301" targetFramework="net45" />
<package id="VsixUpdater" version="1.0.28" targetFramework="net462" />
<package id="VsixUpdater" version="1.0.29" targetFramework="net462" />
</packages>
56 changes: 28 additions & 28 deletions ConfigTransformation/source.extension.vsixmanifest
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="a8ef38c4-8d82-4245-a6ac-775412dd55e7" Version="1.3.7.0" Language="en-US" Publisher="marazt" />
<DisplayName>ConfigTransformation</DisplayName>
<Description xml:space="preserve">Extension which enables ability to transform various config file even there does not exist build definition for the transformation file. Supports all .NET projects even WebSites.</Description>
<MoreInfo>http://visualstudiogallery.msdn.microsoft.com/2ab58875-5ead-44aa-b3e8-52965b8bd47d</MoreInfo>
<GettingStartedGuide>http://visualstudiogallery.msdn.microsoft.com/2ab58875-5ead-44aa-b3e8-52965b8bd47d</GettingStartedGuide>
<ReleaseNotes>Release_notes.txt</ReleaseNotes>
<Icon>transform2.png</Icon>
<PreviewImage>preview2.png</PreviewImage>
<Tags>Config, Transformation, Configuration, Build, XML, XDT</Tags>
</Metadata>
<Installation InstalledByMsi="false" AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[11.0,]" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Community" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.VisualStudio.MPF.11.0" DisplayName="Visual Studio MPF 11.0" d:Source="Installed" Version="11.0" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26208.0,16.0)" DisplayName="Visual Studio core editor" />
<Prerequisite Id="Microsoft.VisualStudio.Component.Roslyn.LanguageServices" Version="[15.0.26208.0,16.0)" DisplayName="C# and Visual Basic" />
</Prerequisites>
<Metadata>
<Identity Id="a8ef38c4-8d82-4245-a6ac-775412dd55e7" Version="1.4.0.0" Language="en-US" Publisher="marazt" />
<DisplayName>ConfigTransformation</DisplayName>
<Description xml:space="preserve">Extension which enables ability to transform various config file even there does not exist build definition for the transformation file. Supports all .NET projects even WebSites.</Description>
<MoreInfo>http://visualstudiogallery.msdn.microsoft.com/2ab58875-5ead-44aa-b3e8-52965b8bd47d</MoreInfo>
<GettingStartedGuide>http://visualstudiogallery.msdn.microsoft.com/2ab58875-5ead-44aa-b3e8-52965b8bd47d</GettingStartedGuide>
<ReleaseNotes>Release_notes.txt</ReleaseNotes>
<Icon>transform2.png</Icon>
<PreviewImage>preview2.png</PreviewImage>
<Tags>Config, Transformation, Configuration, Build, XML, XDT</Tags>
</Metadata>
<Installation InstalledByMsi="false" AllUsers="true">
<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="[11.0,]" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Premium" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Ultimate" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[11.0,]" Id="Microsoft.VisualStudio.Community" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.VisualStudio.MPF.11.0" DisplayName="Visual Studio MPF 11.0" d:Source="Installed" Version="11.0" />
</Dependencies>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" d:Source="Project" d:ProjectName="%CurrentProject%" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" />
</Assets>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26208.0,16.0)" DisplayName="Visual Studio core editor" />
<Prerequisite Id="Microsoft.VisualStudio.Component.Roslyn.LanguageServices" Version="[15.0.26208.0,16.0)" DisplayName="C# and Visual Basic" />
</Prerequisites>
</PackageManifest>
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
![](https://i1.visualstudiogallery.msdn.s-msft.com/2ab58875-5ead-44aa-b3e8-52965b8bd47d/image/file/137602/16/thumbnail.png) Config Transformation Visual Studio Extension
==================

Version 1.3.7.0
Version 1.4.0.0

Author marazt

Copyright marazt

License The MIT License (MIT)

Last updated 09 May 2016
Last updated 08 February 2018

[Visual Studio Gallery Link](https://visualstudiogallery.msdn.microsoft.com/2ab58875-5ead-44aa-b3e8-52965b8bd47d)

Expand All @@ -32,7 +32,7 @@ Abilities
+ Application output (transformation progress, errors, infomation) in **General Output window**.
+ Configuration in **Tools** -> **Options** -> **Config transformation menu**.
+ Transformation file nesting, can be set in **Tools** -> **Options** -> **Config transformation menu**.
+ Supports Visual Studio 12, Visual Studio 13, Visual Studio 15.
+ Supports Visual Studio 2012, Visual Studio 2013, Visual Studio 2015, Visual Studio 2017.



Expand Down Expand Up @@ -61,6 +61,12 @@ Versions
-----------------


**Version 1.4.0.0 - 2018/02/08 Support for VS2017**

* Support for VS2017. Thanks @tbertenshaw for PR.



**Version 1.3.7.0 - 2016/04/09 (Added to GitHub)**

* New option item Write attributes on a separate line added. If this option is set to true, transformed config has every attribute on separate line. Default value is false.
Expand Down
Binary file not shown.
9 changes: 0 additions & 9 deletions packages/VsixUpdater.1.0.28/build/VsixUpdater.targets

This file was deleted.

0 comments on commit 09eea79

Please sign in to comment.