Compatibility Mode

This commit is contained in:
Christian Wade 2023-02-28 19:25:45 -08:00
parent 900262bdab
commit 0d79898e91
10 changed files with 22 additions and 15 deletions

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.39.0")]
[assembly: AssemblyFileVersion("5.0.39.0")]
[assembly: AssemblyVersion("5.0.41.0")]
[assembly: AssemblyFileVersion("5.0.41.0")]

View File

@ -2836,7 +2836,7 @@
{
"AssemblyRegister" = "3:1"
"AssemblyIsInGAC" = "11:FALSE"
"AssemblyAsmDisplayName" = "8:BismNormalizer, Version=5.0.38.0, Culture=neutral, PublicKeyToken=aa6675aad991a644, processorArchitecture=MSIL"
"AssemblyAsmDisplayName" = "8:BismNormalizer, Version=5.0.40.0, Culture=neutral, PublicKeyToken=aa6675aad991a644, processorArchitecture=MSIL"
"ScatterAssemblies"
{
"_0020EC0A2900F50F0F5DCC3E7BBE4237"
@ -9301,15 +9301,15 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Power BI ALM Toolkit"
"ProductCode" = "8:{441E8417-AEE8-4D81-B210-7767FB9146F3}"
"PackageCode" = "8:{A5FE4A9F-F178-402C-811A-42B5FC8D8F0B}"
"ProductCode" = "8:{01BF64E8-33EA-4252-92A0-FDB6735680CE}"
"PackageCode" = "8:{632522B4-8F2E-45D4-99A4-7CAFFE18AF6F}"
"UpgradeCode" = "8:{96819CFD-6462-4AD1-ADB4-7903F30ADB92}"
"AspNetVersion" = "8:4.0.30319.0"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:TRUE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:TRUE"
"ProductVersion" = "8:5.0.39"
"ProductVersion" = "8:5.0.41"
"Manufacturer" = "8:Power BI ALM Toolkit"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.39.0")]
[assembly: AssemblyFileVersion("5.0.39.0")]
[assembly: AssemblyVersion("5.0.41.0")]
[assembly: AssemblyFileVersion("5.0.41.0")]

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.39.0")]
[assembly: AssemblyFileVersion("5.0.39.0")]
[assembly: AssemblyVersion("5.0.41.0")]
[assembly: AssemblyFileVersion("5.0.41.0")]

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.0.39.0")]
[assembly: AssemblyFileVersion("5.0.39.0")]
[assembly: AssemblyVersion("5.0.41.0")]
[assembly: AssemblyFileVersion("5.0.41.0")]

View File

@ -15,7 +15,7 @@ namespace BismNormalizer.TabularCompare
// Factory pattern: https://msdn.microsoft.com/en-us/library/orm-9780596527730-01-05.aspx
private static int _minCompatibilityLevel = 1100;
private static int _maxCompatibilityLevel = 1600;
private static int _maxCompatibilityLevel = 2000;
private static List<string> _supportedDataSourceVersions = new List<string> { "PowerBI_V3" };
/// <summary>

View File

@ -70,6 +70,7 @@ namespace BismNormalizer.TabularCompare
_useBimFile = false;
_useDesktop = false;
_bimFile = null;
_compatibilityMode = CompatibilityMode.AnalysisServices;
}
_useProject = value;
}
@ -89,6 +90,7 @@ namespace BismNormalizer.TabularCompare
_useProject = false;
_useBimFile = false;
_bimFile = null;
_compatibilityMode = CompatibilityMode.PowerBI;
}
_useDesktop = value;
}
@ -561,6 +563,11 @@ namespace BismNormalizer.TabularCompare
throw new ConnectionException($"Analysis Server {this.ServerName} is not running in Tabular mode");
}
if (this.ServerName.ToUpper().StartsWith("powerbi:".ToUpper()))
{
_compatibilityMode = CompatibilityMode.PowerBI;
}
Microsoft.AnalysisServices.Database amoDatabase = null;
if (this.DatabaseName == "" && this.ServerName.ToUpper().StartsWith("localhost:".ToUpper()))
{

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="5.0.39.0" Language="en-US" Publisher="BISM Normalizer" />
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="5.0.41.0" Language="en-US" Publisher="BISM Normalizer" />
<DisplayName>BISM Normalizer</DisplayName>
<Description xml:space="preserve">BISM Normalizer manages Analysis Services tabular models</Description>
<MoreInfo>http://bism-normalizer.com/</MoreInfo>