You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove support for netcoreapp2.1 and add support for net6.0 (#194)
* Remove support for netcoreapp2.1 and add support for net6.0
* Use DACFX preview
* Update workflow for .NET 6
* Change TFM logic yet again
* Fix version dependency in workflow
* Yet more fixes
* Fix comment
Co-authored-by: Jonathan Mezach <[email protected]>
Copy file name to clipboardExpand all lines: src/MSBuild.Sdk.SqlProj/Sdk/Sdk.targets
+5-4
Original file line number
Diff line number
Diff line change
@@ -85,18 +85,19 @@
85
85
<ImportProject="$(MSBuildToolsPath)\Microsoft.Managed.targets"Condition="'$(MSBuildAssemblyVersion)' >= '16.0' And '$(ManagedLanguageTargetsGotImported)' != 'true'" />
86
86
87
87
<!--
88
-
Validates that the environment is setup correctly for the DacpacTool to run. Currently we target .NET Core 2.1 and 3.1 and we pick the highest version based on
88
+
Validates that the environment is setup correctly for the DacpacTool to run. Currently we target .NET Core 3.1, 5.0 or 6.0 and we pick the version based on
89
89
the BundledNETCoreAppTargetFrameworkVersion property. This property is set by the SDK, so we'll need to ensure that the SDK that is being used is compatible with one
Text="The current SDK bundles target framework 'netcoreapp$(BundledNETCoreAppTargetFrameworkVersion)' which is not supported by MSBuild.Sdk.SqlProj. Either install a .NET Core SDK that supports 2.1, 3.1 or 5.0, or file an issue at https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/ to add support. If you have preview SDKs installed, you may have to use a global.json file: https://docs.microsoft.com/dotnet/core/tools/global-json" />
99
-
<MessageImportance="normal"Text="Using target framework $(DacpacToolTfm) to run DacpacTool" />
99
+
Text="The current SDK bundles target framework '$(BundledNETCoreAppTargetFrameworkVersion)' which is not supported by MSBuild.Sdk.SqlProj. Either install a .NET Core SDK that supports 3.1, 5.0 or 6.0, or file an issue at https://github.com/rr-wfm/MSBuild.Sdk.SqlProj/ to add support. If you have preview SDKs installed, you may have to use a global.json file: https://docs.microsoft.com/dotnet/core/tools/global-json" />
100
+
<MessageImportance="High"Text="Using target framework $(DacpacToolTfm) to run DacpacTool" />
0 commit comments