I've trying to update your skype for business-integration. Currently we're using the old sdk which is build with .net 3.5. Now we want to use the new sdk build with .net 4.0. So I've downloaded the actual lync-sdk (which is also for Skype for Business) from https://www.microsoft.com/en-us/download/details.aspx?id=36824 and installed it.
After that I've updated the dlls we're using and tried to run our application. Unfortunately it doesn't work.
To find out what the problem with the new lync-dlls is, I've made a small WPF-Application where I reference the new dlls.
At the moment when I call LyncClient client = LyncClient.GetClient(); I get the following exception:
System.MissingMethodException: 'Methode nicht gefunden: "Microsoft.Lync.Model.LyncClient Microsoft.Lync.Model.LyncClient.GetClient(Boolean)".'
I can see that method in intellisens. I'm a bit confused about this problem.
Anyone has an idea what the problem could be?
I'm working with only Visual Studio 2017 installed on my computer.
The problem is within the Microsoft.Lync.Model.dll. If I use the "old" one which runs with .net 3.5 everything just works fine. Using the new dll I get the Exception
Solved it. The problem was that the SDK-Installer installed the SDK into the GAC and that was the problem.
Related
I'm studying c# and I'm getting the following error in the title when I set up Visual Studio Code or Code- OSS from following sources:
-MS download page
-POP OS shop (tried both flatpak and deb)
I have done a number of steps & tutorials to install SDK and runtime but I'm still unsuccessful.
-Through snap: https://www.youtube.com/watch?v=g0vuTh0Dao8
-Through terminal: https://www.jeremymorgan.com/.../how-to-install-dotnet.../
-Through MS download page: https://dotnet.microsoft.com/en-us/download/dotnet/sdk-for-vs-code?utm_source=vs-code&utm_medium=referral&utm_campaign=sdk-install
C# extension is installed as well.
Right now, I have removed everything I have installed except for OSS itself.
What I'm trying to achieve: Able to set up c# environment on Visual studio.
I do think the issue is due to the wrong path since I was able to confirm earlier that SDK and runtime are installed through terminal using the following commands:
dotnet --list-dks; dotnet --list-runtimes
I would greatly appreciate help on how to successfully set this up or any alternative to code in C#.
Note that I'm new to POP OS (and Linux as a whole) as I just came from Windows. Would very much appreciate as well for a bit less technical terms. Let me know if there's any particular screenshot or commands I would need to run for further checking.
I'll make this brief, below is the main issue I'm having.
I'm learning C# again so I can expand my skillset. Long story short, the tutorial I was following was showing the viewer how to use the above command from VSCode's command palette.
Whenever I try to use said command to generate the files it should, I get the error: "Unable to generate assets to build and debug. OmniSharp server is not running."
Thus far I have tried:
Uninstalling and reinstalling VSCode
Uninstalling and reinstalling the C# Extension in VSCode
Added C:\Windows\System32 to my PATH environment variable
Doing the above plus completely deleting the original project folder, restarting my computer, and remaking the simple "Hello world" print program created using "dotnet new console", inside of a workspace.
I am using:
Windows 10 Pro
Visual Studio Code 1.48.2
.NET SDK 3.1.401
I'm not sure what other information may be necessary, and I've looked through other similar questions, but nothing I try works, even after restarting my machine. I'm at a loss frankly.
Turns out the C# Extension on the current version is just buggy and not working right. Downloading an older version (1.21.16) and installing from VSIX seems to have somewhat fixed the previous issue. At the very least the error message has changed to something else.
For anyone also having this issue, I recommend trying what I did.
I have a Macbook Pro and I am emulating Win10 with VirtualBox to run Visual Code and it keeps giving me multiple errors like "predefined type 'System.Object' is not defined or imported". It gives me the same errors with 'System.String' and 'System.Void', and when I run the application is giving me multiple build errors regarding this missing libraries. I already tried to check if all the components for Visual Code are correctly installed and I already have the .NET Core cross-platform development tools but I was not able to resolve the issue. Is there any workaround to have this working properly?
After making some tests, I believe the problem was given by using VirtualBox as a vm software. I was not able to find a workaround and still use VB as main vm. I installed Parallels and I didn't find any error on my code. This is helpful in case you want to work with Windows Forms Applications in Visual Studio using a MacOS computer. This option is not available in the MacOS version of VS, so if the purpose is to use WFA, you can either use virtualization through Parallels Desktop or installing Mono in your VS for Mac, as I read on other posts regarding this issue.
I was looking through this http://www.mono-project.com/docs/gui/winforms/porting-winforms-applications/ to see if I could port it but it seems MoMA is no longer updated. Is there something newer to check with?
My program is fairly simple, it however uses a WebBrowser control and I think that might be my issue with porting it. Is there any support for WebBrowser in OSX? Is there a good alternative?
Thanks
Try with first installing Visual Studio on Mac (as mentioned in comment). Then create a fresh .NetStandard or .NetCore project and transfer all your files to this new one. The start compiling and resolve any porting errors you get.
Good morning, i'm trying to import the DLL of the Firebird.Client to use with the VS2008 but everytime i add the reference to the dll i get the message:
Warning 1 The referenced component 'FirebirdSql.Data.FirebirdClient' could not be found.
I've tryied to add the reference path to the project, but it doesn't solve the problem.
Is there anything else i can do?
Thanks in advance
Link to where i've download cliente:
http://sourceforge.net/projects/firebird/files/firebird-net-provider/2.6.5/NETProvider-2.6.5.zip/download
I ran into this same problem when I received a new Windows 7 workstation -- it seems to affect Visual Studio 2008 on Windows 7. Everything worked fine in VS2008 on my old Windows XP machine. Unfortunately the ultimate solution for me was to migrate everything to Visual Studio 2010.
Found the problem, to use Firebird with VS2008 i had to use a older version of the Firebird client, that worked just fine. Awsome? Not that much, but if you have no choice like me you can try it too, just use:
Version 2.5.2 for .NET 3.5/2.0 with Entity Framework support