Let’s convert .NET console project to .NET core.
REQUIREMENTS.
Microsoft released a dedicated extension to visualize or check your application is able to migrate to the other .Net Frameworks. Click here
1.) INSTALL .NET CORE SDK BY FOLLOWING COMMAND:
.NET tool install -g try-convert
2.) TRY CONVERT TOOL
-p, –project
-w, –workspace
–target-framework, -tfm
–preview
–diff-only
–no-backup
–keep-current-tfms
>> Open Existing .csproj from your application and command prompt as administrator.
>> Run the below command and it will create .csproj
-w, –workspace
–target-framework, -tfm
–preview
–diff-only
–no-backup
–keep-current-tfms
>> Open Existing .csproj from your application and command prompt as administrator.
>> Run the below command and it will create .csproj
try-convert -p HelloWorldDotNetFramework.csproj Default backup is enable but there is no overriding option avialable. Check before migrate project structure and after migrataion structure
Comments
Post a Comment