Skip to content

Migration from alpha03 to alpha04

Akira Sugiura edited this page Oct 12, 2015 · 5 revisions

As the release note indicates, there is not compatibility between alpha03 and alpha04. Also, installation specification is changed, note that choco upgrade command can not be used. You have to migrate the *.sln by the following steps:

Explicit Alpha03 Uninstallation

Step 1: Uninstall NUnitTestAdapterForPrig

Open the target *.sln that you want to migrate, and execute the following command in the Package Manager Console:

PM> Uninstall-Package NUnitTestAdapterForPrig

Step 2: Uninstall Prig(NuGet part)

Continuously, execute the following command in the Package Manager Console:

PM> Uninstall-Package Prig

Step 3: Reorganize *.csproj

Right click the target project in the Solution Explorer, and select Unload Project:

Right click the unloaded project, and select Edit *.csproj:

Remove all line that matches to the regular expression (\.prig)|(urasandesu):

Reload the project and save all. By modifying the *.csproj manually, you can continuously use the indirection settings in alpha04. Then, exit Visual Studio for now.

Step 4: Uninstall Prig(Chocolatey part)

Run Developer Command Prompt for VS2013 as Administrator. To uninstall alpha03 completely, execute the following command:

CMD C:\> choco uninstall prig -y -f

Alpha04 Installation

Execute the normal installation steps that are in README. If you executed the above steps, you can get the indirection settings that are same as used in alpha03.

In addition, if you use a delegate that IndirectionDelegate is applied like this example, add the namespace Urasandesu.Prig.Delegates like this.

Clone this wiki locally