AAS servername check

This commit is contained in:
Christian Wade 2020-12-09 18:09:37 -08:00
parent d40c444f17
commit d7fc98cc48
8 changed files with 11 additions and 10 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.14.0")]
[assembly: AssemblyFileVersion("5.0.14.0")]
[assembly: AssemblyVersion("5.0.14.1")]
[assembly: AssemblyFileVersion("5.0.14.1")]

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.14.0")]
[assembly: AssemblyFileVersion("5.0.14.0")]
[assembly: AssemblyVersion("5.0.14.1")]
[assembly: AssemblyFileVersion("5.0.14.1")]

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.14.0")]
[assembly: AssemblyFileVersion("5.0.14.0")]
[assembly: AssemblyVersion("5.0.14.1")]
[assembly: AssemblyFileVersion("5.0.14.1")]

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.14.0")]
[assembly: AssemblyFileVersion("5.0.14.0")]
[assembly: AssemblyVersion("5.0.14.1")]
[assembly: AssemblyFileVersion("5.0.14.1")]

View File

@ -96,7 +96,8 @@ namespace BismNormalizer.TabularCompare.TabularMetadata
foreach (ModelRole role in _database.Model.Roles)
{
//Workaround for AAD role members - todo delete if changed in Azure AS
if (_parentComparison?.TargetTabularModel?.ConnectionInfo?.ServerName?.Substring(0, 7) == "asazure")
if (_parentComparison?.TargetTabularModel?.ConnectionInfo?.ServerName?.Length > 7 &&
_parentComparison?.TargetTabularModel?.ConnectionInfo?.ServerName?.Substring(0, 7) == "asazure")
{
List<ExternalModelRoleMember> membersToAdd = new List<ExternalModelRoleMember>();
foreach (ModelRoleMember member in role.Members)

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.14.0" Language="en-US" Publisher="BISM Normalizer" />
<Identity Id="BismNormalizer.ea2aeb43-64a6-4dee-8816-099fb44513fa" Version="5.0.14.1" 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>