Comments (9)
u may try my small tool bflatA(https://github.com/xiaoyuvax/bflata) which scans the .csproj for dependency and build .rsp building script for ur project.
from bflat.
It also ignores auto-generated GlobalUsing.cs
from bflat.
The library doesn't ship with .NET. it comes from nuget. You have to specify it for the same reason you'd have to specify e.g. newtonsoft.json.
from bflat.
I have it from Nuget
using System;
using System.IO;
using System.Security.Cryptography;
using System.Text;
var path = Console.ReadLine();
var decrypted = Encoding.Unicode.GetString(
ProtectedData.Unprotect(
File.ReadAllBytes(path),
null,
DataProtectionScope.LocalMachine));
var directory = Path.GetDirectoryName(path);
File.WriteAllText(Path.Combine(directory, "UserSettings.decrypted"), decrypted);
from bflat.
Oh, nvrm, I see. So I need to specify all libraries I have in a big project?
from bflat.
As I know dotnet generates cache of nuget libraries with path to it. Maybe it's possible to automate it?
from bflat.
bflat is just a compiler. You can orchestrate nuget (even downloads from nuget) with separate tools. For example, MSBuild, or even nuget.exe. bflat is not a build system, you have to bring your own build system. There are many to choose from (GNU Make, MSBuild, ninja, bazel, etc., or just use a shell script).
from bflat.
I see, thank you. What about auto generated files?
I know that this is not supported yet, maybe you can advise how I can specify the generated files myself, but with the addition of a recursive scan of the base files from the project. I would like not to specify the entire project.
from bflat.
I found how to do it ;d
And it works with System.Text.Json
<EmitCompilerGeneratedFiles>true</EmitCompilerGeneratedFiles>
from bflat.
Related Issues (20)
- Please add this method to `ClassConstructionRunner` to make `ReadOnlySpan` returning methods compile HOT 6
- [zerolib] What is the encoding of `string`? HOT 1
- [zerolib] Implement `System.Math` HOT 5
- [zerolib] Binding to C standard library HOT 3
- On Linux, command line arguments cannot contain multi-byte codepoints because of limitation on the String type HOT 5
- Delegate type definition missmatch in zerolib
- enum and flag --no-reflection HOT 2
- Program compiled by `bflat build-il` can't be run on .NET runtime HOT 6
- `bflat build-il` can't target .NET 7 and .NET 8 HOT 11
- `bflat` crashed my computer due to OOM HOT 1
- Wasi-Wasm support? HOT 1
- Tool to generate `*.runtimeconfig.json` and `*.deps.json` HOT 3
- [Windows] Is it possible for `bflat` to generate `gdb` compatible debug info?
- Port for other platforms HOT 2
- `bflat` happily compiles a program without `Main` method HOT 2
- The compiler should set the extension for the output automatically HOT 5
- Not found 'NetSecurityNative'
- Failed to load assembly 'System.Private.CoreLib' HOT 1
- Rider LSP and Analytics does not work HOT 9
- How to include/link external nuget packages HOT 5
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 bflat.