Skip to content

Commit 1d7b10e

Browse files
authored
Update spark-dotnet.md
1 parent c0562b1 commit 1d7b10e

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

articles/synapse-analytics/spark/spark-dotnet.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,25 @@ You can analyze data with .NET for Apache Spark through Spark batch job definiti
2424
Visit the tutorial to learn how to use Azure Synapse Analytics to [create Apache Spark job definitions for Synapse Spark pools](apache-spark-job-definitions.md). If you haven't packaged your app to submit to Azure Synapse, complete the following steps.
2525

2626
1. Configure your dotnet application dependencies for compatibility with Synapse Spark.
27-
```
28-
<Project Sdk="Microsoft.NET.Sdk">
27+
The required .NET Spark version will be noted in the Studio interface under your Spark Pool configuration.
28+
![image](https://user-images.githubusercontent.com/12169942/161816341-ca13b48f-fb18-49bd-a61b-6af60bf9846e.png)
2929

30-
<PropertyGroup>
31-
<OutputType>Exe</OutputType>
32-
<TargetFramework>netcoreapp3.1</TargetFramework>
33-
</PropertyGroup>
3430

35-
<ItemGroup>
36-
<PackageReference Include="Microsoft.Spark" Version="1.0.0" />
37-
</ItemGroup>
31+
Create your project as a .Net Console Application that outputs an ubuntu x86 executable.
32+
```
33+
<Project Sdk="Microsoft.NET.Sdk">
3834
39-
</Project>
40-
```
35+
<PropertyGroup>
36+
<OutputType>Exe</OutputType>
37+
<TargetFramework>netcoreapp3.1</TargetFramework>
38+
</PropertyGroup>
39+
40+
<ItemGroup>
41+
<PackageReference Include="Microsoft.Spark" Version="2.1.0" />
42+
</ItemGroup>
43+
44+
</Project>
45+
```
4146

4247
2. Run the following commands to publish your app. Be sure to replace *mySparkApp* with the path to your app.
4348

0 commit comments

Comments
 (0)