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
<PackageReference Include="Solid.Foundations.DeveloperSpecificConfig" Version="1.0.9" />
<PackageVersion Include="Solid.Foundations.DeveloperSpecificConfig" Version="1.0.9" />
<PackageReference Include="Solid.Foundations.DeveloperSpecificConfig" />
paket add Solid.Foundations.DeveloperSpecificConfig --version 1.0.9
#r "nuget: Solid.Foundations.DeveloperSpecificConfig, 1.0.9"
#:package Solid.Foundations.DeveloperSpecificConfig@1.0.9
#addin nuget:?package=Solid.Foundations.DeveloperSpecificConfig&version=1.0.9
#tool nuget:?package=Solid.Foundations.DeveloperSpecificConfig&version=1.0.9
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>
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.
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