Since two years we develop own nuget-packages in our company. It was a problem to debug these packages when we ran into errors with them. So we needed to setup a symbol-server…
Continue reading Setting up a Symbol Server for .NET with Bitbucket and GitLinkCategory Archives: VB.net
Could not load file or assembly sapnco, Version=3.0.0.42
Recently I had the following error:
Could not load file or assembly ‘sapnco, Version=3.0.0.42, Culture=neutral, PublicKeyToken=50436dca5c7f7d23’ or one of its dependencies. The system cannot find the file specified.
The version of the SAP-Connector depends on .Net Framework 2.0 and needs “Microsoft Visual C++ 2005 Redistributable Package”. After installing this packaged, the error was solved. You have to install the correct version (x86 or x64).
The “VerifyClickOnceSigningSettings” task failed unexpectedly.
This error occurs when you are trying to develop office applications.
Error The “VerifyClickOnceSigningSettings” task failed unexpectedly.
System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.VisualStudio.Tools.Applications.Hosting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. Das System kann die angegebene Datei nicht finden.
This error means that he can’t find an assembly which is contained in VSTA-SDK. The SDK can be download from microsoft website.
[VB.net] How to return calendar week from a date
This is a method how to calculate the calendar week from a date:
Imports System.Globalization
Public Function getCalendarWeek(ByVal Datum As Date) As Short
Dim CUI As New CultureInfo (CultureInfo.CurrentCulture.Name)
Return CUI.Calendar.GetWeekOfYear(Datum,_
CUI.DateTimeFormat.CalendarWeekRule,_
CUI.DateTimeFormat.FirstDayOfWeek)
End Function