Issue I tried to use Newtonsoft.Json.JsonConvert.SerializeObject(rows, Formatting.Indented) to convert variable to json when debugging, but vs immediate only show non-format string like image I expect to get result like below LINQPad’s result Solution Personally I’m not using immediate window because
Continue readingTag: .net
[SOLVED] Automatically create #region with same name at #endregion
Issue I’m wondering if there is a way to make #region Some Region #endregion Some Region. If there is no way for doing it then maybe is it possible with Resharper? Hope it’s clear what I’m trying to achive here.
Continue reading[SOLVED] Nunit – doesn't discover tests [no error-message]
Issue Unit refuses to dsicover or run my tests in an assembly. This is not the case where Unit produces an error message like “Unable to find test in assembly”. It simply doesn’t discover that I have tests. I right-click
Continue reading[SOLVED] Jump to a certain cell in Syncfusion Spreadsheet Control
Issue I’m using Winforms C# and I would like to add the Syncfusion Spreadsheet Control. I would like to ask, it is possible to jump to a certain cell in the control form from another form? Thanks Solution You can
Continue reading[SOLVED] Are there any known issues of VS 2003/2005 and 2008 coexisting?
Issue Does anyone know of any issues with VS 2003/2005 and 2008 co-existing on the same install. The registry hives are all separated and the .net frameworks all have their own locations. Only issue I can think of is the
Continue reading[SOLVED] HttpClient request no response
Issue I am not getting any response – no error, no bad request status, etc. – when I send a post request to this API route. postData is simply a JSON object. The funny thing here is this: When i
Continue reading[SOLVED] Put translated resx files in a different folder in Visual Studio?
Issue I’ve got a solution with 14 translations and 12 files and the “Resources” folder is getting a bit out of hand. Is there a way to put the translated files into a different folder so I can access the
Continue reading[SOLVED] VS2022 Extensibility: How to resolve "The type 'XXX' exists in both 'Assembly 1' and 'Assembly2' in T4 template execution
Issue I have an extension I’m updating from VS2019 to VS2022. It’s a DSL using the Modeling SDK and has code generation via T4 templates. I have it pretty much converted but, when running the T4s, I get Compiling transformation:
Continue reading[SOLVED] vstest fails to load newtonsoft
Issue I am trying to run the test cases using C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\vstest.console.exe. But some test are failing with exception System.IO.FileLoadException: Could not load file or assembly ‘Newtonsoft.Json, Version=11.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed’ or one of its dependencies. The located
Continue reading[SOLVED] Razor page with existing Database but without Foreign Keys
Issue I am making an intern website with razor Page in .net core 6. The Database existed already and it used for an other .net application. This database hasn’t foreign key and primary key are just technical key. These primary
Continue reading