Solid.Foundations.DeveloperSpecificConfig 1.0.9

dotnet add package Solid.Foundations.DeveloperSpecificConfig --version 1.0.9
                    
NuGet\Install-Package Solid.Foundations.DeveloperSpecificConfig -Version 1.0.9
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Solid.Foundations.DeveloperSpecificConfig" Version="1.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Solid.Foundations.DeveloperSpecificConfig" Version="1.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Solid.Foundations.DeveloperSpecificConfig" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Solid.Foundations.DeveloperSpecificConfig --version 1.0.9
                    
#r "nuget: Solid.Foundations.DeveloperSpecificConfig, 1.0.9"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Solid.Foundations.DeveloperSpecificConfig@1.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Solid.Foundations.DeveloperSpecificConfig&version=1.0.9
                    
Install as a Cake Addin
#tool nuget:?package=Solid.Foundations.DeveloperSpecificConfig&version=1.0.9
                    
Install as a Cake Tool

Developer Specific Configs

TODO: If you have applied this package to a project with a web.config you need to copy the contents of the current web.config into a new file called web.template.config

The intention of Developer Specific Configs is to allow individual developers to have their own set of config settings during development without affecting the shared app or web.config. The principle is that a project will have a default configuration in the web.template.config or app.config.
The developer will have a set of transforms in a file that conforms to one of the following naming convention:

  • app.[MACHINE_NAME].config
  • app.[USER_NAME].config
  • web.[MACHINE_NAME].config
  • web.[USER_NAME].config

the transform is applied to the default configuration as part of the build process.

For more information on transforms see: http://msdn.microsoft.com/en-us/library/dd465326.aspx

Example transform file content:

<?xml version="1.0"?> <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">

<connectionStrings> <add name="DefaultConnection" connectionString="Server=localhost;Database=MyOwnDb;Trusted_Connection=True;Application Name=MyApplicaiton" providerName="System.Data.SqlClient" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" /> </connectionStrings>

<appSettings> <add key="foo" value="bar" xdt:Locator="Match(key)" xdt:Transform="SetAttributes"/> </appSettings> </configuration>

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.9 128 11/6/2024
1.0.8 110 11/6/2024
1.0.7 102 11/6/2024
1.0.6 504 11/16/2021
1.0.5.1 373 7/21/2021
1.0.5 425 7/21/2021
1.0.3 1,818 3/7/2019
1.0.2 834 11/14/2018
1.0.1 1,209 4/4/2017
1.0.0 1,157 3/31/2017

v1.0.1: Fixed a bug whereby the microsoft.web.publishing.tasks.dll would not be found in some circumstances.
       v1.0.2: Fixed a bug whereby Visual Studio builds would not transform the config files.
       v1.0.3: Fixed a bug whereby projects that Auto Generate binding redirects would not retain the generated redirects.
       v1.0.4: Specified a license.
       v1.0.5: Added the ability to influence the order of execution
       v1.0.5.1: Bug Fix: Fixed an issue whereby the targets would run in the wrong order if the desired location was before "AfterBuild"
       v1.0.6: Ensured the web.config transformation happens prior to MvcBuildViews as the web.config is used by this process
v1.0.8: Removed a warning (MSB4011) that would occur in web sdk projects
v1.0.9: Fixed an issue whereby an error would occur when building netcore web apps