官术网_书友最值得收藏!

  • Learn C# in 7 days
  • Gaurav Aroraa
  • 229字
  • 2021-07-08 09:51:23

Deep-dive into application using Visual Studio

In the previous section, you learned about various things that our console application can contain. In this section, lets deep-dive to get more insight on this using Visual Studio.

To get started, go to the project properties. Do this from the solution explorer (right-click on project and click on Properties) or from menus (Project | Day02 properties); you will get the project properties window, as shown in the following screenshot:

On the Application tab, we can set the Assembly name, the Default namespace, the Target framework, and the Output type (the output types are Console Application, Windows Application, Class Library).

The following screenshot is that of the Build tab:

From the Build tab, we can set Conditional compilation symbols, Platform target, and other available options.

Conditional compilations are nothing but pre-processors, which we will discuss on day six.

The following screenshot depicts the Package tab:

The Package tab helps us directly create NuGet packages. In the earlier version, we needed a lot of configuration settings to build a NuGet package. In the current version, we just need to provide the information on the Package tab, and Visual Studio will generate the NuGet package according to our options. The Debug tab, Signing, and Resources tabs are self-explanatory and provide us with a way to sign assemblies and support to embed resources in our program.

主站蜘蛛池模板: 英吉沙县| 柯坪县| 株洲市| 小金县| 镇宁| 宿松县| 和顺县| 鹤壁市| 敦煌市| 岚皋县| 嵊泗县| 赣州市| 西宁市| 巴中市| 宾阳县| 容城县| 即墨市| 江西省| 青铜峡市| 夹江县| 定日县| 黎城县| 娱乐| 齐河县| 双城市| 三亚市| 兖州市| 岳普湖县| 新乡市| 那曲县| 甘泉县| 固原市| 荥经县| 静安区| 贞丰县| 敦煌市| 大理市| 孝义市| 乌拉特中旗| 中牟县| 黄石市|