Rank: Member
Groups: Registered
Joined: 7/26/2012(UTC) Posts: 12 Location: United Kingdom
Thanks: 2 times
|
Could not make proto path relative (0, 0): ..\..\..\Common\Prod\Ingest.Proto\IngestSvcApis.proto: No such file or directory Here is the csproj file Code:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.13.0" />
<PackageReference Include="Grpc" Version="2.31.0" />
<PackageReference Include="Grpc.Tools" Version="2.31.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="16.7.54" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\Common\Prod\Ingest.Proto\Ingest.Proto.csproj" />
</ItemGroup>
<ItemGroup>
<Protobuf Include="..\..\..\Common\Prod\Ingest.Proto\IngestMsg.proto" Link="IngestMsg.proto" ProtoCompile="false" GrpcServices="None" />
<Protobuf Include="..\..\..\Common\Prod\Ingest.Proto\IngestSvcApis.proto">
<Link>IngestSvcApis.proto</Link>
</Protobuf>
</ItemGroup>
</Project>
NCrunch 4.4.0.12 Visual Studio Pro 16.7.2
|
|
|
|
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC) Posts: 7,144
Thanks: 959 times Was thanked: 1290 time(s) in 1196 post(s)
|
Hi, thanks for sharing this problem.
The Protobuf build items are a custom type that NCrunch hasn't been programmed to auto detect. To resolve this problem, you'll need to include these files using the 'Additional files to include' setting so they are copied to the NCrunch workspace.
|
2 users thanked Remco for this useful post.
|
|
|
Rank: Member
Groups: Registered
Joined: 7/26/2012(UTC) Posts: 12 Location: United Kingdom
Thanks: 2 times
|
Seems to have solved those projects that need "Proto" files. Thanks
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
YAF |
YAF © 2003-2011, Yet Another Forum.NETThis page was generated in 0.030 seconds.