Comments (4)
I haven't found a good solution for this yet.
The default value has to be replaced with static readonly
since https://docs.microsoft.com/en-us/dotnet/api/system.io.path.directoryseparatorchar?view=netcore-3.1 is static readonly
from beef.
hey @chullybun
I've reproduced this issue on official Microsoft dotnet core image
root@6be8d9bff878:/# docker run -ti --mount source="$(pwd)",target=/app,type=bind -t mcr.microsoft.com/dotnet/core/sdk:3.1 /bin/bash
root@6be8d9bff878:/# cd app/Sempra.TM2.Database/
root@6be8d9bff878:/app/Sempra.TM2.Database# dotnet run Database -cs "Server=localhost; Database=TM3; User id=sa; Password=xxxxxx"
The directory '.\..' does not exist.
Specify --help for a list of available options and commands.
from beef.
Hey @karpikpl, fix applied and packages pushed to NuGet. Let me know how you get on. Cheers :-)
from beef.
Hey @chullybun
I was able to run database generation on Beef Master on OSX without any issues!
I see some strange behaviors with sample project though - not sure if related.
Steps to reproduce:
- clone Beef master branch
- go to samples/demo
- execute
dotnet test Beef.Demo.Test
Expected
Test Pass
Actual:
SetUp failed for test fixture Beef.Demo.Test.XParallelPersonTest
Multiple failures or warnings in test:
1) This RegisterSetUp function failed to execute successfully.
2) This RegisterSetUp function failed to execute successfully: This RegisterSetUp function failed to execute successfully.
at Beef.Test.NUnit.TestSetUp.InvokeRegisteredSetUp() in /Users/piotr.karpala/projects/Beef/tools/Beef.Test.NUnit/TestSetUp.cs:line 143
at Beef.Test.NUnit.AgentTester..ctor(String username, Object args) in /Users/piotr.karpala/projects/Beef/tools/Beef.Test.NUnit/AgentTester.cs:line 459
at Beef.Test.NUnit.AgentTester`2..ctor(String username, Object args) in /Users/piotr.karpala/projects/Beef/tools/Beef.Test.NUnit/AgentTester.cs:line 898
at Beef.Test.NUnit.AgentTester.Create[TAgent,TValue](String username, Object args) in /Users/piotr.karpala/projects/Beef/tools/Beef.Test.NUnit/AgentTester.cs:line 356
at Beef.Demo.Test.XParallelPersonTest.OneTimeSetUp() in /Users/piotr.karpala/projects/Beef/samples/Demo/Beef.Demo.Test/XParallelPersonTest.cs:line 26
Test Run Failed.
Total tests: 171
Passed: 8
Failed: 80
Total time: 2.9898 Seconds
from beef.
Related Issues (20)
- DataMapping IndexOutOfRangeException exception for incorrect filed names. HOT 1
- Cant add people from middle ages to Beef.Demo
- Sql Text/NText columns cant be used in the Cdc Code Generator as they arent mapped to a .NET type HOT 1
- In the Demo project, RegenerateAll.ps1 changes working directory HOT 1
- Feature idea - redirect from / to swagger
- Feature idea - docker-compose/tye file for running Mr.Hr sample with SQL database
- Feature Request - Asynchronous Call Integrity HOT 2
- Namespaces conflict has occured when creating "User" entity with Cosmos DB HOT 1
- Cosmos DB "PartitionKey has fewer components than defined the collection resource." error in Azure App Service HOT 1
- AgentTester RegisterBeforeRequest ineffective withhin test class.
- .ExpectChangeLogCreated( ) fails when API takes a little longer to return value. HOT 3
- membersToIgnore parameter of ExpectEvent<T>( ) doesn't work HOT 3
- OmitEntityBase breaks entities when used with a custom PathCommon HOT 1
- Merging reference data does not work when using multibyte-charractors HOT 1
- idea: Add conditional branching based on the existence of an ExtraProperty item and an item value to the template in Demo sample.
- Project naming could create confusion with existing "BeEF" public project HOT 1
- Test fails: 'The configured user limit (128) on the number of inotify instances has been reached, or the per-process limit on the number of open file descriptors has been reached' HOT 3
- OpenAPI (Swagger) contains unnecessary models HOT 1
- PagingArgs parameter does not recognized by OpenAPI (Swagger) HOT 3
- Security Policy violation Outside Collaborators HOT 46
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 beef.