Create Package Upgrade using Visual Studio
This topic describes how to create a Package Upgrade using Visual Studio.
Project template and dotnet commands
Prerequisites:
- Install the latest version of Visual Studio 2019 or above
- Make sure .NET 6 is installed
Install the Project Template
If this is the first time you create a Package Upgrade on your machine, you need to install the project template.
dotnet new -i Profitbase.Invision.PackageUpgrade.Project
Create the project
Use the following command to create a new project. Choose a suitable name for your project instead of 'MyPackageUpgrade'.
dotnet new Profitbase.Invision.PackageUpgrade.Project -n MyPackageUpgrade
You can also create the project directly from File -> New -> Project
in Visual Studio
Implement the project
- Open the .csproj-file using Visual Studio.
- Follow the steps in the
README
file
Note!
To show project templates that are installed using the CLI, the 'Show all .NET Core templates in the New project dialog' feature in Visual Studio must be enabled.
Open the Options dialog, go to Tools -> Options. Then go to Environment -> Preview Features and select the preview feature named 'Show all .NET Core templates in the New project dialog'.