Comments (4)
Please provide additional information, such as the full error message, a code example that generates it...etc
It's not possible to help you otherwise.
from betterconsoletables.
Yes, hello
better-console-tables-wrapper.zip
I atached repo.
I want to wrapp lib to learn to use it, and produce some standard way of it.
I add test app. Here is proj file
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<ProjectReference Include="..\Better.Console.Tables.Wrapper\Better.Console.Tables.Wrapper.csproj" />
</ItemGroup>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BetterConsoleTables" Version="1.1.3" />
</ItemGroup>
</Project>
I copy first method from ur example
using BetterConsoleTables;
using AConsole = System.Console;
namespace Better.Console.Tables.TestApp;
internal class Program
{
private static void Main(string[] args)
{
NoRows();
AConsole.WriteLine("Complete");
AConsole.ReadLine();
}
private static void NoRows()
{
Column[] headers = new[]
{
new Column("Left"),
new Column("Left Header"),
new Column("Right Header"),
};
var table = new Table(headers);
table.Config = TableConfig.Unicode();
var ret = table.ToString();
AConsole.Write(ret);
}
}
This is my problem
The type or namespace name 'Column' could not be found (are you missing a using directive or an assembly reference?
Now there was some warrning that nuget is not stamped by nuget,org or whatever, but after admin mode it was gone when installing it.
I checked from ur repo for this namespace. It is there.
There was problem with compiling ur repo till i comented some preformance testing class.
I dont know what is the problem
from betterconsoletables.
The problem is you have version 1 installed from nuget, and are trying to use the v2 api. Types are not found because they don't exist, that's not a problem with this lib.
The readme for this repo has examples of how to use v1 of this library, please use those if you are using v1. If you want to use v2, you will need to install the beta nuget package.
from betterconsoletables.
Thank you for information.
I will try to use it when i go back to this task.
from betterconsoletables.
Related Issues (20)
- Version 2 (Colors, New API, and More) HOT 7
- Buffer size to be too large. HOT 6
- Html output HOT 4
- IndexOutOfRangeException when no rows were given HOT 4
- Version 2 default table text color HOT 10
- Exception when piping to file HOT 6
- Live table updates HOT 5
- [Bug] [Hard] Inner/Custom formatting in cells can reset that cells general formatting
- [Enhancement] Add pseudo-bold & dim for RGB colors
- Error no rows HOT 5
- [BUG] RPI 4 ARM Linux System.PlatformNotSupportedException "Popcnt.PopCount" HOT 2
- header width not quite right HOT 3
- Print tables side-by-side. HOT 3
- Multiline support in a Cell HOT 5
- ForegroundColor seems to break the table. HOT 3
- [Enhancement] Make formatting for Table.From() path easier
- Weird quirck HOT 10
- [Feature Request] Add rendering to image HOT 1
- Chinese is not supported HOT 2
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 betterconsoletables.