C#C
C#3y ago
Opto

❔ How to have downloaded nuget packages on the same drive as repository?

The exception I get now is the following:
FlatSharp.Internal.FlatSharpInternalException: FlatSharp Internal Error! Message = 'expect path to exist: C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\tools\net6.0\..\..\..\..\..\..\..\..\source\c#\asp.net\opto-backend\spec\schemas\ClientHeartbeat.fbs'.File = 'PathHelpers.cs', Member = 'NormalizePathName:27'
    at FlatSharp.Internal.FlatSharpInternal.ThrowAssertFailed(String message, String memberName, String fileName, Int32 lineNumber) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Runtime\FlatSharpInternal.cs:line 44    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at FlatSharp.Compiler.PathHelpers.NormalizePathName(String path) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\PathHelpers.cs:line 27    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at AbsolutePathSchemaMutator.NormalizePath(String fbsPath) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\SchemaMutators\AbsolutePathSchemaMutator.cs:line 75    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at AbsolutePathSchemaMutator.Mutate(Schema schema, CompilerOptions options, List`1 postProcessors) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\SchemaMutators\AbsolutePathSchemaMutator.cs:line 41    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at FlatSharp.Compiler.FlatSharpCompiler.ParseSchema(ISerializer`1 serializer, Byte[] bfbs, CompilerOptions options, List`1 postProcessTransforms, ISchemaMutator[] mutators) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\FlatSharpCompiler.cs:line 643    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at FlatSharp.Compiler.FlatSharpCompiler.CreateCSharp(List`1 bfbs, String inputHash, CompilerOptions options) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\FlatSharpCompiler.cs:line 565    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at FlatSharp.Compiler.FlatSharpCompiler.RunCompiler(CompilerOptions options) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\FlatSharpCompiler.cs:line 126    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at FlatSharp.Compiler.FlatSharpCompiler.<>c__DisplayClass8_0.<Main>b__1(CompilerOptions x) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\FlatSharpCompiler.cs:line 59    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
    at FlatSharp.Compiler.FlatSharpCompiler.Main(String[] args) in D:\a\FlatSharp\FlatSharp\src\FlatSharp.Compiler\FlatSharpCompiler.cs:line 55    Common    C:\Users\optocloud\.nuget\packages\flatsharp.compiler\7.2.0\build\FlatSharp.Compiler.targets    136    
Was this page helpful?