Git Product home page Git Product logo

Comments (4)

karpikpl avatar karpikpl commented on May 26, 2024

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.

karpikpl avatar karpikpl commented on May 26, 2024

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.

chullybun avatar chullybun commented on May 26, 2024

Hey @karpikpl, fix applied and packages pushed to NuGet. Let me know how you get on. Cheers :-)

from beef.

karpikpl avatar karpikpl commented on May 26, 2024

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:

  1. clone Beef master branch
  2. go to samples/demo
  3. 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.