Awesome
Mutatio
Visual Studio for Mac add-in/extension for converting old PCLs to .NET Standard 2.0 targeting projects automatically.<br/><br/> <img src="https://github.com/yuv4ik/mutatio/raw/master/Screenshots/before.png" width="400"> <img src="https://github.com/yuv4ik/mutatio/raw/master/Screenshots/after.png" width="400" align="top">
Warning
This extension is making it first steps, please make sure you have a back up of your code before using it!
Installation
Automatic
You can download and install Mutatio using the Extension Manager of Visual Studio for Mac by searching the Gallery.
Manual
Alternatively you can download and install it manually using the folowing steps:
- Download the
.mpack
file from here - Launch Visual Studio, open the Visual Studio menu and select
Extensions...
- In the bottom left of the Extensions Manager dialog, click
Install from file...
- Choose the
.mpack
file you downloaded in step 1 - When prompted, select Install
Limitations
Currently only C# projects supported.
<br/>
Due to behavior differences F#
support is currently postponed, however, contributors are welcome!
Usage
Mutatio
can convert newly created or existing projects. Please keep in mind that there might be NuGet
packages that does not support .NET Standard 2.0, in this case you may see NuGet
related exceptions.
In order to convert a project, right click on it and select Convert to NET Standard 2.0
.<br/>For more details please check my blog.
Details
The technical conversion from old PCL to .NET Standard 2.0 is very simple and described here.
The conversion process is consist of:
- Creating a backup of
*.csproj
,packages.config
&/Properties
inroot/mutatio_backup
- Generating new
*.csproj
- All the packages from
packages.json
will be defined in new*.csproj
- All the packages from
- Deleting of
*.csproj
,packages.config
&/Properties
- Re-opening the solution
License
This project is licensed under the MIT License - see the LICENSE.md file for details