VitalElement / AvalonStudio

Cross platform IDE and Shell
GNU Lesser General Public License v3.0
1.62k stars 237 forks source link

Cannot compile cloned git or v0.62 source #722

Closed 2haloes closed 5 years ago

2haloes commented 5 years ago

Hello,

I've found that on top of issues with cloning this repository (See #721 ), even when I pull all of the parts together, I still can't get the code to compile.

Using the v0.6.2 tree to clone all of the missing parts from the linked repositories, I got a strange error when compiling using 'dotnet build' or the 'build.sh' file

CodeCompletion/PopupWithCustomPosition.cs(13,34): error CS0508: 'PopupWithCustomPosition.GetPosition()': return type must be 'PixelPoint' to match overridden member 'Popup.GetPosition()' [/home/haloes/builds/AvalonStudio/AvaloniaEdit/src/AvaloniaEdit/AvaloniaEdit.csproj]

This error was generated while using the AvaloniaEdit linked tree for the 0.6.2 release and for the current git version, the linked tree outright doesn't exist (See linked issue above) so I'm stuck on what to do

rakuten commented 5 years ago

i just compile succeed by release/v0.6.2

git clone -b release/v.0.6.2 https://github.com/VitalElement/AvalonStudio --recursive
cd AvalonStudio/AvalonStudio/AvalonStudio
dotnet restore
dotnet build
cd bin/Debug/netcoreapp2.2
dotnet ./AvalonStudio.dll

It is possible that you need to repeat the "dotnet restore" multiple times until the timeout prompt no longer appears.

i use Mac, os version 10.14.4

Hope to be helpful

danwalmsley commented 5 years ago

iv finally got around to fixing the develop branch.

@rakuten i'll be doing a new release pretty shortly that will solve your issue.