AlexCSDev / PatreonDownloader

Powerful tool for downloading content posted by creators on patreon.com. Supports content hosted on patreon itself as well as external sites (additional plugins might be required).
MIT License
969 stars 99 forks source link

Project build issue on submodules #162

Closed nothankyouthisisdumb closed 1 year ago

nothankyouthisisdumb commented 1 year ago

image image

never worked with code/software before, any further guide on compiling?

AlexCSDev commented 1 year ago

Refer to docs/building.md for building instructions. If I were to guess you probably have not cloned submodules.

nothankyouthisisdumb commented 1 year ago

I definitely did something wrong, I re-cloned the submodules and got further! image image image

emerladCoder commented 1 year ago

This is due to path in the solution file and csproj file. If you update the paths you should be able to compile without issue.

PatreonDownloader.sln Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UniversalDownloaderPlatform.PuppeteerEngine", "..\XMADownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.PuppeteerEngine\UniversalDownloaderPlatform.PuppeteerEngine.csproj", "{2EF4E7BA-9E1C-43D7-B483-AD5D90033631}" Correct to Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UniversalDownloaderPlatform.PuppeteerEngine", "submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.PuppeteerEngine\UniversalDownloaderPlatform.PuppeteerEngine.csproj", "{2EF4E7BA-9E1C-43D7-B483-AD5D90033631}"

PatreonDownloader.Implementation\PatreonDownloader.Implementation.csproj <ProjectReference Include="..\..\XMADownloader\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.PuppeteerEngine\UniversalDownloaderPlatform.PuppeteerEngine.csproj" /> Correct to <ProjectReference Include="..\submodules\UniversalDownloaderPlatform\UniversalDownloaderPlatform.PuppeteerEngine\UniversalDownloaderPlatform.PuppeteerEngine.csproj" />

AlexCSDev commented 1 year ago

Well this is weird, dunno how visual studio managed to reference project from the wrong path. Fixed.