Comments (7)
Fixed in 7.2.1, which uses a custom build of flatc :)
from flatsharp.
Agree completely. You've actually inspired me to see if I can get flatc to add a drive letter to the relative path.
from flatsharp.
Yeah, looks to be working fine 😄
Thanks! 😁
from flatsharp.
This is a known issue. Unfortunately, there is little I can do about it.
FlatSharp uses the paths generated by flatc internally. These paths are all relative, and on Windows they do not include the drive letter. An example of a real path that flatc produces is this:
//../../../:/git/FlatSharp/test.fbs
Unfortunately, the drive letter is not present, so FlatSharp can only make guesses about the location of the file. It looks like you've contributed to google/flatbuffers before. One thing that would allow me to effectively mitigate this would be an option to add absolute paths to bfbs output instead of relative.
from flatsharp.
Ah I see... But that would probably break backwards compatibility, so I'm guessing they won't implement that.
I can see if I find some way to have the nuget packages cached on the same drive as the source code.
Thanks for the quick answer! 😄
from flatsharp.
Would be nice to have some kind of detection for seperate drives and give a better exception message tho 🤔
from flatsharp.
@OptoCloud -- is this working for you now?
from flatsharp.
Related Issues (20)
- Namespace not found HOT 1
- Implementation of IInputBuffer for ReadOnlySequence<byte> HOT 6
- Share table HOT 2
- [Bug] Using the latest "Standalone" `FlatSharp` nuget in a .net6 project; generates a file that requires `IPoolableObject` HOT 2
- Reducing compiler generated file HOT 15
- Duplicate fbs filenames in different folders break compilation HOT 2
- Getting TypeLoadException when trying to access FlatSharp types HOT 9
- Shared fbs between multiple projects HOT 11
- Warnings with new shared project feature HOT 3
- AOT exception when running a game built with Unity 2021.3 IL2CPP HOT 3
- Don't use Nullable properties for GreedyMutable only serializers HOT 4
- Allow fbs fs_serializer attribute to override global code gen settings HOT 2
- Serialization in V7 HOT 1
- Error generating model code when using namespace ending with FlatBuffer in .fbs file HOT 2
- flatsharp.compiler 7.x requires net6.0 SDK HOT 5
- Version conflict detected for Microsoft.CodeAnalysis.Common HOT 2
- Union does not support using the same type HOT 2
- Issue with init-only property when generating FlatSharp schema in .NET 6 HOT 2
- Clean up Exceptions Thrown in Generated Code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flatsharp.