Hello Everyone,
I created one addin in C#. i am able to ADD / RUN easily in my vault in one system but when logged in in another system i am getting below error. waiting for your help.
Thanks!
Hello Everyone,
I created one addin in C#. i am able to ADD / RUN easily in my vault in one system but when logged in in another system i am getting below error. waiting for your help.
Thanks!
Do you have .NET Framework 4.7.2 installed on the target machine? .NET Standard is in theory compatible with 4.6.1, but in reality it should be 4.7.2. See this table: .NET Standard | Microsoft Docs
No its not installed any framework. i built project in .net framework 2.0. so just to confirm do i need to install the same version in other system where i have to deploy this addin ?
Hmm, your error shows the issue with .NET Standard library. You might be mixing .NET Framework and .NET Standard which are different things.
.NET Standard is a specification of APIs for .NET. It is relatively new thing.
.NET Framework is an implementation of functions. In particular some versions of .NET Standard are implemented in .NET Framework. As I have mentioned before .NET Standard 2.0 is implemented in .NET Framework 4.7.2. .NET Standard 2.0 is also implemented in .NET Core 2 (cross platform implementation of Framework). As .NET Framework 2.0 was released way before .NET Standard it is not implemented and not supported in .NET Framework 2.0. Those things are a bit confusing and in some time we are going to have just .NET 5 (and perhaps .NET Standard), while .NET Framework and .NET Core will retire (well, .NET 5 would be actually .NET Core)
Can you attach the snapshot of your project setting where you select Framework?
My suggestion, change your project type to .NET Framework anything from 4.0 to 4.6.1 and in this case it won't rely on .NET Standard and will be compatible with all Windows versions. Unless you have a reason to use .NET Standard which is usually when you need to port your code to other OSs, but as PDM is only supported in Windows there are limited cases for this need.
Yes, this is what I was suspecting. Do you have a need to use .NET Standard? If not, switch to .NET Framework.
Sorry but Actually i am not sure about it. if you can give me some hint then it would'be helpful.
In my case. I made one small addin that i have to deploy on other machines.
now may be that remote machines may or may not have .net framework/ standard installed.
So what should i do ? should i try by installing .net framework for it ?
Do you develop cross platform application, i.e. are you sharing the code base with another products which are running on another OS (not Windows) or mobile device, like Android, iOS, MacOs, Linux? If answer is No, there is no need for you to use .NET Standard, just switch to .NET Framework 4.0 to 4.6.1. .NET Framework is installed on pretty much all Windows machines so you won't need your users to install any additional software - this will run as it is.
Do you develop cross platform application, i.e. are you sharing the code base with another products which are running on another OS (not Windows) or mobile device, like Android, iOS, MacOs, Linux? If answer is No, there is no need for you to use .NET Standard, just switch to .NET Framework 4.0 to 4.6.1. .NET Framework is installed on pretty much all Windows machines so you won't need your users to install any additional software - this will run as it is.