Skip to content

Unable to compile project with large amount of grpc proto messages and services #67912

@vsfeedback

Description

@vsfeedback

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1754743

This issue has been moved from a ticket on Developer Community.


[severity:I’m unable to use this version]
A .net 4.8 framework solution using GRPC split across 2 projects does not compile and shows the following error:

47>C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\Roslyn\Microsoft.CSharp.Core.targets(80,5): error MSB6006: “csc.exe” exited with code -2146232797.

Using protoroot, the grpc contracts are stored in one project and the service implementations are stored in another.

There are about 1300 rpc statements and about 4000 messages.

Note: this compiles successfully in 17.2 and 17.3. Fails with 17.4 and 17.5

The contracts project compiles successfully. The implementation project fails.


Original Comments

james harvey on 2/27/2023, 02:18 AM:

(private comment, text removed)

james harvey on 2/27/2023, 03:34 AM:

(private comment, text removed)

Feedback Bot on 2/27/2023, 06:25 PM:

(private comment, text removed)

Feedback Bot on 4/11/2023, 11:49 AM:

(private comment, text removed)


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions