wpdotnet-sdk icon indicating copy to clipboard operation
wpdotnet-sdk copied to clipboard

[Feature] Ability to load the project on Visual Studio for Mac

Open amirvenus opened this issue 5 years ago • 2 comments

Hi,

Just cloned this project and I am getting this error:

image

Building app (Debug) Build started 19/03/2020 14:23:49.


Project "/Users/amir/Projects/wpdotnet-sdk/PeachPied.WordPress.AspNetCore/PeachPied.WordPress.AspNetCore.csproj" (Build target(s)):

Target ResolvePackageAssets: /Users/amir/Projects/wpdotnet-sdk/PeachPied.WordPress.AspNetCore/PeachPied.WordPress.AspNetCore.csproj : error NU1105: Unable to find project information for '/Users/amir/Projects/wpdotnet-sdk/wordpress/PeachPied.WordPress.msbuildproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so please run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. Done building target "ResolvePackageAssets" in project "PeachPied.WordPress.AspNetCore.csproj" -- FAILED.

Done building project "PeachPied.WordPress.AspNetCore.csproj" -- FAILED.

Build FAILED.

/Users/amir/Projects/wpdotnet-sdk/PeachPied.WordPress.AspNetCore/PeachPied.WordPress.AspNetCore.csproj : error NU1105: Unable to find project information for '/Users/amir/Projects/wpdotnet-sdk/wordpress/PeachPied.WordPress.msbuildproj'. If you are using Visual Studio, this may be because the project is unloaded or not part of the current solution so please run a restore from the command-line. Otherwise, the project file may be invalid or missing targets required for restore. 0 Warning(s) 1 Error(s)

Time Elapsed 00:00:00.14

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Build: 1 error, 0 warnings

amirvenus avatar Mar 19 '20 14:03 amirvenus

Visual Studio for Mac only supports .csproj (and .fsproj) project types. You can build on commandline as described in readme.

jakubmisek avatar Mar 19 '20 14:03 jakubmisek

as a workaround, you can open the source-less project https://github.com/iolevel/azure-wpdotnet

jakubmisek avatar May 11 '20 21:05 jakubmisek