gustavoasoares / refazer

Refazer: Learning Program Transformations from Examples
30 stars 6 forks source link

how to install or use refazer on linux #36

Open niuxu18 opened 7 years ago

niuxu18 commented 7 years ago

hi, i am going to use refazer on linux. And when i loaded refazer.sln with Rider, i have seen errors as following.


10/19/17 11:14 AM Project 'Refazer' load finished with warnings: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. at (1122:5)

11:14 AM .NET Framework is not found: MsBuild can not find TargetFramework assemblies, specify a Mono MSBuild in settings. You can download the latest stable Mono release. Also install msbuild package.

11:14 AM Project 'Refazer.WebAPI' load failed: The imported project "/usr/share/dotnet/sdk/2.0.0/Microsoft/VisualStudio/v15.0/WebApplications/Microsoft.WebApplication.targets" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. /usr/info/code/csharp/refazer-0.1/Refazer.WebAPI/Refazer.WebAPI.csproj at (553:3)

11:14 AM MSBuild targets were not found: Make sure that all SDKs required for projects in this solution are installed, or specify a different MSBuild version in settings.

11:14 AM Project 'Refazer.Test' load finished with warnings: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. at (1122:5)

11:15 AM Project 'Refazer' load finished with warnings: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. at (1122:5)

11:15 AM .NET Framework is not found: MsBuild can not find TargetFramework assemblies, specify a Mono MSBuild in settings. You can download the latest stable Mono release. Also install msbuild package.

11:15 AM Project 'Refazer.Test' load finished with warnings: The reference assemblies for framework ".NETFramework,Version=v4.5.2" were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK or Targeting Pack installed. Note that assemblies will be resolved from the Global Assembly Cache (GAC) and will be used in place of reference assemblies. Therefore your assembly may not be correctly targeted for the framework you intend. at (1122:5)


It seems to be related with .NETFramework, Version... Any one here can offer me some suggestion about how to fix this problem...

gustavoasoares commented 6 years ago

Thanks for the interest in Refazer @happyhappiness. I'm afraid the current version is not compatible with Linux because it uses an old version of the PROSE framework. I've been busy and couldn't fix it so far but I am just starting to look at this issue and will have some update soon.