-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error MSB4236 (The SDK 'Elskom.Sdk' specified could not be found) #194
Comments
That is because recently the .NET SDK became broken recently where it cannot find the one installed under dotnet/packs for some unknown reason. I think I might have to instead republish it under github packages, however the cli would not be able to support that I been looking for a way to bundle the sdk itself into the runtime installer (with the templates as well). Also if you want, you could help localize the code if you feel up to it, I lack people who can localize to KR. |
awwww dotnet broken? kinda sad and about the a localize the code |
Alright, I was planning to go into the codebase and extract worthy strings to resx anyway. To localize then you would have to change the resx files. |
All right, I think I can do that much! discord: Human#4419 (fast response) |
Leaving this open until the .NET SDK gets fixed. |
Looks like the only way to fix this is to push the sdk to the github packages feed and require one to run the exe installers for the runtime. Also to resolve the sdk one would then be required to add the github packages feed using |
All right sorry but, I don't know how to do everything but push "sdk". |
Currently the runtime is not meant to be built manually (but could be however), the Sdk I feel should be pushed to github packages where github requires a personal access token in order to read the packages feed (with the |
Alternatively, the tool could instead, download the Elskom.Sdk nuget package and store it into its own nuget package feed (a folder feed) and have it silently add the feed if it does not see it as one of nuget's feeds. A benefit to that is then you would not need to figure out how to create a personal access token for github packages. |
Did you run the exe installers in the Elskom/runtime repository under the latest release? |
Elskom.Sdk.App, Elskom.Sdk.App.Ref is runtime right? the errors means: building runtime is possible now but i don't know what should i do with this. ...wait the exe installer means this? |
those are not meant to be consumed through nuget, those are meant to be located in Also those are marked with |
I will work on fixing the installer where it will not try installing the Sdk and instead try to resolve the Sdk itself through nuget when you go to restore projects that use it in the meantime. |
A new Sdk release should be out soon, I decided to stabilize it's version because the variable where it sets the runtime version is generated by the installer dotnet tool, I will also look into updating the tool to not download the sdk package as well. Note: Elskom.Sdk v1.0.0 will be published to nuget.org so no personal access token will be required for that. As for the runtime, the Any rid nuget packages will be removed soon for rid specific ones because I realize the error of how I set them up before, so there will be additional edits to the runtime itself. |
Completed: Elskom/Sdk#259 |
For the installer, I will look into having the installer extract the runtimes based on the runtime that is used to run the installer (e.g. for x64 it will install the x64 runtime in the x64 dotnet and install the x86 runtime in the x86 dotnet if x86 dotnet sdk is also installed, for x86 pc's it will only install the x86 runtime, as for arm64 I am not sure what will happen as I do not own any devices for windows on arm64). Either that or have it download the exe installers and run them silently. Actually, I think silent installs are a good option for the installer tool to use that way it does not require any special work (or logic). |
@HumanKR https://github.com/Elskom/runtime/releases a new thing you can use to manually install the runtime, the tool will look also compare the one installed via the exe installers there and if it matches the version that it looks for it should prefer that over the nuget packages (which the old runtime nuget package was unlisted so it might break the installer some atm). |
I have made the SDK automatically detect the version of the runtime that is installed, so then you are free to update it or whatever and the SDK will automatically use the latest version installed. As for the .NET tool that installs the workload, I can now patch that soon to only install the runtime, reference pack, and the templates in a cross-platform way. Note: The runtime can now also be installed from the installers from here as well: https://github.com/Elskom/runtime/releases |
Describe the bug
I cant find it actually because i'm not c# coder but I tried my best
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/Elskom/Els_kom_new.git
in "C:"dotnet build --configuration Release --ignore-failed-sources
dotnet tool restore
dotnet elskom-check install
dotnet build -c Release
Expected behavior
build successfully with cmd or visual studio community 2022
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I finding someone have a same problem in issues and discussions but i can't find it
i checked PATH already and Elskom.Sdk seems like installed fine in
C:\Program Files\dotnet\packs\Elskom.Sdk
I can't understand why cmd still not find Elskom.Sdk please help ;-;
The text was updated successfully, but these errors were encountered: