Comments (15)
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.
The problem really was extension in uppercase. GitHub actions build is working as expected now.
from setup-dotnet.
I am seeing the same.
from setup-dotnet.
@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.
I'll have to set it up.
from setup-dotnet.
@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.
@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.
@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.
@rainersigwald I've made 2 tests:
- Switched in GitHub Actions to build with .NET Core 2.2 Here
- 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.
@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.
@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.
@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.
@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.
Oh, I thought I saw a reference to MIDTesters from OpenProtocolInterpreter project. But think I was mistaken.
from setup-dotnet.
Ah... I think I've found the problem. I'll raise a PR on your project soon hopefully
from setup-dotnet.
Related Issues (20)
- Cache fails to be recreated after NuGet package update HOT 6
- Problem matcher does not work with normal verbosity HOT 5
- Dotnet version looking for a version that is not available HOT 1
- All dotnet commands fail due to environment variables HOT 6
- .NET Test invoking an Azure Function: An error occurred trying to start process 'func' with working directory. The system cannot find the file specified. HOT 6
- .NET MAUI IOS HOT 4
- Share this site HOT 1
- Fallback to different installation directory if `/usr/share/dotnet` doesn't available due to permissions HOT 4
- Allow control of the noCdn / no_cdn script parameters HOT 1
- Unauthorised when using `secrets.GITHUB_TOKEN`. Packages not pushed to Github Repository Packages when using PAT. HOT 9
- Add a possibility to specify the verbosity flag for the install-scripts execution HOT 1
- Support SDK workloads HOT 2
- Support explicit architecture for dotnet HOT 1
- Allow tools to cache
- NUGET_AUTH_TOKEN does not work for official NuGet repository HOT 3
- Docs Bug: v4 README points to v3 HOT 2
- Bitcoin HOT 1
- Infrequent "MSB4236: The SDK 'Microsoft.NET.Sdk.Web' specified could not be found" errors with ubuntu 24.04 hosted runner. HOT 7
- cache-dependency-path does not support list of file names, but in description it's said, thay it can HOT 1
- Installed version of .NET not respected. HOT 3
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 setup-dotnet.