Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
75 views

My solution has the following structure: TypeLoadApp |_TypeLoadApp.sln |_ClassLibrary1.dll (is copied via xcopy post-build event of ClassLibrary1.csproj) | |_ClassLibrary1 (netstandard2.0 class ...
bairog's user avatar
  • 3,539
0 votes
1 answer
121 views

I've had this several times now with different packages (Latest was System.ValueTuple) installed using the nuget package manager in Visual Studio. After doing some upgrading of various packages I find ...
CCarter's user avatar
  • 89
0 votes
0 answers
27 views

At some point in an AssemblyResolve handler I have tried to load assemblies coming with complex app.config scheme in a separate domain to let this domain dynamically solve assemblyBinding found in the ...
CitizenInsane's user avatar
0 votes
1 answer
46 views

I'm trying to make a program the saves value to ini file. Already imported Salaros.configparser, declare path with string and try to save some value after some dropdowm value with yes and no. I follow ...
Pavaris Pobhirun's user avatar
0 votes
1 answer
58 views

I have a .NET Framework WPF project (Tested on both 4.6.1 and 4.8) with two configurations, that have the AssemblyName property assigned <PropertyGroup Condition=" '$(Configuration)|$(...
Konoko_kun's user avatar
0 votes
0 answers
60 views

For my console app I have stored app.config in custom path for now AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", "c:\path to config file"); ConfigurationManager.RefreshSection(...
Nitin S's user avatar
  • 7,713
-1 votes
1 answer
262 views

My aim is to create a WPF application that will be used on different PCs and would have an app.config file with a skeleton of connection strings like this: <connectionStrings> <add name=&...
user avatar
0 votes
0 answers
48 views

I used solution from this topic How to have custom nested configuration App.Config nodes and section. But I need a possibility to change values in custom section's properties from code. Now I have &...
Fedor Yudin's user avatar
1 vote
0 answers
253 views

Using a .NET Framework 4.8 as an API application for a website. //web config <add key="id" value="123" /> //code inside main project solution, this works var Id = ...
John's user avatar
  • 3,934
0 votes
0 answers
230 views

My pipeline use few values with tf script and recently I moved all these values to Aws App Config But still few places have references within tf for monitoring purposes. How can I read this value from ...
Key_coder's user avatar
  • 536
0 votes
0 answers
38 views

I would like to configure custom in my app.config. How do i achieve this? This is C# console applications. can you help on this ? <Configurations> <ApiSettings> <BaseUrl>...
Velkumar's user avatar
  • 511
0 votes
1 answer
2k views

I have a C#.Net 4.8 Console Application where I am trying to use NLog for logging to a MSSQL database. My application has the following: private static Logger nLogger = LogManager.GetLogger("...
Mych's user avatar
  • 2,583
0 votes
1 answer
201 views

(using .NET 6.0) I used these commands to set a connection string: dotnet user-secrets init dotnet user-secrets set ConnectionStrings:AppConfig "{myconnectionstring}" but I can't figure ...
MikeSteigerwald's user avatar
4 votes
1 answer
4k views

The Azure function app official documentation lists two app settings which seem identical to me. AzureWebJobsStorage The Azure Functions runtime uses this storage account connection string for normal ...
Inshallah's user avatar
0 votes
0 answers
2k views

How to fix this error? System.TypeInitializationException: The type initializer for 'ServiceStack.Text.JsConfig' threw an exception. ---> System.IO.FileNotFoundException: Could ...
Rohan Khurana's user avatar
1 vote
0 answers
404 views

Previously, I was able to retrieve data from appConfig by using the variables that were hardcoded in config.ts. Here is part of the config.ts: //Used for appConfig export const APP_CONFIG_APP_NAME = '...
Tiffany Doan's user avatar
2 votes
0 answers
412 views

I am trying to leverage the new High DPI support using .net 4.8 in a WinForms app and adding in the section below to the app.config causes a number of things to fail. AppSettings, new SQLConnection, ...
RAnderson16's user avatar
0 votes
0 answers
635 views

encrypt credentials in App.config in Visual Studio 2019 I need to Encrypt API credentials in my App.config in c# console application. I'm using .Net framework 4.7.2. I'm using aspnet_regiis.exe ...
SilverFish's user avatar
  • 1,108
0 votes
1 answer
118 views

I'm maintaining a windows service that is written a long time ago and the first author has left the company way before I joint. I want to reduce the eventlog records by leveling up the severity from ...
Circle Hsiao's user avatar
  • 2,004
1 vote
2 answers
1k views

As far as what I understand: WorkerService is the new way to define a Windows Service (app that run as as service). By default, using the contextual menu on the project, the type of configuration ...
Eric Ouellet's user avatar
0 votes
1 answer
607 views

Going through legacy apps written in multiple .NET framework languages (ASP.NET, VB, C#), I always find in their app.config or web.config connection strings with hardcoded and working username and ...
user10191234's user avatar
0 votes
1 answer
66 views

I have a .NET Core solution with 3 projects: MVC app, data access layer (class library that contains Entity Framework context and models) and business layer (class library). In the MVC project, there ...
patsy2k's user avatar
  • 745
0 votes
1 answer
41 views

We have a legacy solution that started at ECO times 10+ years ago. It contains one model project and one ecospace project, and also one WinForms project and one ASP.NET project. We now need to make a ...
Kjell Rilbe's user avatar
  • 1,623
0 votes
1 answer
1k views

As said in title I have updated my project with "dotnet tool install -g upgrade-assistant". Now when I try to run the code i get an [exception]( (https://i.sstatic.net/rnOoA.png) Here is ...
Astro's user avatar
  • 11
0 votes
0 answers
1k views

So, I have a .net project with an App.config file that's supposed to be filled, amongst other things, with an API key. As an example: <?xml version="1.0" encoding="utf-8" ?> &...
Rui Oliveira's user avatar

1
2 3 4 5
63