-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for refactor log script files #47
Conversation
Please remove unneeded whitespace changes |
src/DacpacTool/Program.cs
Outdated
@@ -94,7 +96,7 @@ private static int BuildDacpac(BuildOptions options) | |||
} | |||
|
|||
// Save the package to disk | |||
packageBuilder.SaveToDisk(options.Output); | |||
packageBuilder.SaveToDisk(options.Output, new PackageOptions() { RefactorLogPath = options.RefactorLog.FullName }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add null check before getting .FullName
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
test/TestProjectWithPrePost/RefactorLog/TestProjectWithPrePost.refactorlog
Show resolved
Hide resolved
src/DacpacTool/PackageBuilder.cs
Outdated
{ | ||
// Ensure that the model has been created and metadata has been set | ||
EnsureModelCreated(); | ||
EnsureModelValidated(); | ||
EnsureMetadataCreated(); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
src/DacpacTool/Program.cs
Outdated
@@ -129,7 +131,8 @@ private static int DeployDacpac(DeployOptions options) | |||
} | |||
|
|||
deployer.UseTargetServer(options.TargetServerName); | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -8,7 +8,6 @@ | |||
<!-- | |||
Set LanguageTargets to Microsoft.Common.targets for any project that the SDK won't (.proj, .noproj, etc) | |||
https://github.com/dotnet/sdk/blob/50ddfbb91be94d068514e8f4b0ce1052156364a0/src/Tasks/Microsoft.NET.Build.Tasks/sdk/Sdk.targets#L28 | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Revert removed line breaks (?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, could not see it was whitespace removals...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Sorry for the unnecessary code changes with whitespace. |
Perhaps we should add an |
LGTM! @ErikEJ Are you okay with this as well? |
LGTM |
added support for .refactorlog files handled by the original
.sqlproj
#45