Class Shared
- Namespace
- SunamoDevCode.ToNetCore.research
- Assembly
- SunamoDevCode.dll
Shared utilities for .NET Core migration.
public class Shared
- Inheritance
-
Shared
- Inherited Members
- Extension Methods
Fields
ExtractArchive
Action to extract archives during migration.
public static Action<string, bool> ExtractArchive
Field Value
Type
Type of the Shared class for reflection purposes.
public static Type Type
Field Value
Methods
PlaformTargetTo(ILogger, string, string, bool)
Changes the PlatformTarget in all csproj files within the given folder.
public static Task<string?> PlaformTargetTo(ILogger logger, string replaceFor, string folderNonRec, bool throwEx = false)
Parameters
loggerILoggerLogger instance.
replaceForstringTarget platform value to set.
folderNonRecstringFolder to search for csproj files (non-recursive).
throwExboolWhether to throw exceptions on errors.
Returns
PlatformTargetTo(string, List<string>, bool)
Vyu��v� se v ChangeConvertNonWebPlatformTargetTo(), PlatformTargetTo a PlatformTargetToWeb()
public static Task<string> PlatformTargetTo(string replaceFor, List<string> tt, bool throwEx = false)
Parameters
replaceForstringTarget platform value to set (prefix with ! to remove).
ttList<string>List of csproj file paths to process.
throwExboolWhether to throw exceptions on errors.