GithubHelp home page GithubHelp logo

Comments (15)

Rickedb avatar Rickedb commented on July 29, 2024 1

Checking https://github.com/Rickedb/OpenProtocolInterpreter/actions/runs/40249169, seems that it's really problem with the filename, since all errors are popping in the files that you changed for the pull request.

Going to check it at night and bring some news here...

from setup-dotnet.

Rickedb avatar Rickedb commented on July 29, 2024 1

The problem really was extension in uppercase. GitHub actions build is working as expected now.

from setup-dotnet.

inhifistereo avatar inhifistereo commented on July 29, 2024

I am seeing the same.

from setup-dotnet.

ZEisinger avatar ZEisinger commented on July 29, 2024

@Rickedb and @inhifistereo is your build working locally on a linux machine?

For mac, could you try macos-latest instead? I was able to get the project working on macos-latest.

from setup-dotnet.

inhifistereo avatar inhifistereo commented on July 29, 2024

I'll have to set it up.

from setup-dotnet.

Rickedb avatar Rickedb commented on July 29, 2024

@ZEisinger Haven't tried locally on linux, I'll try it out and update you ASAP.

Tried macos-latest using the same yaml. Could setup and build project but could not test my .net core 2.0 test project. (I'm using version 3.0.100-rc1-014190)

Do I need to get .net core 2.0 SDK too when running action when on macos?

macos-latest try:
https://github.com/Rickedb/OpenProtocolInterpreter/commit/df5db7248d6739541aa28ef0084e03eb3be951f5/checks?check_suite_id=389147108

My tests:
https://github.com/Rickedb/OpenProtocolInterpreter/actions?query=branch%3Agithub-actions-test

from setup-dotnet.

Rickedb avatar Rickedb commented on July 29, 2024

@ZEisinger Same behaviour when running on a Linux environment (tried on Ubuntu 19.04)

Maybe .Net Standard references some .net framework library when building?? Any clue on it ?
Going to check .Net CLI GitHub if I can figure out something, if not, I might open this issue right there.

from setup-dotnet.

rainersigwald avatar rainersigwald commented on July 29, 2024

@Rickedb the 3.0 SDK can build .NET Core 2.0 projects, but it can't run them if the .NET Core 2.0 runtime isn't also available on the test machine.

To build with 3.x but run on 2.x you might need #25.

from setup-dotnet.

Rickedb avatar Rickedb commented on July 29, 2024

@rainersigwald I've made 2 tests:

  1. Switched in GitHub Actions to build with .NET Core 2.2 Here
  2. Switched my .NET Standard project to 2.1 and .NET Core (tests project) to 3.0 Here

Both of them haven't worked on Ubuntu.
Also, I`m not having problem with .NET Core but with the .NET Standard project.

from setup-dotnet.

coderpatros avatar coderpatros commented on July 29, 2024

@Rickedb are you still hitting this issue? If so can you share the repo that is hitting it? I'm using this without issue (except the SxS install workaround).

Edit: just realised you did share the repo. I'll try to do some digging over the next couple of days. If you are still hitting it?

from setup-dotnet.

Rickedb avatar Rickedb commented on July 29, 2024

@coderpatros I've just set it to build in Windows environment and never tried again to work with Ubuntu or Mac. Probably still running the same issues.

Feel free to fork the repo and contact me if any help needed!

from setup-dotnet.

coderpatros avatar coderpatros commented on July 29, 2024

@Rickedb this isn't an issue with this action.

Your MIDTesters project targets full framework 4.6.1. The github hosted runners have that targeting pack installed out of the box for Windows which is why it works.

If you want you could look at using mono for non-Windows platforms. But I think, just from personal experience, it is probably better to attempt to migrate that project to standard or core if you can.

from setup-dotnet.

Rickedb avatar Rickedb commented on July 29, 2024

@coderpatros I don't remember how the workflow file was, since every log is now gone because I deleted the branch which I was testing it.

Looking at my file now, I use dotnet test src/MIDTesters.Core/MIDTesters.Core.csproj which is a .Net Core project not Framework.

Checking https://github.com/ZEisinger/OpenProtocolInterpreter/blob/master/.github/workflows/build.yml, this was when @ZEisinger forked it, seems like it was targeting .Net Core too and build runs only on OpenProtocolInterpreter.csproj, which is a .Net Standard project.

Also, I remember using mono to achieve publishing nuget packages.

Btw I need try again to validate if it still happens or if it was my dumb mistake of trying to build a .net framework in a Unix environment, everything points to the opposite, but you know, we do these mistakes all the time 😂

from setup-dotnet.

coderpatros avatar coderpatros commented on July 29, 2024

Oh, I thought I saw a reference to MIDTesters from OpenProtocolInterpreter project. But think I was mistaken.

from setup-dotnet.

coderpatros avatar coderpatros commented on July 29, 2024

Ah... I think I've found the problem. I'll raise a PR on your project soon hopefully

from setup-dotnet.

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.