Update docs and minor warning message fix

This commit is contained in:
Christian Wade 2024-08-17 16:12:26 -07:00
Родитель a82c1d1a90
Коммит 2b2d4c1b53
4 изменённых файлов: 12 добавлений и 3 удалений

Просмотреть файл

@ -22,8 +22,15 @@ namespace AlmToolkit
[STAThread] [STAThread]
static void Main(string[] args) static void Main(string[] args)
{ {
//Set current directory for CefSharp references try
Directory.SetCurrentDirectory(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location)); {
//Set current directory for CefSharp references
Directory.SetCurrentDirectory(Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location));
}
catch (Exception exc)
{
MessageBox.Show(exc.Message, Utils.AssemblyProduct, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
// Set DPI awareness context to unaware to prevent CefSharp from managing DPI scaling // Set DPI awareness context to unaware to prevent CefSharp from managing DPI scaling
var dpiUnaware = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE); var dpiUnaware = SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE);

Просмотреть файл

@ -1911,8 +1911,10 @@ namespace BismNormalizer.TabularCompare.TabularMetadata
(_targetTabularModel.ConnectionInfo.UseBimFile && _targetTabularModel.ConnectionInfo.BimFile != null && _targetTabularModel.ConnectionInfo.IsPbit) (_targetTabularModel.ConnectionInfo.UseBimFile && _targetTabularModel.ConnectionInfo.BimFile != null && _targetTabularModel.ConnectionInfo.IsPbit)
) )
{ {
string objName = (String.IsNullOrEmpty(comparisonObject.TargetObjectName) ? comparisonObject.SourceObjectName : comparisonObject.TargetObjectName);
//V3 hardening //V3 hardening
OnValidationMessage(new ValidationMessageEventArgs($"Unable to {comparisonObject.MergeAction.ToString().ToLower()} {comparisonObject.ComparisonObjectType.ToString()} {comparisonObject.TargetObjectName} because target is Power BI Desktop or .PBIT, which does not yet support modifications for this object type.", validationMessageType, ValidationMessageStatus.Warning)); OnValidationMessage(new ValidationMessageEventArgs($"Unable to {comparisonObject.MergeAction.ToString().ToLower()} {comparisonObject.ComparisonObjectType.ToString()} {objName} because target is Power BI Desktop or .PBIT, which does not yet support modifications for this object type.", validationMessageType, ValidationMessageStatus.Warning));
return false; return false;
} }
else else

Двоичный файл не отображается.

Двоичный файл не отображается.