XamlParseException: Could not load file or assembly 'ResourceLibrary, …' or one of its dependencies. The system cannot find the file specified

Issue System.Windows.Markup.XamlParseExceptionoccurred A first chance exception of type ‘System.Windows.Markup.XamlParseException’ occurred in PresentationFramework.dll Additional information: ‘Set property ‘System.Windows.ResourceDictionary.Source’ threw an exception.’ Line number ’21’ and line position ‘6’. “Could not load file or assembly ‘ResourceLibrary, Culture=neutral’ or one of its dependencies.

Continue reading

How to naming namespaces for product that have sub-products/modules?

Issue I read that carefully. And yes very helpful! https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces Assuming you have following products and namespaces Microsoft.Dynamics.Inventory is a DLL Microsoft.Dynamics.Bank is a DLL Each of above have (Views, Reports, Utils, etc) Microsoft.Dynamics.Inventory.DLL Should I go for that? Microsoft.Dynamics.Inventory.Sales.Reports

Continue reading

MSBUILD : Configuration error MSB4148 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" has zero length

Issue I’m trying yo install electron-chromedrive by using yarn, so by doing this command: yarn add –dev electron-chromedriver –network-timeout 100000 But it gives the following error: MSBUILD : Configuration error MSB4148 "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\4.0" has zero length Precisely: gyp ERR! build error

Continue reading

VS Code "gyp ERR! find VS"

Issue althogh I’ve searched to get this error solved I couldn’t find any proper solution. Visual Studio 2019 with complete C++ developer tools is installed as well as Python. Anyhow I get this error when I install bcryptjs in VSCode:

Continue reading

Angular and .Net Core Project VS 2022: An unhandled exception occurred: Project 'Leon\AppData\Roaming\ASP.NET\https\<projectName>.pem' does not exist

Issue Hello I am building an Angular/.Net Core project and creating the projects by following Microsoft’s suggestion, https://docs.microsoft.com/en-us/visualstudio/javascript/tutorial-asp-net-core-with-angular?view=vs-2022. I created one on my laptop which starts without a problem and one on my PC which fails. The key difference and

Continue reading

PUT and POST methods work in Postman but only POST works in Angular 10

Issue This in my "edit-continent.component.ts" addContinent(continentData) { this.continent.name = continentData.name; this.continentService.addContinent(this.continent).subscribe((response) => { (data) => (this.continent = { id: (data as any).id, name: (data as any).name, }); this.ngOnInit(), this.continentForm.reset(); }); } editContinent(continentData) { this.continent.id = this.continentId; this.continent.name = continentData.name; console.log(`${this.continentId}`);

Continue reading