Click here to Skip to main content
15,867,568 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Dynamic menu on asp.net ?? My project has a complete management part and the front is just a dynamics. I have a problem. How can I solve this problem? Pin
Gerry Schmitz6-Jul-21 7:17
mveGerry Schmitz6-Jul-21 7:17 
QuestionAnother JQuery datepicker question Pin
pkfox18-Jun-21 3:03
professionalpkfox18-Jun-21 3:03 
AnswerAnother JQuery datepicker question - Solved Pin
pkfox19-Jun-21 22:40
professionalpkfox19-Jun-21 22:40 
SuggestionRe: Another JQuery datepicker question Pin
Richard Deeming20-Jun-21 23:04
mveRichard Deeming20-Jun-21 23:04 
GeneralRe: Another JQuery datepicker question Pin
pkfox21-Jun-21 21:37
professionalpkfox21-Jun-21 21:37 
GeneralRe: Another JQuery datepicker question Pin
Richard Deeming21-Jun-21 21:43
mveRichard Deeming21-Jun-21 21:43 
GeneralRe: Another JQuery datepicker question Pin
pkfox21-Jun-21 21:46
professionalpkfox21-Jun-21 21:46 
QuestionRegarding Use of System.Text.JSON Pin
Member 1522917418-Jun-21 1:13
Member 1522917418-Jun-21 1:13 
Hi,

I have created one C# dll of .Net Framework 4.7.2. In this DLL, I want to deserialize the JSON file and when I have added the code for deserialization ,I got compilation error to install the NuGet package
After installing System.Text.Json NuGet package of latest version(5.0.2), dll builds successfully.
When I connect this Dll with the C++ application and calls the deserialization method of the DLL, at that time I got one run time exception stating that:
“Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.”

Solutions I Tried:

1) I tried to change in the app.config file with the value of the version which is specified in the error.
If you use Net Framework projects with xxx.config file, you could use bindingRedirect.
Add these in app.config file or web.config file:
<configuration>
<runtime>
<assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentassembly>
<assemblyidentity name="System.Runtime.CompilerServices.Unsafe"
="" publickeytoken="b03f5f7f11d50a3a" culture="neutral">
<bindingredirect oldversion="0.0.0.0-4.0.4.1"
="" newversion="4.0.4.1">





After changing in app. Config file , I got different run time exception:
“System.IO.FileNotFoundException: 'Could not load file or assembly 'System.Buffers, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.'”

I tried changing the version of System. Buffers also in config file, but still getting the same error.

2) I tried to install the System.Text.Json of version 4.7.2
In this version also I am getting the same System. Buffers error.


Note: If we use the .Net 5.0.0(Core version) then System.Text.Json already present in it as default but with this version we are not able the generate the .tlb file as Regasm.exe gives error while registering the dll and in .Net 5.0.0 Register for COM interop is also disabled.

Thank you in advance.
AnswerRe: Regarding Use of System.Text.JSON Pin
Dave Kreskowiak18-Jun-21 6:06
mveDave Kreskowiak18-Jun-21 6:06 
QuestionWindows update KB5003637 has caused my ReactJS/C# .NetCore app to ERR_HTTP2_PROTOCOL_ERROR 200 Pin
jtaki14-Jun-21 4:52
jtaki14-Jun-21 4:52 
AnswerRe: Windows update KB5003637 has caused my ReactJS/C# .NetCore app to ERR_HTTP2_PROTOCOL_ERROR 200 Pin
Pete O'Hanlon14-Jun-21 4:58
subeditorPete O'Hanlon14-Jun-21 4:58 
GeneralRe: Windows update KB5003637 has caused my ReactJS/C# .NetCore app to ERR_HTTP2_PROTOCOL_ERROR 200 Pin
jtaki15-Jun-21 18:22
jtaki15-Jun-21 18:22 
AnswerRe: Windows update KB5003637 has caused my ReactJS/C# .NetCore app to ERR_HTTP2_PROTOCOL_ERROR 200 Pin
Richard Deeming14-Jun-21 5:49
mveRichard Deeming14-Jun-21 5:49 
QuestionJQuery datepicker Pin
pkfox10-Jun-21 22:14
professionalpkfox10-Jun-21 22:14 
AnswerRe: JQuery datepicker Pin
SeeSharp211-Jun-21 1:22
SeeSharp211-Jun-21 1:22 
GeneralRe: JQuery datepicker Pin
pkfox12-Jun-21 0:15
professionalpkfox12-Jun-21 0:15 
QuestionRe: JQuery datepicker Pin
SeeSharp214-Jun-21 1:12
SeeSharp214-Jun-21 1:12 
AnswerRe: JQuery datepicker Pin
pkfox14-Jun-21 6:21
professionalpkfox14-Jun-21 6:21 
AnswerRe: JQuery datepicker Pin
SeeSharp214-Jun-21 7:02
SeeSharp214-Jun-21 7:02 
GeneralRe: JQuery datepicker Pin
pkfox14-Jun-21 21:48
professionalpkfox14-Jun-21 21:48 
GeneralRe: JQuery datepicker Pin
SeeSharp215-Jun-21 1:21
SeeSharp215-Jun-21 1:21 
GeneralRe: JQuery datepicker Pin
pkfox15-Jun-21 21:43
professionalpkfox15-Jun-21 21:43 
GeneralRe: JQuery datepicker Pin
SeeSharp216-Jun-21 2:02
SeeSharp216-Jun-21 2:02 
GeneralRe: JQuery datepicker Pin
pkfox16-Jun-21 4:42
professionalpkfox16-Jun-21 4:42 
GeneralRe: JQuery datepicker Pin
SeeSharp216-Jun-21 5:01
SeeSharp216-Jun-21 5:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.