Skip to content
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.

Migrating to v3.2 from older versions

golavr edited this page Mar 16, 2018 · 4 revisions

In v3.2 i made some breaking changes to csproj file format as suggested in issue #1 by @eclaus.

Before
<Target Name="AfterCompile" ... >
<Target Name="AfterPublish" ... >

After
<Target Name="TransformConfig" AfterTargets="AfterCompile" ... >
<Target Name="CopyTransformedConfig" AfterTargets="AfterPublish" ... >

In case you have used this extension prior to v3.2 the following steps are required before using v3.2:

  • Remove using new(v3.2) project menu command:
    • Right click on project in solution explorer.
    • Hit "Remove old Config Transforms".
  • Remove Manually:
    • Open csproj file in editor.
    • Remove sections: <UsingTask ... <Target Name="AfterCompile" ... <Target Name="AfterPublish" ... <Target Name="AfterBuild" ...
    • Save file.

After removal just apply "Add Config Transforms" on all configs you want to transform.

Clone this wiki locally