来自strava参考https://developers.strava.com/docs/reference/#api-Clubs-getClubMembersById
我试图在C#中使用strava。
我在Concole上安装了Strava.NET v3.4.4 (MicrosoftVisualStudioCommunity2019上的.NET框架4.6.1 ),如下图所示。

我刚才添加了strava参考作为上面的链接。
代码:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.strava.api.v3.Api;
using com.strava.api.v3.Client;
using com.strava.api.v3.Model;
namespace getClubMembersById
{
class Program
{
static void Main(string[] args)
{
}
}
}错误:
The type or namespace name 'com' could not be found (are you missing a using directive or an assembly reference?)

发布于 2019-10-03 13:40:39
我认为Strava C#示例是通用的,所以您必须阅读Strava.NET库文档。
Strava.NET包括这些名称空间。

请注意,Strava.NET 3.4.4最后一次更新是在02/04/2016上,但是Strava引入了important updates since 15/10/2018。
https://stackoverflow.com/questions/58218172
复制相似问题