I got it working on VS 2019 for Mac by adding this to my csproj file.

  <Target Name="Protobuf_Compile_Before_AssemblyReferences" 
BeforeTargets="ResolveAssemblyReferences">
    <CallTarget Targets="_Protobuf_Compile_BeforeCsCompile" />
  </Target>

This solution did not work for .net standard libraries though, only .net 
core 3 targets.

On Wednesday, July 10, 2019 at 1:11:06 PM UTC-7, [email protected] wrote:
>
> Hello,
>
> I am developing an application using GRPC in .NET Core 3 (Preview) and it 
> is very difficult to develop the service implementations because I have no 
> intellisense. The using statements are not resolving either. I have 
> verified Grpc.Tools is generating the source code in /obj/debug and the 
> application does compile fine, but the IDE is not including these generated 
> files are part of its source files.
>
> My csproj item group looks like this:
>
> <ItemGroup>
> <PackageReference Include="Grpc.AspNetCore.Server" Version="0.1.21-pre1" 
> />
> <PackageReference Include="Google.Protobuf" Version="3.8.0" />
> <Protobuf Include="Grpc\Protos\*.proto" GrpcServices="Server" />
> <Content Include="@(Protobuf)" LinkBase="" />
> <PackageReference Include="Grpc.Tools" Version="1.22.0" PrivateAssets=
> "All" />
> </ItemGroup>
>
> I have the same issue with all the demo applications I've downloaded, and 
> even the GRPC Template. I am wondering if it's an issue with just the Mac 
> version of VS 2019 or am I missing something?
>
> Thanks in advance.
> -Mike
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/c4d3268c-c2be-4793-8e5c-effa46987cf7%40googlegroups.com.

Reply via email to