Comments (17)
Have you tried to call it from PTMagic folder? like dotnet Monitor/Monitor.dll
from ptmagic.
Same result:
root@profi:/var/opt/PTMagic# dotnet Monitor/Monitor.dll
Error:
An assembly specified in the application dependencies manifest (Monitor.deps.json) was not found:
package: 'Microsoft.AspNetCore.Antiforgery', version: '2.0.1'
path: 'lib/netstandard2.0/Microsoft.AspNetCore.Antiforgery.dll'
This assembly was expected to be in the local runtime store as the application was published using the following target manifest files:
aspnetcore-store-2.0.3.xml
root@profi:/var/opt/PTMagic#
from ptmagic.
This is strange. Worked for me that way, although the error was a little different. Can you confirm that the file isn't there?
from ptmagic.
The file is there ...
root@profi:/var/opt/PTMagic/Monitor# ls -l | grep deps
-rwxrwxrwx 1 administrator administrator 300125 Feb 17 14:40 Monitor.deps.json
root@profi:/var/opt/PTMagic/Monitor#
from ptmagic.
Can you please navigate to the 'Monitor' folder and try the command 'dotnet restore'?
This should download all dependencies defined in the 'Monitor.deps.json'. If this is done please try to start the monitor application again. Maybe something went wrong with the installation of the .NET framework.
from ptmagic.
@i1wan The .NET runtime is looking for the file lib/netstandard2.0/Microsoft.AspNetCore.Antiforgery.dll, not the Monitor.deps.json. Found these links saying that the "Microsoft .NET Core 2.0.0 Linux Server Hosting" needs to be installed on a linux machine. Maybe this helps...
https://www.tonyranieri.com/blog/2017/10/27/Hosting-.Net-Core-On-Linux/ (Chapter: Install .Net Core Hosting Package)
from ptmagic.
"Microsoft .NET Core 2.0.0 Linux Server Hosting" is installed ... see below ...
root@profi:/var/opt/PTMagic# apt-cache search dotnet
libgtk2.0-cil - CLI binding for the GTK+ toolkit 2.12
libgtk2.0-cil-dev - CLI binding for the GTK+ toolkit 2.12
libgtk-dotnet3.0-cil - GTK.NET library
libgtk-dotnet3.0-cil-dev - GTK.NET library - development files
dotnet-dev-1.0.4 - .NET Core SDK 1.0.4
dotnet-dev-1.1.4 - .NET Core SDK 1.1.4
dotnet-dev-1.1.5 - .NET Core SDK 1.1.5
dotnet-dev-1.1.6 - .NET Core SDK 1.1.6
dotnet-dev-1.1.7 - .NET Core SDK 1.1.7
dotnet-host - Microsoft .NET Core Host - 2.0.5
dotnet-hostfxr-1.0.1 - Microsoft .NET Core 1.0.6 - Host FX Resolver 1.0.1
dotnet-hostfxr-1.1.0 - Microsoft .NET Core 1.1.3 - Host FX Resolver 1.1.0
dotnet-hostfxr-2.0.0 - Microsoft .NET Core Host FX Resolver - 2.0.0 2.0.0
dotnet-hostfxr-2.0.0-preview2-25407-01 - Microsoft .NET Core Host FX Resolver - 2.0.0 Preview 2 2.0.0-preview2-25407-01
dotnet-hostfxr-2.0.3 - Microsoft .NET Core Host FX Resolver - 2.0.3 2.0.3
dotnet-hostfxr-2.0.4 - Microsoft .NET Core Host FX Resolver - 2.0.4 2.0.4
dotnet-hostfxr-2.0.5 - Microsoft .NET Core Host FX Resolver - 2.0.5 2.0.5
dotnet-hosting-2.0.0 - Microsoft .NET Core 2.0.0 Linux Server Hosting
dotnet-hosting-2.0.3 - Microsoft .NET Core 2.0.3 Linux Server Hosting
dotnet-hosting-2.0.4 - Microsoft .NET Core 2.0.4 Linux Server Hosting
dotnet-hosting-2.0.5 - Microsoft .NET Core 2.0.5 Linux Server Hosting
dotnet-runtime-2.0.0 - Microsoft .NET Core Runtime - 2.0.0 Microsoft.NETCore.App 2.0.0
dotnet-runtime-2.0.0-preview2-25407-01 - Microsoft .NET Core Runtime - 2.0.0 Preview 2 Microsoft.NETCore.App 2.0.0-preview2-25407-01
dotnet-runtime-2.0.3 - Microsoft .NET Core Runtime - 2.0.3 Microsoft.NETCore.App 2.0.3
dotnet-runtime-2.0.4 - Microsoft .NET Core Runtime - 2.0.4 Microsoft.NETCore.App 2.0.4
dotnet-runtime-2.0.5 - Microsoft .NET Core Runtime - 2.0.5 Microsoft.NETCore.App 2.0.5
dotnet-sdk-2.0.0 - Microsoft .NET Core SDK - 2.0.0
dotnet-sdk-2.0.0-preview2-006497 - Microsoft .NET Core SDK 2.0.0 Preview 2
dotnet-sdk-2.0.2 - Microsoft .NET Core SDK - 2.0.2
dotnet-sdk-2.0.3 - Microsoft .NET Core SDK - 2.0.3
dotnet-sdk-2.1.2 - Microsoft .NET Core SDK - 2.1.2
dotnet-sdk-2.1.3 - Microsoft .NET Core SDK - 2.1.3
dotnet-sdk-2.1.4 - Microsoft .NET Core SDK - 2.1.4
dotnet-sharedframework-microsoft.netcore.app-1.0.5 - Microsoft .NET Core 1.0.5 - Runtime Microsoft.NETCore.App 1.0.5
dotnet-sharedframework-microsoft.netcore.app-1.0.7 - Microsoft .NET Core 1.0.7 - Runtime Microsoft.NETCore.App 1.0.7
dotnet-sharedframework-microsoft.netcore.app-1.0.8 - Microsoft .NET Core 1.0.8 - Runtime Microsoft.NETCore.App 1.0.8
dotnet-sharedframework-microsoft.netcore.app-1.0.9 - Microsoft .NET Core 1.0.9 - Runtime Microsoft.NETCore.App 1.0.9
dotnet-sharedframework-microsoft.netcore.app-1.1.2 - Microsoft .NET Core 1.1.2 - Runtime Microsoft.NETCore.App 1.1.2
dotnet-sharedframework-microsoft.netcore.app-1.1.4 - Microsoft .NET Core 1.1.4 - Runtime Microsoft.NETCore.App 1.1.4
dotnet-sharedframework-microsoft.netcore.app-1.1.5 - Microsoft .NET Core 1.1.5 - Runtime Microsoft.NETCore.App 1.1.5
dotnet-sharedframework-microsoft.netcore.app-1.1.6 - Microsoft .NET Core 1.1.6 - Runtime Microsoft.NETCore.App 1.1.6
root@profi:/var/opt/PTMagic#
from ptmagic.
The version (that it uses by default) also looks ok
root@profi:~# dotnet --version
2.0.2
root@profi:~#
from ptmagic.
The "dotnet restore" did not help either:
root@profi:/var/opt/PTMagic/Monitor# dotnet restore
Welcome to .NET Core!
---------------------
Learn more about .NET Core @ https://aka.ms/dotnet-docs. Use dotnet --help to see available commands or go to https://aka.ms/dotnet-cli-docs.
Telemetry
--------------
The .NET Core tools collect usage data in order to improve your experience. The data is anonymous and does not include command-line arguments. The data is collected by Microsoft and shared with the community.
You can opt out of telemetry by setting a DOTNET_CLI_TELEMETRY_OPTOUT environment variable to 1 using your favorite shell.
You can read more about .NET Core tools telemetry @ https://aka.ms/dotnet-cli-telemetry.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
root@profi:/var/opt/PTMagic/Monitor# dotnet Monitor.dll
Error:
An assembly specified in the application dependencies manifest (Monitor.deps.json) was not found:
package: 'Microsoft.AspNetCore.Antiforgery', version: '2.0.1'
path: 'lib/netstandard2.0/Microsoft.AspNetCore.Antiforgery.dll'
This assembly was expected to be in the local runtime store as the application was published using the following target manifest files:
aspnetcore-store-2.0.3.xml
root@profi:/var/opt/PTMagic/Monitor#
from ptmagic.
Did you try to remove dotnet (core) from your machine and start fresh? Maybe something went wrong with the initial install.
Other than that, we are no Unix experts and do not run any Unix project, so our support on that platform is kinda limited to be honest.
from ptmagic.
I'm getting the same error.
from ptmagic.
Upgrade your dotnet version. I had the same issue. Fixed when using:
# dotnet --version
2.1.4
from ptmagic.
The latest core seems to be 2.0.5, and the latest SDK is 2.1.4. This is what I have and this does not help, I still get this error.
My output for
dotnet --version
2.1.4
Still have the error.
from ptmagic.
Hi there! On my side the monitor .dll is not there altogether ... 'No executable found matching command "dotnet-Monitor/Monitor.dll". PLease advise
from ptmagic.
There shouldn't be a hyphen between dotnet and Monitor/Monitor.dll
It's as follows:
dotnet Monitor/Monitor.dll
Assuming you are in your PT Magic directory.
from ptmagic.
See Closed issue #65, see if this solves this one as well, as they appear to be the same.
from ptmagic.
Closing this as there was no feedback for a couple of days from the original poster.
from ptmagic.
Related Issues (20)
- Wich files should I copy when UPGRADE HOT 1
- New PTmagic on PT 2 ERRORed OUT@ Loading current Profit Trailer properties from API...
- Update NLog to latest version, instead of BETA
- Market Data Errorr HOT 1
- PTMagic Monitor Update Failed with PT 2.1 HOT 14
- implementation of new PT 2.1 features such as StochRSI?
- Can't create a branch to help develop HOT 1
- PTMagic 2.0.3 not working on Ubuntu
- Problem with PTMagic Monitor v2.0.3 running in Ubuntu 17.10 64bit
- Monitor not working no more with PT 2.1 even followed djbladder instructions HOT 2
- PTMagic - unable to load ProfitTrailerData.json (because was not created) HOT 1
- Some trends showing as ∞ HOT 2
- Monitor is redirecting (to "ip:port/pt-magic-path") & does not open (http Error 440)
- PTMM doesnt show last sales HOT 2
- java.lang.IllegalStateException: Form too large: 228838 > 200000 HOT 1
- PT Magic Discord Channel? HOT 1
- version 2.0.5 monitor issue HOT 8
- updating 2.0.3 to 2.0.5 HOT 2
- >> README << PTMagic has MOVED to a New GITHUB
- PT Magic Monitor Permission problem in Raspberry Pi
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 ptmagic.