Azure / azure-sdk-for-net

This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
MIT License
5.47k stars 4.8k forks source link

Azure.Analytics.Synapse.Artifacts.Tests has uncompilable snippets #33978

Open heaths opened 1 year ago

heaths commented 1 year ago

When passing the SNIPPET symbol to build snippets and make sure they are valid, this project yields errors.

You can repro this issue by running:

dotnet build eng/service.proj -warnaserror /t:rebuild /p:DebugType=none /p:SDKType=all /p:ServiceDirectory=synapse /p:IncludePerf=false /p:IncludeStress=false /p:PublicSign=false /p:Configuration=Release /p:EnableSourceLink=false /p:BuildSnippets=true

When resolved, please remove the BuildSnippets: false line from sdk/synapse/ci.yml.

See #33969 for more context.

jsquire commented 1 year ago

//cc: @lirenhe, @chunyu3